Skip to content

Commit 63b8876

Browse files
committed
fix: fix Eslint 9 support
1 parent 177a558 commit 63b8876

File tree

10 files changed

+260
-208
lines changed

10 files changed

+260
-208
lines changed

.eslintignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

eslint.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
const config = require("./index.js")
2-
module.exports = config
2+
module.exports = [...config]

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"bump": "ncu -u -x coffeescript,execa,read-pkg-up,make-synchronous && pnpm update && pnpm dedupe",
1919
"clean": "shx rm -rf ./spec/fixtures/ ./dist",
2020
"format": "prettier --write .",
21-
"lint": "eslint . --ignore-pattern ./spec/fixtures/ --fix",
21+
"lint": "eslint ./ --ignore dist --fix",
2222
"prepare": "pnpm run build",
2323
"prepublishOnly": "pnpm run clean && pnpm run build",
2424
"test": "node ./spec/test.cjs",
@@ -31,10 +31,9 @@
3131
"@babel/eslint-parser": "^7.24.7",
3232
"@babel/plugin-syntax-flow": "^7.24.7",
3333
"@babel/plugin-syntax-jsx": "^7.24.7",
34-
"@typescript-eslint/eslint-plugin": "7.13.0",
35-
"@typescript-eslint/parser": "7.13.0",
34+
"@typescript-eslint/parser": "^7.13.1",
3635
"anymatch": "^3.1.3",
37-
"eslint": "^9.4.0",
36+
"eslint": "^9.5.0",
3837
"eslint-config-prettier": "^9.1.0",
3938
"eslint-plugin-astro": "^1.2.2",
4039
"eslint-plugin-html": "^8.1.1",
@@ -43,15 +42,16 @@
4342
"eslint-plugin-node": "^11.1.0",
4443
"eslint-plugin-only-warn": "npm:@aminya/eslint-plugin-only-warn@^1.2.2",
4544
"eslint-plugin-optimize-regex": "^1.2.1",
46-
"eslint-plugin-react": "^7.34.2",
47-
"eslint-plugin-solid": "^0.14.0",
48-
"eslint-plugin-yaml": "^1.0.0",
45+
"eslint-plugin-react": "^7.34.3",
46+
"eslint-plugin-solid": "^0.14.1",
47+
"eslint-plugin-yaml": "^1.0.2",
4948
"globify-gitignore": "^1.0.3",
5049
"make-synchronous": "^0.1.1",
5150
"prettier": "3.3.2",
5251
"read-pkg-up": "^7.0.1",
5352
"semver": "^7.6.2",
54-
"typescript": "^5.4.5"
53+
"typescript": "^5.4.5",
54+
"typescript-eslint": "^7.13.1"
5555
},
5656
"devDependencies": {
5757
"@types/babel__core": "^7.20.5",

0 commit comments

Comments
 (0)