Skip to content

Commit

Permalink
chore: document aspects of eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Oct 15, 2024
1 parent 6b1c281 commit 5729f61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,26 @@ export default [
{
'ignores': files.ignored
},

// build
...bpmnIoPlugin.configs.node.map(config => {

return {
...config,
files: files.build
};
}),

// lib + test
...bpmnIoPlugin.configs.recommended.map(config => {

return {
...config,
ignores: files.build
};
}),

// test
...bpmnIoPlugin.configs.mocha.map(config => {

return {
Expand All @@ -41,6 +47,7 @@ export default [
};
}),

// other
// hook up babel parser
{
files: [ '**/*.js', '**/*.mjs' ],
Expand Down

0 comments on commit 5729f61

Please sign in to comment.