File tree Expand file tree Collapse file tree 4 files changed +22
-11
lines changed Expand file tree Collapse file tree 4 files changed +22
-11
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " ./node_modules/oxlint/configuration_schema.json" ,
3+ "env" : {
4+ "node" : true ,
5+ "mocha" : true
6+ },
7+ "extends" : [
8+ " ./node_modules/@eggjs/oxlint-config/.oxlintrc.json"
9+ ],
10+ "rules" : {
11+ "func-names" : " allow" ,
12+ "typescript/no-explicit-any" : " allow" ,
13+ "unicorn/prefer-string-raw" : " allow" ,
14+ "unicorn/prefer-string-replace-all" : " allow" ,
15+ "unicorn/prefer-string-slice" : " allow" ,
16+ "no-useless-escape" : " allow" ,
17+ "typescript/prefer-ts-expect-error" : " allow"
18+ }
19+ }
Original file line number Diff line number Diff line change 2929 "@types/node" : " 22" ,
3030 "@types/mocha" : " 10" ,
3131 "@eggjs/bin" : " 7" ,
32- "eslint " : " 8 " ,
33- "eslint-config-egg " : " 14 " ,
32+ "@eggjs/oxlint-config " : " 1 " ,
33+ "oxlint " : " 1 " ,
3434 "rimraf" : " 6" ,
3535 "tshy" : " 3" ,
3636 "tshy-after" : " 1" ,
3737 "typescript" : " 5"
3838 },
3939 "scripts" : {
40- "lint" : " eslint --cache src test --ext .ts " ,
40+ "lint" : " oxlint src test" ,
4141 "pretest" : " npm run clean && npm run lint -- --fix" ,
4242 "test" : " egg-bin test" ,
4343 "preci" : " npm run clean && npm run lint" ,
You can’t perform that action at this time.
0 commit comments