allow es6 syntax
This commit is contained in:
parent
485f16bab6
commit
d655bdb616
4
index.js
4
index.js
@ -24,6 +24,10 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
|
// deactivate commonjs rules
|
||||||
|
'node/no-unsupported-features/es-syntax': 'off',
|
||||||
|
|
||||||
|
// import
|
||||||
'import/no-unresolved': 'error',
|
'import/no-unresolved': 'error',
|
||||||
'import/named': 'error',
|
'import/named': 'error',
|
||||||
'import/default': 'error',
|
'import/default': 'error',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user