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 dd7dd1e commit 011f37e
Show file tree
Hide file tree
Showing 6 changed files with 3,268 additions and 13 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc

This file was deleted.

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

export default [
{
ignores: [
'dist'
]
},
...bpmnIoPlugin.configs.recommended,
...bpmnIoPlugin.configs.mocha.map(config => {
return {
...config,
files: [
'test/**/*.js'
],
languageOptions: {
globals: {
...config.languageOptions.globals,
require: false
}
}
};
})
];
Loading

0 comments on commit 011f37e

Please sign in to comment.