Skip to content

Commit

Permalink
chore: migrate to eslint@9
Browse files Browse the repository at this point in the history
  • Loading branch information
jarekdanielak committed Oct 11, 2024
1 parent 08658e0 commit 86f85d7
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 22 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.

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

export default [
{
ignores: [ '**/public' ],
},
...bpmnIoPlugin.configs.browser,
...bpmnIoPlugin.configs.node,
...bpmnIoPlugin.configs.mocha.map(config => {
return {
...config,
files: [
'**/test/**/*.js',
]
};
}),
{
files: [ '**/*.js', '**/*.mjs' ],
}
];
11 changes: 5 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
],
"license": "MIT",
"devDependencies": {
"eslint": "^9.0.0",
"eslint-plugin-bpmn-io": "^2.0.0",
"eslint": "^9.12.0",
"eslint-plugin-bpmn-io": "^2.0.2",
"eslint-plugin-mocha": "^10.5.0",
"lerna": "^8.1.8",
"npm-run-all2": "^6.2.2"
Expand Down

0 comments on commit 86f85d7

Please sign in to comment.