Skip to content

Commit

Permalink
fix(node, ESM): disable invalid rules
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Oct 31, 2021
1 parent 58dbced commit 7d1eb4f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configs/node.js
Expand Up @@ -34,6 +34,12 @@ const baseModulesConfig = {
...baseConfig.rules,

'import/exports-last': 'off',

// Does not respect npm packages...
'import/no-unresolved': 'off',
'node/no-missing-import': 'off',

// This is ESM...
'node/no-unsupported-features/es-syntax': 'off',
'node/no-unpublished-import': 'off', // common-tags is totally published
},
Expand Down

0 comments on commit 7d1eb4f

Please sign in to comment.