Skip to content

Commit

Permalink
chore: migrate to eslint@9
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac committed Oct 11, 2024
1 parent 47cd58e commit a3440d3
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 21 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

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

export default [
{
ignores: [
'*.json',
'.nyc_output',
'coverage',
'dist'
]
},
...bpmnIoPlugin.configs.node.map(config => {
return {
...config,
files: [
'**/*.js'
]
};
}),
...bpmnIoPlugin.configs.mocha.map(config => {
return {
...config,
files: [
'**/test/**/*.js'
]
};
})
];
18 changes: 11 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"ajv-errors": "^2.0.1",
"chai": "^4.3.6",
"eslint": "^9.0.0",
"eslint-plugin-bpmn-io": "^2.0.0",
"eslint-plugin-bpmn-io": "^2.0.2",
"lerna": "^8.0.0",
"min-dash": "^4.0.0",
"mocha": "^10.0.0",
Expand Down
3 changes: 0 additions & 3 deletions packages/element-templates-json-schema/test/.eslintrc

This file was deleted.

3 changes: 0 additions & 3 deletions packages/zeebe-element-templates-json-schema/test/.eslintrc

This file was deleted.

0 comments on commit a3440d3

Please sign in to comment.