vue-linters-config 0.4.8 → 0.4.10
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 +39 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,32 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
function t(e, r, n) {
|
|
2
|
+
const o = n || import.meta.dirname;
|
|
3
|
+
return [
|
|
4
|
+
{
|
|
5
|
+
files: ["**/*.{ts,tsx,vue}"],
|
|
6
|
+
languageOptions: {
|
|
7
|
+
parser: r,
|
|
8
|
+
parserOptions: {
|
|
9
|
+
project: ["./tsconfig.json"],
|
|
10
|
+
tsconfigRootDir: o,
|
|
11
|
+
extraFileExtensions: [".vue"]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
files: ["**/*.vue"],
|
|
17
|
+
languageOptions: {
|
|
18
|
+
parser: e,
|
|
19
|
+
parserOptions: {
|
|
20
|
+
parser: r,
|
|
21
|
+
project: ["./tsconfig.json"],
|
|
22
|
+
tsconfigRootDir: o,
|
|
23
|
+
extraFileExtensions: [".vue"]
|
|
24
|
+
}
|
|
25
|
+
}
|
|
7
26
|
}
|
|
8
|
-
|
|
27
|
+
];
|
|
9
28
|
}
|
|
10
|
-
function
|
|
29
|
+
function s(e) {
|
|
11
30
|
return {
|
|
12
31
|
languageOptions: {
|
|
13
32
|
ecmaVersion: 2022,
|
|
@@ -16,7 +35,7 @@ function n(e) {
|
|
|
16
35
|
}
|
|
17
36
|
};
|
|
18
37
|
}
|
|
19
|
-
const
|
|
38
|
+
const i = {
|
|
20
39
|
ignores: [
|
|
21
40
|
"**/dist/",
|
|
22
41
|
"**/dev-dist/",
|
|
@@ -27,13 +46,13 @@ const t = {
|
|
|
27
46
|
"**/package-lock.json",
|
|
28
47
|
"**/android/"
|
|
29
48
|
]
|
|
30
|
-
},
|
|
49
|
+
}, a = {
|
|
31
50
|
settings: {
|
|
32
51
|
"import-x/resolver": { node: { extensions: [".js", ".ts", ".mjs", ".d.ts"] } },
|
|
33
52
|
"import-x/ignore": "vue",
|
|
34
53
|
"import-x/external-module-folders": ["node_modules", "node_modules/@types"]
|
|
35
54
|
}
|
|
36
|
-
},
|
|
55
|
+
}, l = {
|
|
37
56
|
rules: {
|
|
38
57
|
"vue/attribute-hyphenation": ["error", "never", { ignore: ["hide-details"] }],
|
|
39
58
|
"vue/block-lang": ["error", { script: { lang: "ts" } }],
|
|
@@ -278,7 +297,7 @@ const t = {
|
|
|
278
297
|
}
|
|
279
298
|
]
|
|
280
299
|
}
|
|
281
|
-
},
|
|
300
|
+
}, p = {
|
|
282
301
|
arrayBracketSpacing: !1,
|
|
283
302
|
arrowParens: "always",
|
|
284
303
|
bracketSameLine: !1,
|
|
@@ -295,7 +314,7 @@ const t = {
|
|
|
295
314
|
tabWidth: 2,
|
|
296
315
|
trailingComma: "es5",
|
|
297
316
|
useTabs: !1
|
|
298
|
-
},
|
|
317
|
+
}, c = {
|
|
299
318
|
plugins: ["stylelint-prettier"],
|
|
300
319
|
extends: [
|
|
301
320
|
"stylelint-config-recommended-scss",
|
|
@@ -382,11 +401,11 @@ const t = {
|
|
|
382
401
|
}
|
|
383
402
|
};
|
|
384
403
|
export {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
404
|
+
i as ignores,
|
|
405
|
+
s as options,
|
|
406
|
+
t as parser,
|
|
407
|
+
p as prettier,
|
|
408
|
+
l as rules,
|
|
409
|
+
a as settings,
|
|
410
|
+
c as stylelint
|
|
392
411
|
};
|