Skip to content

Commit

Permalink
feat: support Eslint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed May 27, 2024
1 parent 190b2c3 commit 3492fcf
Show file tree
Hide file tree
Showing 26 changed files with 4,709 additions and 3,640 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
node_modules/
4 changes: 0 additions & 4 deletions .eslintrc.json

This file was deleted.

6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"cSpell.words": [
"astrojs",
"Globified",
"globify"
],
"cSpell.words": ["astrojs", "Globified", "globify"],
"explorer.fileNesting.patterns": {
"index.js": "*.js"
}
Expand Down
2 changes: 2 additions & 0 deletions eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const config = require("./index.js")
module.exports = config
43 changes: 22 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,59 +25,60 @@
"test.format": "prettier . --check",
"test.lint": "eslint . --ignore-pattern spec/fixtures/**"
},
"prettier": "prettier-config-atomic",
"dependencies": {
"@babel/core": "^7.24.0",
"@babel/eslint-parser": "^7.23.10",
"@babel/plugin-syntax-flow": "^7.23.3",
"@babel/plugin-syntax-jsx": "^7.23.3",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
"@babel/core": "^7.24.6",
"@babel/eslint-parser": "^7.24.6",
"@babel/plugin-syntax-flow": "^7.24.6",
"@babel/plugin-syntax-jsx": "^7.24.6",
"@eslint/js": "^9.3.0",
"@typescript-eslint/eslint-plugin": "7.10.0",
"@typescript-eslint/parser": "7.10.0",
"anymatch": "^3.1.3",
"eslint": "^8.57.0",
"eslint": "^9.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^0.31.4",
"eslint-plugin-html": "^8.0.0",
"eslint-plugin-astro": "^1.2.0",
"eslint-plugin-html": "^8.1.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-json": "^4.0.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-only-warn": "npm:@aminya/eslint-plugin-only-warn@^1.2.2",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-solid": "^0.13.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-solid": "^0.14.0",
"eslint-plugin-yaml": "^0.5.0",
"globify-gitignore": "^1.0.3",
"make-synchronous": "^0.1.1",
"prettier": "3.2.5",
"read-pkg-up": "^7.0.1",
"semver": "^7.6.0",
"typescript": "^5.3.3"
"semver": "^7.6.2",
"typescript": "^5.4.5"
},
"devDependencies": {
"@types/babel__core": "^7.20.5",
"@types/coffeescript": "^2.5.7",
"@types/eslint": "^8.56.5",
"@types/eslint": "^8.56.10",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint__js": "~8.42.3",
"@types/execa": "^2.0.0",
"@types/node": "^20.11.24",
"@types/node": "^20.12.12",
"@types/read-pkg-up": "^6.0.0",
"@types/semver": "^7.5.8",
"@types/shelljs": "^0.8.15",
"eslint-config-atomic": "link:",
"execa": "^5.1.1",
"gitly": "^2.5.2",
"npm-check-updates": "16.14.15",
"gitly": "^3.0.0",
"npm-check-updates": "16.14.20",
"prettier-config-atomic": "^4.0.0",
"shelljs": "^0.8.5",
"shx": "^0.3.4"
},
"peerDependencies": {
"eslint": "^8 || ^7 || ^6"
"eslint": "^9 || ^8 || ^7 || ^6"
},
"optionalDependencies": {
"coffeescript": "^1.12.7",
"eslint-plugin-coffee": "^0.1.15",
"eslint-plugin-react-hooks": "^4.6.0"
"eslint-plugin-react-hooks": "^4.6.2"
},
"keywords": [
"eslint",
Expand Down
Loading

0 comments on commit 3492fcf

Please sign in to comment.