This commit is contained in:
zadam
2020-03-01 10:41:23 +01:00
parent 47b803920b
commit f64b343d8d
4 changed files with 10 additions and 10 deletions

View File

@@ -46,10 +46,11 @@
const errors = new eslint().verify(text, {
root: true,
parserOptions: {
ecmaVersion: 2017
ecmaVersion: 2019
},
extends: ['eslint:recommended', 'airbnb-base'],
env: {
'browser': true,
'node': true
},
rules: {
@@ -62,6 +63,9 @@
'no-unused-vars': ['warn', { vars: 'local', args: 'after-used' }],
'no-nested-ternary': 'off',
'no-underscore-dangle': ['error', {'allow': ['_super', '_lookupFactory']}]
},
globals: {
"api": "readonly"
}
});