fix: eslint config
This commit is contained in:
+11
-13
@@ -1,26 +1,24 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
es6: true,
|
es6: true
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
'airbnb-base',
|
'airbnb-base',
|
||||||
"plugin:vue/recommended",
|
'plugin:vue/recommended',
|
||||||
"eslint:recommended",
|
'eslint:recommended',
|
||||||
"prettier/vue",
|
'prettier',
|
||||||
"plugin:prettier/recommended",
|
'plugin:prettier/recommended'
|
||||||
],
|
],
|
||||||
globals: {
|
globals: {
|
||||||
Atomics: 'readonly',
|
Atomics: 'readonly',
|
||||||
SharedArrayBuffer: 'readonly',
|
SharedArrayBuffer: 'readonly'
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
ecmaVersion: 2018,
|
ecmaVersion: 2018,
|
||||||
sourceType: 'module',
|
sourceType: 'module'
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: ['vue'],
|
||||||
'vue',
|
|
||||||
],
|
|
||||||
rules: {
|
rules: {
|
||||||
'import/extensions': 0,
|
'import/extensions': 0,
|
||||||
'import/no-unresolved': 0,
|
'import/no-unresolved': 0,
|
||||||
@@ -32,6 +30,6 @@ module.exports = {
|
|||||||
singleQuote: true,
|
singleQuote: true,
|
||||||
semi: false
|
semi: false
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
},
|
}
|
||||||
};
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user