Skip to content

Commit 9fb9023

Browse files
committed
feat: support Eslint 9
1 parent bd66ee5 commit 9fb9023

24 files changed

+653
-472
lines changed

.eslintrc.json

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

eslint.config.cjs

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

package.json

Lines changed: 11 additions & 11 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,27 +31,27 @@
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": "^8.57.0",
36+
"eslint": "^9.5.0",
3837
"eslint-config-prettier": "^9.1.0",
39-
"eslint-plugin-astro": "^0.34.0",
38+
"eslint-plugin-astro": "^1.2.2",
4039
"eslint-plugin-html": "^8.1.1",
4140
"eslint-plugin-import": "^2.29.1",
42-
"eslint-plugin-json": "^3.1.0",
41+
"eslint-plugin-json": "^4.0.0",
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": "^0.5.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",
@@ -65,7 +65,7 @@
6565
"@types/shelljs": "^0.8.15",
6666
"eslint-config-atomic": "link:",
6767
"execa": "^5.1.1",
68-
"gitly": "^2.5.3",
68+
"gitly": "^3.0.0",
6969
"npm-check-updates": "16.14.20",
7070
"prettier-config-atomic": "^4.0.0",
7171
"shelljs": "^0.8.5",

0 commit comments

Comments
 (0)