GScreenWEB_TPMes/.eslintrc.js

50 lines
1.3 KiB
JavaScript

module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/no-unused-components': 'off',
"indent": "off",
"no-multi-spaces": "off",
"no-trailing-spaces": "off",
"space-before-blocks": "off",
"keyword-spacing": "off",
"space-before-function-paren": "off",
"space-infix-ops": "off",
"no-whitespace-before-property": "off",
"object-curly-spacing": "off",
"array-bracket-spacing": "off",
"computed-property-spacing": "off",
"template-curly-spacing": "off",
"block-spacing": "off",
"spaced-comment": "off",
"space-in-parens": "off",
"no-multiple-empty-lines": "off",
"no-unexpected-multiline": "off",
"no-unreachable": "off",
"no-undef": "off",
"no-unused-vars": "off",
"no-extra-semi": "off",
"semi": "off",
"quotes": "off",
"no-console": "off",
"key-spacing": "off",
"eqeqeq": "off",
'comma-dangle':'off',
'comma-spacing':'off',
'arrow-spacing':'off',
'padded-blocks':'off',
'eol-last':'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}