Skip to content

Commit

Permalink
Update to ESLint 9
Browse files Browse the repository at this point in the history
Close #843
  • Loading branch information
tagliala committed Nov 5, 2024
1 parent aa37e2a commit 6e56929
Show file tree
Hide file tree
Showing 4 changed files with 751 additions and 303 deletions.
18 changes: 0 additions & 18 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'],
}
}
}
}
]
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,10 @@
"@babel/eslint-parser": "^7.25.9",
"@types/express": "^5.0.0",
"@webpack-cli/serve": "^2.0.5",
"eslint": "^8.57.1",
"eslint-config-standard": "^17.1.0",
"eslint": "^9.14.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.6.0",
"eslint-webpack-plugin": "^4.2.0",
"neostandard": "^0.11.7",
"stylelint": "^16.10.0",
"stylelint-config-twbs-bootstrap": "^15.1.0",
"stylelint-order": "^6.0.4",
Expand Down
Loading

0 comments on commit 6e56929

Please sign in to comment.