mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-11 09:18:08 +00:00
Add Oxlint configuration and integrate linting commands
- Introduced a new `.oxlintrc.json` file to configure Oxlint for code quality checks. - Updated `package.json` to include linting scripts (`lint` and `lint:fix`) for easier code maintenance. - Enhanced documentation in `README` files to guide users on running Oxlint checks and applying fixes.
This commit is contained in:
@@ -222,6 +222,8 @@ Please keep these credentials safe and do not share them with anyone.
|
||||
bun run index.ts # Launch the CLI (default entrypoint)
|
||||
bun run start # Alias for bun run index.ts
|
||||
bun run dev # Development entrypoint
|
||||
bun run lint # Run Oxlint checks
|
||||
bun run lint:fix # Apply safe Oxlint fixes
|
||||
bun x vitest run # Execute the full Vitest suite
|
||||
```
|
||||
|
||||
@@ -288,6 +290,8 @@ Run `pm2 save` afterwards if you want the process list to survive reboots.
|
||||
## Testing
|
||||
Powered by Vitest:
|
||||
```bash
|
||||
bun run lint
|
||||
bun run lint:fix
|
||||
bun run test
|
||||
bun x vitest --watch
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user