Skip to content

Commit

Permalink
fix(.eslintrc.js): ensure eslint plays nice with fs/dns promise inter…
Browse files Browse the repository at this point in the history
…face
  • Loading branch information
Xunnamius committed Feb 19, 2021
1 parent 5056c05 commit 4209e51
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ module.exports = {
'no-console': 'warn',
'no-return-await': 'warn',
'no-await-in-loop': 'warn',
'import/no-unresolved': ['error', { commonjs: true }],
'import/no-unresolved': [
'error',
{ commonjs: true, ignore: ['fs/promises', 'dns/promises'] }
],
'no-extra-boolean-cast': 'off',
'no-empty': 'off',
'@typescript-eslint/camelcase': 'off',
Expand Down

0 comments on commit 4209e51

Please sign in to comment.