vue-linters-config 0.3.7 → 0.3.9
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 +31 -12
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
function o(e, r) {
|
|
2
|
+
return {
|
|
3
|
+
files: ["**/*.vue"],
|
|
4
|
+
languageOptions: { parser: e, parserOptions: { parser: r } }
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
function n(e) {
|
|
8
|
+
return {
|
|
9
|
+
languageOptions: {
|
|
10
|
+
ecmaVersion: 2022,
|
|
11
|
+
sourceType: "module",
|
|
12
|
+
globals: { ...e.browser, ...e.node, ymaps: "writable" }
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
const t = {
|
|
2
17
|
ignores: [
|
|
3
18
|
"**/dist/",
|
|
4
19
|
"**/coverage/",
|
|
@@ -8,13 +23,13 @@ const e = {
|
|
|
8
23
|
"**/package-lock.json",
|
|
9
24
|
"**/android/"
|
|
10
25
|
]
|
|
11
|
-
},
|
|
26
|
+
}, s = {
|
|
12
27
|
settings: {
|
|
13
28
|
"import-x/resolver": { node: { extensions: [".js", ".ts", ".mjs", ".d.ts"] } },
|
|
14
29
|
"import-x/ignore": "vue",
|
|
15
30
|
"import-x/external-module-folders": ["node_modules", "node_modules/@types"]
|
|
16
31
|
}
|
|
17
|
-
},
|
|
32
|
+
}, i = {
|
|
18
33
|
rules: {
|
|
19
34
|
"vue/attribute-hyphenation": ["error", "never", { ignore: ["hide-details"] }],
|
|
20
35
|
"vue/block-lang": ["error", { script: { lang: "ts" } }],
|
|
@@ -225,7 +240,7 @@ const e = {
|
|
|
225
240
|
}
|
|
226
241
|
]
|
|
227
242
|
}
|
|
228
|
-
},
|
|
243
|
+
}, a = {
|
|
229
244
|
bracketSpacing: !0,
|
|
230
245
|
jsxSingleQuote: !0,
|
|
231
246
|
printWidth: 120,
|
|
@@ -235,7 +250,7 @@ const e = {
|
|
|
235
250
|
trailingComma: "es5",
|
|
236
251
|
useTabs: !1,
|
|
237
252
|
bracketSameLine: !1
|
|
238
|
-
},
|
|
253
|
+
}, l = {
|
|
239
254
|
plugins: ["stylelint-prettier"],
|
|
240
255
|
extends: [
|
|
241
256
|
"stylelint-config-recommended-scss",
|
|
@@ -287,7 +302,7 @@ const e = {
|
|
|
287
302
|
"5rem"
|
|
288
303
|
],
|
|
289
304
|
"font-weight": ["$font-weight", "300", "400", "500", "700"],
|
|
290
|
-
"line-height": ["1", "1.2", "1.3", "1.5", "2"],
|
|
305
|
+
"line-height": ["1", "1.2", "1.3", "1.4", "1.5", "2"],
|
|
291
306
|
color: ["/^var/", "/^v-bind/", "unset"],
|
|
292
307
|
"background-color": ["/^var/", "/^v-bind/", "unset"],
|
|
293
308
|
"border-color": ["/^var/", "/^v-bind/", "unset"]
|
|
@@ -299,7 +314,9 @@ const e = {
|
|
|
299
314
|
"max-nesting-depth": 4,
|
|
300
315
|
"media-feature-name-allowed-list": ["max-width", "print"],
|
|
301
316
|
"media-feature-name-no-vendor-prefix": !0,
|
|
302
|
-
"media-feature-name-value-allowed-list": [
|
|
317
|
+
"media-feature-name-value-allowed-list": [
|
|
318
|
+
{ "max-width": ["640px", "960px", "$mobile", "$tablet", "$notebook", "$desktop"] }
|
|
319
|
+
],
|
|
303
320
|
"no-descending-specificity": null,
|
|
304
321
|
"no-unknown-animations": !0,
|
|
305
322
|
"number-max-precision": 3,
|
|
@@ -313,9 +330,11 @@ const e = {
|
|
|
313
330
|
}
|
|
314
331
|
};
|
|
315
332
|
export {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
o as
|
|
319
|
-
|
|
320
|
-
|
|
333
|
+
t as ignores,
|
|
334
|
+
n as options,
|
|
335
|
+
o as parser,
|
|
336
|
+
a as prettier,
|
|
337
|
+
i as rules,
|
|
338
|
+
s as settings,
|
|
339
|
+
l as stylelint
|
|
321
340
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-linters-config",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
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": "5.4.
|
|
15
|
+
"vite": "5.4.10"
|
|
16
16
|
},
|
|
17
17
|
"engines": {
|
|
18
|
-
"npm": ">=10.
|
|
19
|
-
"node": ">=22.
|
|
18
|
+
"npm": ">=10.9.0",
|
|
19
|
+
"node": ">=22.10.0"
|
|
20
20
|
}
|
|
21
21
|
}
|