vue-linters-config 0.4.7 → 0.4.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 +16 -19
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
function
|
|
1
|
+
function t(e, r, o) {
|
|
2
|
+
const n = o || import.meta.dirname;
|
|
2
3
|
return {
|
|
3
4
|
files: ["**/*.vue"],
|
|
4
5
|
languageOptions: {
|
|
5
6
|
parser: e,
|
|
6
|
-
parserOptions: {
|
|
7
|
-
parser: r,
|
|
8
|
-
project: ["./tsconfig.json"],
|
|
9
|
-
tsconfigRootDir: import.meta.dirname
|
|
10
|
-
}
|
|
7
|
+
parserOptions: { parser: r, project: ["./tsconfig.json"], tsconfigRootDir: n }
|
|
11
8
|
}
|
|
12
9
|
};
|
|
13
10
|
}
|
|
14
|
-
function
|
|
11
|
+
function s(e) {
|
|
15
12
|
return {
|
|
16
13
|
languageOptions: {
|
|
17
14
|
ecmaVersion: 2022,
|
|
@@ -20,7 +17,7 @@ function n(e) {
|
|
|
20
17
|
}
|
|
21
18
|
};
|
|
22
19
|
}
|
|
23
|
-
const
|
|
20
|
+
const i = {
|
|
24
21
|
ignores: [
|
|
25
22
|
"**/dist/",
|
|
26
23
|
"**/dev-dist/",
|
|
@@ -31,13 +28,13 @@ const t = {
|
|
|
31
28
|
"**/package-lock.json",
|
|
32
29
|
"**/android/"
|
|
33
30
|
]
|
|
34
|
-
},
|
|
31
|
+
}, a = {
|
|
35
32
|
settings: {
|
|
36
33
|
"import-x/resolver": { node: { extensions: [".js", ".ts", ".mjs", ".d.ts"] } },
|
|
37
34
|
"import-x/ignore": "vue",
|
|
38
35
|
"import-x/external-module-folders": ["node_modules", "node_modules/@types"]
|
|
39
36
|
}
|
|
40
|
-
},
|
|
37
|
+
}, l = {
|
|
41
38
|
rules: {
|
|
42
39
|
"vue/attribute-hyphenation": ["error", "never", { ignore: ["hide-details"] }],
|
|
43
40
|
"vue/block-lang": ["error", { script: { lang: "ts" } }],
|
|
@@ -282,7 +279,7 @@ const t = {
|
|
|
282
279
|
}
|
|
283
280
|
]
|
|
284
281
|
}
|
|
285
|
-
},
|
|
282
|
+
}, p = {
|
|
286
283
|
arrayBracketSpacing: !1,
|
|
287
284
|
arrowParens: "always",
|
|
288
285
|
bracketSameLine: !1,
|
|
@@ -299,7 +296,7 @@ const t = {
|
|
|
299
296
|
tabWidth: 2,
|
|
300
297
|
trailingComma: "es5",
|
|
301
298
|
useTabs: !1
|
|
302
|
-
},
|
|
299
|
+
}, c = {
|
|
303
300
|
plugins: ["stylelint-prettier"],
|
|
304
301
|
extends: [
|
|
305
302
|
"stylelint-config-recommended-scss",
|
|
@@ -386,11 +383,11 @@ const t = {
|
|
|
386
383
|
}
|
|
387
384
|
};
|
|
388
385
|
export {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
386
|
+
i as ignores,
|
|
387
|
+
s as options,
|
|
388
|
+
t as parser,
|
|
389
|
+
p as prettier,
|
|
390
|
+
l as rules,
|
|
391
|
+
a as settings,
|
|
392
|
+
c as stylelint
|
|
396
393
|
};
|