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