forked from staniel359/muffon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
119 lines (119 loc) · 2.08 KB
/
.eslintrc.json
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"env": {
"es2022": true,
"jquery": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:vue/vue3-recommended",
"standard"
],
"ignorePatterns": [
"semantic/**/*"
],
"overrides": [
{
"files": [
"electron.js",
"electron/**/*"
],
"rules": {
"no-undef": "off",
"no-unused-expressions": "off"
}
}
],
"parserOptions": {
"ecmaVersion": "latest",
"parser": "@babel/eslint-parser",
"sourceType": "module"
},
"rules": {
"array-bracket-newline": [
"error",
{
"minItems": 1
}
],
"array-element-newline": [
"error",
{
"minItems": 1
}
],
"function-call-argument-newline": "error",
"function-paren-newline": [
"error",
{
"minItems": 1
}
],
"no-new": "off",
"object-curly-newline": [
"error",
{
"ObjectExpression": {
"minProperties": 1
},
"ObjectPattern": "always",
"ImportDeclaration": "always"
}
],
"object-property-newline": [
"error",
{
"allowAllPropertiesOnSameLine": false
}
],
"vue/array-bracket-newline": [
"error",
{
"minItems": 1
}
],
"vue/custom-event-name-casing": [
"error",
"camelCase"
],
"vue/key-spacing": "error",
"vue/match-component-file-name": [
"error",
{
"extensions": ["vue"],
"shouldMatchCase": true
}
],
"vue/no-unused-properties": [
"off",
{
"groups": [
"props",
"data"
],
"deepData": true
}
],
"vue/no-v-html": "off",
"vue/object-curly-newline": [
"error",
{
"minProperties": 1
}
],
"vue/object-property-newline": [
"error",
{
"allowAllPropertiesOnSameLine": false
}
],
"vue/require-default-prop": "off",
"vue/v-on-event-hyphenation": [
"error",
"always",
{
"autofix": true
}
]
}
}