|
@ -1,37 +1,15 @@
|
|
|
module.exports = {
|
|
|
root: true,
|
|
|
env: {
|
|
|
node: true
|
|
|
"root": true,
|
|
|
"env": {
|
|
|
"node": true
|
|
|
},
|
|
|
'extends': [
|
|
|
'plugin:vue/strongly-recommended'
|
|
|
"extends": [
|
|
|
"plugin:vue/essential",
|
|
|
],
|
|
|
rules: {
|
|
|
'import/newline-after-import': 'off',
|
|
|
'no-param-reassign': 'off',
|
|
|
'space-before-function-paren': 'off',
|
|
|
'object-curly-spacing': 'off',
|
|
|
'block-spacing': 'off',
|
|
|
'dot-notation': 'off',
|
|
|
'arrow-parens': 'off',
|
|
|
'space-before-blocks': 'off',
|
|
|
'no-confusing-arrow': 'off',
|
|
|
'arrow-body-style': 'off',
|
|
|
"vue/no-unused-components": "off",
|
|
|
semi: 'off'
|
|
|
"rules": {
|
|
|
"no-console": 0
|
|
|
},
|
|
|
parserOptions: {
|
|
|
parser: 'babel-eslint'
|
|
|
},
|
|
|
overrides: [
|
|
|
{
|
|
|
files: [
|
|
|
'**/__tests__/*.{j,t}s?(x)',
|
|
|
'**/tests/unit/**/*.spec.{j,t}s?(x)'
|
|
|
],
|
|
|
env: {
|
|
|
jest: true
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
"parserOptions": {
|
|
|
"parser": "babel-eslint"
|
|
|
}
|
|
|
}
|