Skip to content

Commit

Permalink
feat(import-extensions): required extensions for imports
Browse files Browse the repository at this point in the history
BREAKING CHANGE: extensions are now required for imports
  • Loading branch information
travi committed Oct 6, 2023
1 parent 2111b99 commit 9c4b6ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ module.exports = {
'one-var-declaration-per-line': ['error', 'initializations'],
'global-require': 'off',
'import/prefer-default-export': 'off',
'import/extensions': ['error', 'ignorePackages'],
'no-unused-vars': ['error', {ignoreRestSiblings: true}],
'no-restricted-exports': ['error', {restrictedNamedExports: ['then']}]
},
Expand Down

0 comments on commit 9c4b6ee

Please sign in to comment.