Skip to content

Commit

Permalink
chore: migrate to ESLint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and philippfromme committed Oct 11, 2024
1 parent f5f6d60 commit c458f99
Show file tree
Hide file tree
Showing 8 changed files with 2,147 additions and 868 deletions.
5 changes: 0 additions & 5 deletions .eslintrc

This file was deleted.

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

export default [
...bpmnIoPlugin.configs.browser.map((config) => {
return {
...config,
files: [ 'lib/**/*.js' ]
};
}),
...bpmnIoPlugin.configs.node.map((config) => {
return {
...config,
files: [ 'karma.config.js' ]
};
}),
...bpmnIoPlugin.configs.mocha.map((config) => {
return {
...config,
files: [ 'test/**/*.js' ]
};
})
];
2 changes: 0 additions & 2 deletions karma.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-env node */

var path = require('path');

var singleStart = process.env.SINGLE_START;
Expand Down
Loading

0 comments on commit c458f99

Please sign in to comment.