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 7ddeb17 commit d80aaa9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 13 deletions.
5 changes: 0 additions & 5 deletions .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 [
{
ignore: [
'dist',
'.nyc_output',
'coverage'
]
},
...bpmnIoPlugin.configs.browser,
...bpmnIoPlugin.configs.mocha.map(config => {
return {
...config,
files: [
'**/test/**/*.js'
]
};
}),
{
languageOptions: {
globals: {
sinon: true
},
files: [
'**/test/**/*.js'
]
}
}
];
8 changes: 0 additions & 8 deletions test/.eslintrc

This file was deleted.

0 comments on commit d80aaa9

Please sign in to comment.