vue-linters-config 0.3.15 → 0.3.16
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/dist/index.js +37 -4
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -72,6 +72,13 @@ const t = {
|
|
|
72
72
|
"vue/this-in-template": "error",
|
|
73
73
|
"vue/v-for-delimiter-style": "error",
|
|
74
74
|
"vue/v-on-event-hyphenation": ["error", "never"],
|
|
75
|
+
"vue/require-explicit-emits": "error",
|
|
76
|
+
"vue/require-prop-types": "error",
|
|
77
|
+
"vue/require-render-return": "error",
|
|
78
|
+
"vue/valid-v-bind-sync": "error",
|
|
79
|
+
"vue/valid-v-model": "error",
|
|
80
|
+
"vue/valid-v-on": "error",
|
|
81
|
+
"vue/valid-v-slot": "error",
|
|
75
82
|
"array-bracket-spacing": ["error", "never"],
|
|
76
83
|
"array-callback-return": "error",
|
|
77
84
|
"block-spacing": ["error", "always"],
|
|
@@ -167,6 +174,17 @@ const t = {
|
|
|
167
174
|
"prefer-rest-params": "error",
|
|
168
175
|
"prefer-spread": "error",
|
|
169
176
|
"prefer-template": "error",
|
|
177
|
+
"no-duplicate-imports": "error",
|
|
178
|
+
"prefer-const": "error",
|
|
179
|
+
"no-unexpected-multiline": "error",
|
|
180
|
+
"no-duplicate-case": "error",
|
|
181
|
+
"no-empty-pattern": "error",
|
|
182
|
+
"no-invalid-regexp": "error",
|
|
183
|
+
"no-regex-spaces": "error",
|
|
184
|
+
"no-sparse-arrays": "error",
|
|
185
|
+
"no-unreachable": "error",
|
|
186
|
+
"no-unsafe-negation": "error",
|
|
187
|
+
"no-with": "error",
|
|
170
188
|
semi: "error",
|
|
171
189
|
quotes: ["error", "single", { avoidEscape: !0, allowTemplateLiterals: !0 }],
|
|
172
190
|
yoda: ["error", "never", { onlyEquality: !0 }],
|
|
@@ -227,6 +245,7 @@ const t = {
|
|
|
227
245
|
"@typescript-eslint/prefer-function-type": "error",
|
|
228
246
|
"@typescript-eslint/prefer-literal-enum-member": "error",
|
|
229
247
|
"@typescript-eslint/unified-signatures": "error",
|
|
248
|
+
"@typescript-eslint/no-inferrable-types": "error",
|
|
230
249
|
"max-len": [
|
|
231
250
|
"error",
|
|
232
251
|
{
|
|
@@ -241,17 +260,22 @@ const t = {
|
|
|
241
260
|
]
|
|
242
261
|
}
|
|
243
262
|
}, a = {
|
|
263
|
+
arrayBracketSpacing: !1,
|
|
264
|
+
arrowParens: "always",
|
|
265
|
+
bracketSameLine: !1,
|
|
244
266
|
bracketSpacing: !0,
|
|
267
|
+
endOfLine: "lf",
|
|
245
268
|
jsxSingleQuote: !0,
|
|
269
|
+
jsxBracketSameLine: !1,
|
|
270
|
+
objectCurlySpacing: !0,
|
|
246
271
|
printWidth: 120,
|
|
272
|
+
proseWrap: "preserve",
|
|
273
|
+
quoteProps: "as-needed",
|
|
247
274
|
semi: !0,
|
|
248
275
|
singleQuote: !0,
|
|
249
276
|
tabWidth: 2,
|
|
250
277
|
trailingComma: "es5",
|
|
251
|
-
useTabs: !1
|
|
252
|
-
bracketSameLine: !1,
|
|
253
|
-
arrowParens: "always",
|
|
254
|
-
endOfLine: "lf"
|
|
278
|
+
useTabs: !1
|
|
255
279
|
}, l = {
|
|
256
280
|
plugins: ["stylelint-prettier"],
|
|
257
281
|
extends: [
|
|
@@ -328,6 +352,15 @@ const t = {
|
|
|
328
352
|
"time-min-milliseconds": 100,
|
|
329
353
|
"unit-allowed-list": ["px", "rem", "%", "vh", "dvh", "vw", "dvw", "ms", "deg", "fr"],
|
|
330
354
|
"value-keyword-case": ["lower", { ignoreFunctions: ["v-bind"] }],
|
|
355
|
+
"function-name-case": ["lower", { ignoreFunctions: ["v-bind"] }],
|
|
356
|
+
"keyframes-name-pattern": "/^[a-z][a-zA-Z0-9]+$/",
|
|
357
|
+
"media-feature-name-value-no-unknown": !0,
|
|
358
|
+
"selector-max-compound-selectors": 4,
|
|
359
|
+
"selector-max-specificity": "0,7,0",
|
|
360
|
+
"shorthand-property-no-redundant-values": !0,
|
|
361
|
+
"string-quotes": "single",
|
|
362
|
+
"unit-disallowed-list": ["pt", "pc", "in", "cm", "mm"],
|
|
363
|
+
"value-no-vendor-prefix": !0,
|
|
331
364
|
"prettier/prettier": !0
|
|
332
365
|
}
|
|
333
366
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-linters-config",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.16",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue 3 linters config for eslint, prettier, stylelint",
|
|
6
6
|
"author": "Aleksandr Dergunov <dergunovs@mail.ru>",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"build": "vite build"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"vite": "7.1.
|
|
15
|
+
"vite": "7.1.2"
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
|
-
"npm": ">=11.
|
|
19
|
-
"node": ">=24.
|
|
18
|
+
"npm": ">=11.5.1",
|
|
19
|
+
"node": ">=24.6.0"
|
|
20
20
|
}
|
|
21
21
|
}
|