36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
es6: true,
|
|
},
|
|
'extends': [
|
|
'@vue/standard',
|
|
'plugin:vue/recommended',
|
|
],
|
|
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'],
|
|
'vue/html-closing-bracket-newline': 'off',
|
|
'vue/html-closing-bracket-spacing': 'off',
|
|
'vue/max-attributes-per-line': 'off',
|
|
'vue/multiline-html-element-content-newline': 'off',
|
|
'vue/singleline-html-element-content-newline': 'off',
|
|
'vuetify/grid-unknown-attributes': 'error',
|
|
'vuetify/no-deprecated-classes': 'error',
|
|
'vuetify/no-legacy-grid': 'error',
|
|
},
|
|
parserOptions: {
|
|
parser: 'babel-eslint'
|
|
}
|
|
}
|