Skip to content

Commit

Permalink
fix(eslint-config): disable rule node/no-extraneous-require like node…
Browse files Browse the repository at this point in the history
…/no-extraneous-import for test(s)
  • Loading branch information
JounQin committed Sep 21, 2019
1 parent b0fbca2 commit eb88521
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/eslint-config/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ exports.test = {
files: '**/{test,tests}/**/*.{js,jsx,mdx,ts,tsx,vue}',
rules: {
'node/no-extraneous-import': 0,
'node/no-extraneous-require': 0,
},
}

Expand Down

0 comments on commit eb88521

Please sign in to comment.