modify eslint rules
This commit is contained in:
parent
440432184b
commit
905d1f0157
11
.eslintrc.js
11
.eslintrc.js
@ -2,12 +2,19 @@ module.exports = {
|
|||||||
'env': {
|
'env': {
|
||||||
'browser': true,
|
'browser': true,
|
||||||
'es6': true,
|
'es6': true,
|
||||||
'node': true
|
'node': true,
|
||||||
|
'mocha': true
|
||||||
},
|
},
|
||||||
'extends': 'eslint:recommended',
|
'extends': 'eslint:recommended',
|
||||||
'globals': {
|
'globals': {
|
||||||
'Atomics': 'readonly',
|
'Atomics': 'readonly',
|
||||||
'SharedArrayBuffer': 'readonly'
|
'SharedArrayBuffer': 'readonly',
|
||||||
|
'artifacts': 'true',
|
||||||
|
'contract': 'true',
|
||||||
|
'accounts': 'true',
|
||||||
|
'web3': 'true',
|
||||||
|
'it': 'true',
|
||||||
|
'assert': 'true'
|
||||||
},
|
},
|
||||||
'parserOptions': {
|
'parserOptions': {
|
||||||
'ecmaVersion': 2018,
|
'ecmaVersion': 2018,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user