Skip to content

Commit

Permalink
chore: update eslint* dependencies (major) (#294)
Browse files Browse the repository at this point in the history
* chore: update eslint* dependencies

* chore: migrate to eslint@9

* chore: fix eslint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jarek Danielak <[email protected]>
  • Loading branch information
renovate[bot] and jarekdanielak authored Oct 11, 2024
1 parent 9fd6d7d commit ad260d1
Show file tree
Hide file tree
Showing 9 changed files with 281 additions and 174 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

6 changes: 0 additions & 6 deletions .eslintrc

This file was deleted.

3 changes: 0 additions & 3 deletions bpmn-properties/test/.eslintrc

This file was deleted.

3 changes: 0 additions & 3 deletions custom-modeling-rules/test/.eslintrc

This file was deleted.

30 changes: 30 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import bpmnIoPlugin from 'eslint-plugin-bpmn-io';

export default [
{
ignores: [ '**/public', '**/dist' ],
},
...bpmnIoPlugin.configs.browser,
...bpmnIoPlugin.configs.node.map(config => {
return {
...config,
files: [
'**/*.config.js',
'**/*.conf.js',
'**/server.js',
'**/test/**/*.js',
]
};
}),
...bpmnIoPlugin.configs.mocha.map(config => {
return {
...config,
files: [
'**/test/**/*.js',
]
};
}),
{
files: [ '**/*.js', '**/*.mjs' ],
}
];
2 changes: 0 additions & 2 deletions i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
"devDependencies": {
"copy-webpack-plugin": "^12.0.0",
"css-loader": "^7.1.2",
"eslint": "^8.57.0",
"eslint-plugin-bpmn-io": "^1.0.1",
"npm-run-all2": "^6.2.2",
"raw-loader": "^4.0.0",
"style-loader": "^4.0.0",
Expand Down
2 changes: 0 additions & 2 deletions modeler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
"devDependencies": {
"copy-webpack-plugin": "^12.0.0",
"css-loader": "^7.1.2",
"eslint": "^8.57.0",
"eslint-plugin-bpmn-io": "^1.0.1",
"npm-run-all2": "^6.2.2",
"raw-loader": "^4.0.0",
"style-loader": "^4.0.0",
Expand Down
Loading

0 comments on commit ad260d1

Please sign in to comment.