Skip to content

Commit 877399b

Browse files
committed
perf(eslint): make eslint work better (#112)
1 parent 6c0670a commit 877399b

File tree

4 files changed

+151
-454
lines changed

4 files changed

+151
-454
lines changed

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
// For VS Code ESLint works
3-
"eslint.runtime": "node",
2+
// Enable the ESlint flat config support
3+
"eslint.useFlatConfig": true,
44

55
// Disable the default formatter, use eslint instead
66
"prettier.enable": false,
File renamed without changes.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@
5151
"bumpp": "^9.4.1",
5252
"consola": "^3.2.3",
5353
"cross-env": "^7.0.3",
54-
"eslint": "npm:[email protected]0",
54+
"eslint": "^9.8.0",
5555
"eslint-plugin-format": "^0.1.2",
56-
"eslint-ts-patch": "9.5.0-0",
5756
"husky": "^9.1.1",
5857
"less": "^4.2.0",
5958
"mockjs": "^1.1.0",

0 commit comments

Comments
 (0)