Skip to content

Commit

Permalink
fix: remove ignoreExports from no-unused-modules
Browse files Browse the repository at this point in the history
Workaround for #248.

This needs to be defined in the local configuration for each repo until

In the local .eslintrc.js:

     rules: {
         'import/no-unused-modules': [
             'error',
             {
                 unusedExports: true,
                 missingExports: true,
                 ignoreExports: [
					// add your paths and files to ignore here
                 ],
             },
         ],
     },
  • Loading branch information
varl committed Apr 29, 2020
1 parent 69f57dc commit 97f4f46
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions config/js/eslint-react.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ module.exports = {
{
unusedExports: true,
missingExports: true,
ignoreExports: [
'**/*.test.js',
'**/__tests__/**',
'**/*.stories.*',
'**/setupTests.js',
],
},
],
},
Expand Down

0 comments on commit 97f4f46

Please sign in to comment.