Skip to content

Commit

Permalink
style(eslint): ignore export issues in config files
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Apr 19, 2021
1 parent 98034f6 commit 29e892b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable import/no-unused-modules */

const { config } = require('@dhis2/cli-style')

module.exports = {
Expand Down Expand Up @@ -59,5 +57,11 @@ module.exports = {
'import/no-unused-modules': 'off',
},
},
{
files: ['.*.js', 'd2.config.js'],
rules: {
'import/no-unused-modules': 'off',
},
},
],
}

0 comments on commit 29e892b

Please sign in to comment.