eslint-config-greenpie 5.6.2 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/rules/base.js +1 -0
- package/rules/jest.js +1 -0
- package/rules/vue.js +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-greenpie",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.8.0",
|
|
4
4
|
"description": "GreenPie's ESLint config file",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"author": "Roman Nuritdinov (Ky6uk)",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"vue"
|
|
32
32
|
],
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
35
|
-
"@typescript-eslint/parser": "^5.
|
|
36
|
-
"eslint": "^8.
|
|
37
|
-
"eslint-plugin-jest": "^27.0
|
|
38
|
-
"eslint-plugin-vue": "^9.
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "^5.39.0",
|
|
35
|
+
"@typescript-eslint/parser": "^5.39.0",
|
|
36
|
+
"eslint": "^8.24.0",
|
|
37
|
+
"eslint-plugin-jest": "^27.1.0",
|
|
38
|
+
"eslint-plugin-vue": "^9.6.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"eslint": "^8.
|
|
41
|
+
"eslint": "^8.24.0"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/rules/base.js
CHANGED
package/rules/jest.js
CHANGED
package/rules/vue.js
CHANGED
|
@@ -123,7 +123,12 @@ module.exports = {
|
|
|
123
123
|
|
|
124
124
|
'vue/attribute-hyphenation': 'error',
|
|
125
125
|
'vue/component-definition-name-casing': 'error',
|
|
126
|
-
|
|
126
|
+
|
|
127
|
+
'vue/first-attribute-linebreak': ['error', {
|
|
128
|
+
singleline: 'beside',
|
|
129
|
+
multiline: 'below'
|
|
130
|
+
}],
|
|
131
|
+
|
|
127
132
|
'vue/html-closing-bracket-newline': 'error',
|
|
128
133
|
'vue/html-closing-bracket-spacing': 'error',
|
|
129
134
|
'vue/html-end-tags': 'error',
|
|
@@ -199,6 +204,7 @@ module.exports = {
|
|
|
199
204
|
'vue/no-multiple-objects-in-class': 'error',
|
|
200
205
|
'vue/no-potential-component-option-typo': 'error',
|
|
201
206
|
'vue/no-ref-object-destructure': 'error',
|
|
207
|
+
'vue/no-required-prop-with-default': 'error',
|
|
202
208
|
'vue/no-restricted-block': 'error',
|
|
203
209
|
'vue/no-restricted-call-after-await': 'error',
|
|
204
210
|
'vue/no-restricted-class': 'error',
|