extensions for import
This commit is contained in:
parent
d6d80221ca
commit
d91b21d6a4
4
index.js
4
index.js
@ -23,6 +23,10 @@ module.exports = {
|
|||||||
sourceType: 'module'
|
sourceType: 'module'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
settings: {
|
||||||
|
'import/extensions': ['.js', '.jsx', '.ts', '.tsx', '.mjs']
|
||||||
|
},
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
// deactivate commonjs rules
|
// deactivate commonjs rules
|
||||||
'node/no-unsupported-features/es-syntax': 'off',
|
'node/no-unsupported-features/es-syntax': 'off',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user