enforce file extension on import
This commit is contained in:
parent
6b79a1457f
commit
4a51ba5291
6
index.js
6
index.js
@ -52,7 +52,11 @@ module.exports = {
|
||||
'import/exports-last': 'error',
|
||||
'import/no-duplicates': 'error',
|
||||
'import/no-namespace': 'error',
|
||||
'import/extensions': 'error',
|
||||
'import/extensions': [
|
||||
'error',
|
||||
'ignorePackages',
|
||||
{ js: 'never' }
|
||||
],
|
||||
'import/order': 'error',
|
||||
'import/newline-after-import': 'error',
|
||||
'import/prefer-default-export': 'error',
|
||||
|
Loading…
x
Reference in New Issue
Block a user