Skip to content

Commit

Permalink
chore: simplify eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Oct 16, 2024
1 parent 04f3238 commit dec2d3a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,24 @@ const files = {
};

export default [
...bpmnIoPlugin.configs.browser.map((config) => {

// build
...bpmnIoPlugin.configs.node.map((config) => {
return {
...config,
ignores: files.build
files: files.build
};
}),
...bpmnIoPlugin.configs.node.map((config) => {

// lib + test
...bpmnIoPlugin.configs.browser.map((config) => {
return {
...config,
files: files.build
ignores: files.build
};
}),

// test
...bpmnIoPlugin.configs.mocha.map((config) => {
return {
...config,
Expand Down

0 comments on commit dec2d3a

Please sign in to comment.