Skip to content

Commit 8a1fddd

Browse files
committed
chore: reorder lint commands to run oxlint first by default
Running ESLint first fulfills the aesthetic purpose of having the commands sorted in alphabetical order. However, as Oxlint is way faster than ESLint, it makes more sense to run Oxlint first to get the fastest feedback possible.
1 parent 5983d48 commit 8a1fddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ export default function createConfig({
6363
},
6464
],
6565
})
66-
pkg.scripts['lint:eslint'] = 'eslint . --fix'
6766
pkg.scripts['lint:oxlint'] = 'oxlint . --fix'
67+
pkg.scripts['lint:eslint'] = 'eslint . --fix'
6868
pkg.scripts.lint = 'run-s lint:*'
6969
} else {
7070
pkg.scripts.lint = 'eslint . --fix'

0 commit comments

Comments
 (0)