Files
procat2/cateditor/.eslintrc.js
2019-10-01 15:53:30 -07:00

31 lines
842 B
JavaScript

module.exports = {
root: true,
env: {
node: true,
es6: true,
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
plugins: [
'vuetify'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'indent': ["warn", 2, { CallExpression: { arguments: "first" },
ObjectExpression: "first",
ArrayExpression: "first" }],
'comma-dangle': ['warn', 'only-multiline'],
'spaced-comment': 'off',
'space-before-function-paren': ['warn', 'never'],
'vuetify/no-deprecated-classes': 'error',
'vuetify/grid-unknown-attributes': 'error',
'vuetify/no-legacy-grid': 'error',
},
parserOptions: {
parser: 'babel-eslint'
}
}