Skip to content

Commit

Permalink
[WIP] Update to eslint 9
Browse files Browse the repository at this point in the history
Close #843
  • Loading branch information
tagliala committed Oct 4, 2024
1 parent 987d1a4 commit fc1eb0e
Show file tree
Hide file tree
Showing 5 changed files with 548 additions and 220 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

13 changes: 0 additions & 13 deletions .eslintrc.cjs

This file was deleted.

21 changes: 21 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import neostandard from 'neostandard'

export default [
{
ignores: [
"app/assets/config/manifest.js",
"app/assets/javascript/**/vendor/*.js",
"config/**/*.js",
]
},
...neostandard(),
{
settings: {
"import/resolver": {
node: {
paths: ["app/javascript"],
}
}
}
}
]
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
"@babel/eslint-parser": "^7.25.7",
"@types/express": "^5.0.0",
"@webpack-cli/serve": "^2.0.4",
"eslint": "^8.57.1",
"eslint-config-standard": "^17.1.0",
"eslint": "^9.11.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.6.0",
"eslint-plugin-n": "^17.10.3",
"eslint-plugin-promise": "^7.1.0",
"eslint-webpack-plugin": "^4.2.0",
"neostandard": "^0.11.6",
"stylelint": "16.9.0",
"stylelint-config-twbs-bootstrap": "^15.1.0",
"stylelint-order": "^6.0.4",
Expand Down
Loading

0 comments on commit fc1eb0e

Please sign in to comment.