-
Notifications
You must be signed in to change notification settings - Fork 54
/
.eslintrc.js
47 lines (47 loc) · 1.28 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/essential',
'plugin:vue/strongly-recommended',
'plugin:vue/recommended',
'@vue/airbnb',
],
plugins: [
'vuetify',
],
rules: {
'no-console': 'off', // 'warn',
'no-debugger': 'warn',
'vue/array-bracket-spacing': 'warn',
'vue/arrow-spacing': 'warn',
'vue/block-spacing': 'warn',
'vue/brace-style': 'warn',
'vue/camelcase': 'warn',
'vue/comma-dangle': 'warn',
'vue/component-name-in-template-casing': 'off', // 'warn',
'vue/dot-location': 'warn',
'vue/eqeqeq': 'warn',
'vue/key-spacing': 'warn',
'vue/keyword-spacing': 'warn',
'vue/match-component-file-name': 'warn',
'vue/no-boolean-default': 'warn',
'vue/no-deprecated-scope-attribute': 'warn',
'vue/no-empty-pattern': 'warn',
'vue/no-restricted-syntax': 'warn',
'vue/object-curly-spacing': 'warn',
'vue/require-direct-export': 'warn',
'vue/script-indent': 'warn',
'vue/space-infix-ops': 'warn',
'vue/space-unary-ops': 'warn',
'vue/v-on-function-call': 'warn',
'vuetify/no-deprecated-classes': 'warn',
'vuetify/grid-unknown-attributes': 'warn',
'vuetify/no-legacy-grid': 'warn',
},
parserOptions: {
parser: 'babel-eslint',
},
};