diff --git a/eslint.config.mjs b/eslint.config.mjs index 4d6121ee..fe450a05 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -2,10 +2,20 @@ import bpmnIoPlugin from 'eslint-plugin-bpmn-io'; export default [ { - ignores: [ '**/public' ], + ignores: [ '**/public', '**/dist' ], }, ...bpmnIoPlugin.configs.browser, - ...bpmnIoPlugin.configs.node, + ...bpmnIoPlugin.configs.node.map(config => { + return { + ...config, + files: [ + '**/*.config.js', + '**/*.conf.js', + '**/server.js', + '**/test/**/*.js', + ] + }; + }), ...bpmnIoPlugin.configs.mocha.map(config => { return { ...config, diff --git a/i18n/package.json b/i18n/package.json index 32a995f7..23fdc139 100644 --- a/i18n/package.json +++ b/i18n/package.json @@ -29,8 +29,6 @@ "devDependencies": { "copy-webpack-plugin": "^12.0.0", "css-loader": "^7.1.2", - "eslint": "^9.0.0", - "eslint-plugin-bpmn-io": "^2.0.0", "npm-run-all2": "^6.2.2", "raw-loader": "^4.0.0", "style-loader": "^4.0.0", diff --git a/modeler/package.json b/modeler/package.json index 6c9c35cd..e988447e 100644 --- a/modeler/package.json +++ b/modeler/package.json @@ -29,8 +29,6 @@ "devDependencies": { "copy-webpack-plugin": "^12.0.0", "css-loader": "^7.1.2", - "eslint": "^9.0.0", - "eslint-plugin-bpmn-io": "^2.0.0", "npm-run-all2": "^6.2.2", "raw-loader": "^4.0.0", "style-loader": "^4.0.0",