-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
executable file
·57 lines (57 loc) · 1.62 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
48
49
50
51
52
53
54
55
56
57
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/recommended',
'@vue/airbnb',
],
parserOptions: {
parser: 'babel-eslint',
},
rules: {
'no-console': 'off',
'no-param-reassign': 'off',
'object-curly-newline': 'off',
'vue/no-v-html': 'warn',
'no-plusplus': 'off',
'max-len': [
1,
120,
2,
],
'vue/array-bracket-spacing': 'warn',
'vue/arrow-spacing': 'warn',
'vue/block-spacing': 'warn',
'vue/brace-style': 'warn',
'vue/camelcase': 'warn',
'vue/component-definition-name-casing': 'warn',
'vue/component-name-in-template-casing': '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-deprecated-slot-attribute': 'warn',
'vue/no-deprecated-slot-scope-attribute': 'warn',
'vue/no-empty-pattern': 'warn',
'vue/no-irregular-whitespace': 'warn',
'vue/no-reserved-component-names': 'warn',
'vue/no-restricted-syntax': 'warn',
'vue/no-static-inline-styles': 'warn',
'vue/no-unsupported-features': 'warn',
'vue/padding-line-between-blocks': 'warn',
'vue/require-direct-export': 'warn',
'vue/require-name-property': 'warn',
'vue/script-indent': 'warn',
'vue/space-infix-ops': 'warn',
'vue/space-unary-ops': 'warn',
'vue/v-on-function-call': 'warn',
'vue/v-slot-style': 'warn',
'vue/valid-v-bind-sync': 'warn',
'vue/valid-v-slot': 'warn',
},
};