Skip to content

Commit

Permalink
Merge pull request #22 from enormora/import
Browse files Browse the repository at this point in the history
Enforce the use of extensions for all import statements except package imports
  • Loading branch information
screendriver authored Jan 15, 2024
2 parents 12d1afb + 5848fda commit 4ffccbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configs/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ export const baseConfig = {
'import/extensions': [
'error',
{
js: 'always',
jsx: 'always',
json: 'always'
js: 'ignorePackages',
jsx: 'ignorePackages',
json: 'ignorePackages'
}
],
'import/namespace': [
Expand Down

0 comments on commit 4ffccbc

Please sign in to comment.