eslint: add vuetify defs
This commit is contained in:
@ -7,6 +7,9 @@ module.exports = {
|
|||||||
'extends': [
|
'extends': [
|
||||||
'plugin:vue/essential',
|
'plugin:vue/essential',
|
||||||
'@vue/standard'
|
'@vue/standard'
|
||||||
|
],
|
||||||
|
plugins: [
|
||||||
|
'vuetify'
|
||||||
],
|
],
|
||||||
rules: {
|
rules: {
|
||||||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||||
@ -17,6 +20,9 @@ module.exports = {
|
|||||||
'comma-dangle': ['warn', 'only-multiline'],
|
'comma-dangle': ['warn', 'only-multiline'],
|
||||||
'spaced-comment': 'off',
|
'spaced-comment': 'off',
|
||||||
'space-before-function-paren': ['warn', 'never'],
|
'space-before-function-paren': ['warn', 'never'],
|
||||||
|
'vuetify/no-deprecated-classes': 'error',
|
||||||
|
'vuetify/grid-unknown-attributes': 'error',
|
||||||
|
'vuetify/no-legacy-grid': 'error',
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
parser: 'babel-eslint'
|
parser: 'babel-eslint'
|
||||||
|
|||||||
Reference in New Issue
Block a user