Skip to content

Commit

Permalink
build: move oxlint config file to .oxlintrc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Sysix committed Nov 28, 2024
1 parent 5debb85 commit 9425b0c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: ./.github/actions/pnpm

- name: Run oxlint
run: npx oxlint --config=oxlint.json --tsconfig=tsconfig.json
run: npx oxlint --tsconfig=tsconfig.json

- name: Run eslint
run: npx eslint --flag unstable_ts_config
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"generate": "node --import @oxc-node/core/register ./scripts/generate.ts",
"clone": "node --import @oxc-node/core/register ./scripts/sparse-clone.ts",
"build": "vite build",
"lint": "npx oxlint --config=oxlint.json --tsconfig=tsconfig.json && npx eslint --flag unstable_ts_config",
"lint": "npx oxlint --tsconfig=tsconfig.json && npx eslint --flag unstable_ts_config",
"format": "npx prettier --write .",
"test": "vitest --reporter=verbose"
},
Expand Down

0 comments on commit 9425b0c

Please sign in to comment.