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 9, 2024
1 parent e0556bf commit b63b5f6
Show file tree
Hide file tree
Showing 4 changed files with 744 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.7",
"@types/express": "^5.0.0",
"@webpack-cli/serve": "^2.0.5",
"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-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 b63b5f6

Please sign in to comment.