Skip to content

Commit

Permalink
Ignore file extension on imports specifiers for packages
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaub committed May 16, 2024
1 parent 3f42a4a commit b545757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
'dot-notation': ['error', {allowPattern: '^[a-z]+(_[a-z]+)+$'}],
eqeqeq: 'error',
'import/default': 'error',
'import/extensions': ['error', 'always'],
'import/extensions': ['error', 'always', {ignorePackages: true}],
'import/first': 'error',
'import/named': 'error',
'import/no-duplicates': 'error',
Expand Down

0 comments on commit b545757

Please sign in to comment.