38 lines
644 B
JavaScript
38 lines
644 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es6: true,
|
|
},
|
|
extends: [
|
|
'airbnb-base',
|
|
"plugin:vue/recommended",
|
|
"eslint:recommended",
|
|
"prettier/vue",
|
|
"plugin:prettier/recommended",
|
|
],
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly',
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
sourceType: 'module',
|
|
},
|
|
plugins: [
|
|
'vue',
|
|
],
|
|
rules: {
|
|
'import/extensions': 0,
|
|
'import/no-unresolved': 0,
|
|
'no-param-reassign': 0,
|
|
'prettier/prettier': [
|
|
'error',
|
|
{
|
|
trailingComma: 'none',
|
|
singleQuote: true,
|
|
semi: false
|
|
}
|
|
],
|
|
},
|
|
};
|