@useinsider/eslint-config 1.3.0-beta.26 → 1.3.0-beta.27
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/base-Dd7loOAV.js +29 -0
- package/dist/{compat-yCMrjVqu.js → compat-DfBTP0AK.js} +1 -3
- package/dist/index-BADS9AaT.js +33 -0
- package/dist/index-BNmy0szt.js +13 -0
- package/dist/index-BVRhCxZ-.js +34 -0
- package/dist/index-BhzsYT7t.js +13 -0
- package/dist/index-Bi0aTktN.js +34 -0
- package/dist/{index-DzDN3h2z.js → index-BnmYAvIK.js} +2 -13
- package/dist/{index-B9Z6BE0D.js → index-CDDb3mvA.js} +22 -34
- package/dist/index-C_hDS_Wu.js +13 -0
- package/dist/index-UFJ1LWlt.js +13 -0
- package/dist/main.js +16 -23
- package/dist/{src/utils → utils}/ensureDependencies.d.ts +1 -3
- package/package.json +1 -1
- package/dist/base-CNvBr0N7.js +0 -34
- package/dist/index-6mED1zHB.js +0 -51
- package/dist/index-BETnCAUK.js +0 -16
- package/dist/index-BNkSVzD-.js +0 -16
- package/dist/index-BaDx6evv.js +0 -52
- package/dist/index-DS5J-V91.js +0 -16
- package/dist/index-DbqrYKOt.js +0 -52
- package/dist/index-GOHntk83.js +0 -16
- /package/dist/{src/base.d.ts → base.d.ts} +0 -0
- /package/dist/{src/configs → configs}/config/index.d.ts +0 -0
- /package/dist/{src/configs → configs}/javascript/index.d.ts +0 -0
- /package/dist/{src/configs → configs}/javascript-dom/index.d.ts +0 -0
- /package/dist/{src/configs → configs}/javascript-node/index.d.ts +0 -0
- /package/dist/{src/configs → configs}/typescript/index.d.ts +0 -0
- /package/dist/{src/configs → configs}/typescript-dom/index.d.ts +0 -0
- /package/dist/{src/configs → configs}/typescript-node/index.d.ts +0 -0
- /package/dist/{src/configs → configs}/vue2/index.d.ts +0 -0
- /package/dist/{src/configs → configs}/vue3/index.d.ts +0 -0
- /package/dist/{src/configs → configs}/vue3-typescript/index.d.ts +0 -0
- /package/dist/{src/main.d.ts → main.d.ts} +0 -0
- /package/dist/{src/rules → rules}/core.d.ts +0 -0
- /package/dist/{src/rules → rules}/cspell.d.ts +0 -0
- /package/dist/{src/rules → rules}/importRules.d.ts +0 -0
- /package/dist/{src/rules → rules}/jsdoc.d.ts +0 -0
- /package/dist/{src/rules → rules}/stylistic.d.ts +0 -0
- /package/dist/{src/rules → rules}/typescript.d.ts +0 -0
- /package/dist/{src/rules → rules}/vue.d.ts +0 -0
- /package/dist/{src/rules → rules}/vue2.d.ts +0 -0
- /package/dist/{src/utils → utils}/compat.d.ts +0 -0
- /package/dist/{src/utils → utils}/merge.d.ts +0 -0
- /package/dist/{src/utils → utils}/mergeAllConfig.d.ts +0 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { dirname as e } from "node:path";
|
|
2
|
+
import { fileURLToPath as t } from "node:url";
|
|
3
|
+
import { FlatCompat as i } from "@eslint/eslintrc";
|
|
4
|
+
import m from "@eslint/js";
|
|
5
|
+
import { merge as r, mergeAll as s } from "./main.js";
|
|
6
|
+
const a = new i({
|
|
7
|
+
baseDirectory: e(t(import.meta.url))
|
|
8
|
+
});
|
|
9
|
+
function l(o = []) {
|
|
10
|
+
return r(m.configs.recommended, s(a.plugins("import", "@stylistic", "@stylistic/migrate", "@cspell", ...o)));
|
|
11
|
+
}
|
|
12
|
+
function d() {
|
|
13
|
+
return r({
|
|
14
|
+
languageOptions: {
|
|
15
|
+
ecmaVersion: 2022
|
|
16
|
+
},
|
|
17
|
+
rules: {
|
|
18
|
+
"jsdoc/require-param": "off",
|
|
19
|
+
"jsdoc/require-jsdoc": "off",
|
|
20
|
+
"jsdoc/require-returns": "off",
|
|
21
|
+
"jsdoc/require-param-type": "off",
|
|
22
|
+
"jsdoc/check-param-names": "off"
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
l as a,
|
|
28
|
+
d as p
|
|
29
|
+
};
|
|
@@ -5,9 +5,7 @@ import { mergeAll as t } from "./main.js";
|
|
|
5
5
|
const e = new i({
|
|
6
6
|
baseDirectory: m(r(import.meta.url))
|
|
7
7
|
}), l = {
|
|
8
|
-
extends: (...o) => t(
|
|
9
|
-
e.extends(...o)
|
|
10
|
-
),
|
|
8
|
+
extends: (...o) => t(e.extends(...o)),
|
|
11
9
|
config: (o) => t(e.config(o)),
|
|
12
10
|
plugins: (...o) => t(e.plugins(...o)),
|
|
13
11
|
env: (o) => t(e.env(o))
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import i from "@eslint/js";
|
|
2
|
+
import c from "eslint-plugin-jsdoc";
|
|
3
|
+
import e from "typescript-eslint";
|
|
4
|
+
import { p as n, a } from "./base-Dd7loOAV.js";
|
|
5
|
+
import f from "./rules/core.js";
|
|
6
|
+
import d from "./rules/cspell.js";
|
|
7
|
+
import l from "./rules/importRules.js";
|
|
8
|
+
import g from "./rules/jsdoc.js";
|
|
9
|
+
import b from "./rules/stylistic.js";
|
|
10
|
+
import u from "./rules/typescript.js";
|
|
11
|
+
import { c as m } from "./compat-DfBTP0AK.js";
|
|
12
|
+
import { mergeAll as y, merge as s } from "./main.js";
|
|
13
|
+
const p = s(m.extends("airbnb-base", "airbnb-typescript/base"));
|
|
14
|
+
var r, o, t;
|
|
15
|
+
(t = (o = (r = p.languageOptions) == null ? void 0 : r.parserOptions) == null ? void 0 : o.ecmaFeatures) == null || delete t.globalReturn;
|
|
16
|
+
const N = y(e.config(i.configs.recommended, p, ...e.configs.recommended, ...e.configs.recommendedTypeChecked, c.configs["flat/recommended-typescript-error"], s(m.extends("plugin:@cspell/recommended"), a(), f, l, d, b, g, u, n(), {
|
|
17
|
+
settings: {
|
|
18
|
+
jsdoc: {
|
|
19
|
+
mode: "typescript",
|
|
20
|
+
tagNamePreference: {
|
|
21
|
+
callback: "watch",
|
|
22
|
+
desc: "use"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"import/resolver": {
|
|
26
|
+
typescript: !0,
|
|
27
|
+
node: !0
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
})));
|
|
31
|
+
export {
|
|
32
|
+
N as default
|
|
33
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { dirname as r } from "node:path";
|
|
2
|
+
import { fileURLToPath as m } from "node:url";
|
|
3
|
+
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
|
+
import t from "eslint-plugin-jsdoc";
|
|
5
|
+
import i from "globals";
|
|
6
|
+
import { p, a as n } from "./base-Dd7loOAV.js";
|
|
7
|
+
import a from "./rules/core.js";
|
|
8
|
+
import l from "./rules/cspell.js";
|
|
9
|
+
import c from "./rules/importRules.js";
|
|
10
|
+
import f from "./rules/jsdoc.js";
|
|
11
|
+
import u from "./rules/stylistic.js";
|
|
12
|
+
import d from "./rules/vue2.js";
|
|
13
|
+
import { merge as g, mergeAll as e } from "./main.js";
|
|
14
|
+
const o = new s({
|
|
15
|
+
baseDirectory: r(m(import.meta.url))
|
|
16
|
+
}), A = g(e(o.extends("airbnb-base", "plugin:vue/recommended", "plugin:vue-scoped-css/recommended")), t.configs["flat/recommended"], e(o.extends("plugin:@cspell/recommended")), n(["vue", "vue-scoped-css"]), a, c, l, u, f, d, p(), e(o.config({
|
|
17
|
+
parser: "vue-eslint-parser"
|
|
18
|
+
})), {
|
|
19
|
+
languageOptions: {
|
|
20
|
+
parserOptions: {
|
|
21
|
+
sourceType: "module",
|
|
22
|
+
ecmaFeatures: {
|
|
23
|
+
jsx: !0
|
|
24
|
+
},
|
|
25
|
+
extraFileExtensions: [".vue"]
|
|
26
|
+
},
|
|
27
|
+
globals: {
|
|
28
|
+
...i.browser
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
A as default
|
|
34
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { dirname as r } from "node:path";
|
|
2
|
+
import { fileURLToPath as m } from "node:url";
|
|
3
|
+
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
|
+
import t from "eslint-plugin-jsdoc";
|
|
5
|
+
import i from "globals";
|
|
6
|
+
import { p, a as n } from "./base-Dd7loOAV.js";
|
|
7
|
+
import a from "./rules/core.js";
|
|
8
|
+
import l from "./rules/cspell.js";
|
|
9
|
+
import c from "./rules/importRules.js";
|
|
10
|
+
import u from "./rules/jsdoc.js";
|
|
11
|
+
import f from "./rules/stylistic.js";
|
|
12
|
+
import d from "./rules/vue.js";
|
|
13
|
+
import { merge as g, mergeAll as e } from "./main.js";
|
|
14
|
+
const o = new s({
|
|
15
|
+
baseDirectory: r(m(import.meta.url))
|
|
16
|
+
}), A = g(e(o.extends("airbnb-base", "plugin:vue/vue3-recommended", "plugin:vue-scoped-css/vue3-recommended")), t.configs["flat/recommended"], e(o.extends("plugin:@cspell/recommended")), n(["vue", "vue-scoped-css"]), a, c, l, f, u, d, p(), e(o.config({
|
|
17
|
+
parser: "vue-eslint-parser"
|
|
18
|
+
})), {
|
|
19
|
+
languageOptions: {
|
|
20
|
+
parserOptions: {
|
|
21
|
+
sourceType: "module",
|
|
22
|
+
ecmaFeatures: {
|
|
23
|
+
jsx: !0
|
|
24
|
+
},
|
|
25
|
+
extraFileExtensions: [".vue"]
|
|
26
|
+
},
|
|
27
|
+
globals: {
|
|
28
|
+
...i.browser
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
A as default
|
|
34
|
+
};
|
|
@@ -2,7 +2,7 @@ import { dirname as m } from "node:path";
|
|
|
2
2
|
import { fileURLToPath as t } from "node:url";
|
|
3
3
|
import { FlatCompat as e } from "@eslint/eslintrc";
|
|
4
4
|
import i from "eslint-plugin-jsdoc";
|
|
5
|
-
import { p, a as s } from "./base-
|
|
5
|
+
import { p, a as s } from "./base-Dd7loOAV.js";
|
|
6
6
|
import f from "./rules/core.js";
|
|
7
7
|
import a from "./rules/cspell.js";
|
|
8
8
|
import l from "./rules/importRules.js";
|
|
@@ -11,18 +11,7 @@ import c from "./rules/stylistic.js";
|
|
|
11
11
|
import { merge as d, mergeAll as o } from "./main.js";
|
|
12
12
|
const r = new e({
|
|
13
13
|
baseDirectory: m(t(import.meta.url))
|
|
14
|
-
}), w = d(
|
|
15
|
-
o(r.extends("eslint-config-airbnb-base")),
|
|
16
|
-
i.configs["flat/recommended"],
|
|
17
|
-
o(r.extends("plugin:@cspell/recommended")),
|
|
18
|
-
s(),
|
|
19
|
-
f,
|
|
20
|
-
l,
|
|
21
|
-
a,
|
|
22
|
-
c,
|
|
23
|
-
n,
|
|
24
|
-
p()
|
|
25
|
-
);
|
|
14
|
+
}), w = d(o(r.extends("eslint-config-airbnb-base")), i.configs["flat/recommended"], o(r.extends("plugin:@cspell/recommended")), s(), f, l, a, c, n, p());
|
|
26
15
|
export {
|
|
27
16
|
w as default
|
|
28
17
|
};
|
|
@@ -4,7 +4,7 @@ import c from "eslint-plugin-vue";
|
|
|
4
4
|
import l from "eslint-plugin-vue-scoped-css";
|
|
5
5
|
import f from "globals";
|
|
6
6
|
import r from "typescript-eslint";
|
|
7
|
-
import { p as d, a as g } from "./base-
|
|
7
|
+
import { p as d, a as g } from "./base-Dd7loOAV.js";
|
|
8
8
|
import u from "./rules/core.js";
|
|
9
9
|
import b from "./rules/cspell.js";
|
|
10
10
|
import x from "./rules/importRules.js";
|
|
@@ -12,7 +12,7 @@ import y from "./rules/jsdoc.js";
|
|
|
12
12
|
import j from "./rules/stylistic.js";
|
|
13
13
|
import O from "./rules/typescript.js";
|
|
14
14
|
import P from "./rules/vue.js";
|
|
15
|
-
import { c as m } from "./compat-
|
|
15
|
+
import { c as m } from "./compat-DfBTP0AK.js";
|
|
16
16
|
import { mergeAll as C, merge as i } from "./main.js";
|
|
17
17
|
const p = i(m.extends("airbnb-base", "airbnb-typescript/base"));
|
|
18
18
|
var o, t, s;
|
|
@@ -24,42 +24,30 @@ const G = C(r.config(
|
|
|
24
24
|
...c.configs["flat/recommended"].map((e) => (delete e.files, e)),
|
|
25
25
|
...l.configs["flat/recommended"],
|
|
26
26
|
a.configs["flat/recommended-typescript-error"],
|
|
27
|
-
i(
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
x,
|
|
32
|
-
b,
|
|
33
|
-
j,
|
|
34
|
-
y,
|
|
35
|
-
P,
|
|
36
|
-
O,
|
|
37
|
-
d(),
|
|
38
|
-
{
|
|
39
|
-
languageOptions: {
|
|
40
|
-
globals: {
|
|
41
|
-
...f.browser
|
|
42
|
-
},
|
|
43
|
-
parserOptions: {
|
|
44
|
-
parser: "@typescript-eslint/parser",
|
|
45
|
-
sourceType: "module",
|
|
46
|
-
ecmaFeatures: {
|
|
47
|
-
jsx: !0
|
|
48
|
-
},
|
|
49
|
-
extraFileExtensions: [".vue"]
|
|
50
|
-
}
|
|
27
|
+
i(m.extends("plugin:@cspell/recommended"), g(), u, x, b, j, y, P, O, d(), {
|
|
28
|
+
languageOptions: {
|
|
29
|
+
globals: {
|
|
30
|
+
...f.browser
|
|
51
31
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
32
|
+
parserOptions: {
|
|
33
|
+
parser: "@typescript-eslint/parser",
|
|
34
|
+
sourceType: "module",
|
|
35
|
+
ecmaFeatures: {
|
|
36
|
+
jsx: !0
|
|
37
|
+
},
|
|
38
|
+
extraFileExtensions: [".vue"]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
settings: {
|
|
42
|
+
jsdoc: {
|
|
43
|
+
mode: "typescript",
|
|
44
|
+
tagNamePreference: {
|
|
45
|
+
callback: "watch",
|
|
46
|
+
desc: "use"
|
|
59
47
|
}
|
|
60
48
|
}
|
|
61
49
|
}
|
|
62
|
-
)
|
|
50
|
+
})
|
|
63
51
|
));
|
|
64
52
|
export {
|
|
65
53
|
G as default
|
package/dist/main.js
CHANGED
|
@@ -18,13 +18,11 @@ function y() {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
function D() {
|
|
21
|
-
return d(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
))
|
|
27
|
-
).dependencies;
|
|
21
|
+
return d(l(new URL(
|
|
22
|
+
/* @vite-ignore */
|
|
23
|
+
"../",
|
|
24
|
+
import.meta.url
|
|
25
|
+
))).dependencies;
|
|
28
26
|
}
|
|
29
27
|
const i = {
|
|
30
28
|
yarn: "yarn add --exact --dev",
|
|
@@ -38,9 +36,7 @@ function v() {
|
|
|
38
36
|
function w() {
|
|
39
37
|
if (p)
|
|
40
38
|
return;
|
|
41
|
-
const e = y(), r = Object.entries(D()).filter(
|
|
42
|
-
([n, c]) => !m.has(n) && (!e[n] || e[n] !== c)
|
|
43
|
-
);
|
|
39
|
+
const e = y(), r = Object.entries(D()).filter(([n, c]) => !m.has(n) && (!e[n] || e[n] !== c));
|
|
44
40
|
if (!r.length)
|
|
45
41
|
return;
|
|
46
42
|
const o = r.map(([n, c]) => `${n}@${c.replace(/^\W+/, "")}`);
|
|
@@ -68,39 +64,36 @@ const a = {
|
|
|
68
64
|
return import("./index-CixUmpPQ.js");
|
|
69
65
|
},
|
|
70
66
|
async javascript() {
|
|
71
|
-
return import("./index-
|
|
67
|
+
return import("./index-BnmYAvIK.js");
|
|
72
68
|
},
|
|
73
69
|
async "javascript-node"() {
|
|
74
|
-
return import("./index-
|
|
70
|
+
return import("./index-BhzsYT7t.js");
|
|
75
71
|
},
|
|
76
72
|
async "javascript-dom"() {
|
|
77
|
-
return import("./index-
|
|
73
|
+
return import("./index-BNmy0szt.js");
|
|
78
74
|
},
|
|
79
75
|
async typescript() {
|
|
80
|
-
return import("./index-
|
|
76
|
+
return import("./index-BADS9AaT.js");
|
|
81
77
|
},
|
|
82
78
|
async "typescript-node"() {
|
|
83
|
-
return import("./index-
|
|
79
|
+
return import("./index-C_hDS_Wu.js");
|
|
84
80
|
},
|
|
85
81
|
async "typescript-dom"() {
|
|
86
|
-
return import("./index-
|
|
82
|
+
return import("./index-UFJ1LWlt.js");
|
|
87
83
|
},
|
|
88
84
|
async vue3() {
|
|
89
|
-
return import("./index-
|
|
85
|
+
return import("./index-Bi0aTktN.js");
|
|
90
86
|
},
|
|
91
87
|
async "vue3-typescript"() {
|
|
92
|
-
return import("./index-
|
|
88
|
+
return import("./index-CDDb3mvA.js");
|
|
93
89
|
},
|
|
94
90
|
async vue2() {
|
|
95
|
-
return import("./index-
|
|
91
|
+
return import("./index-BVRhCxZ-.js");
|
|
96
92
|
}
|
|
97
93
|
};
|
|
98
94
|
async function J(e) {
|
|
99
95
|
w();
|
|
100
|
-
const t = e.preset.map(async (n) => typeof a[n] == "function" && (await a[n]()).default).filter(Boolean), r = await Promise.all(t), o = s(
|
|
101
|
-
r.reduce((n, c) => s(n, c), {}),
|
|
102
|
-
e.config
|
|
103
|
-
);
|
|
96
|
+
const t = e.preset.map(async (n) => typeof a[n] == "function" && (await a[n]()).default).filter(Boolean), r = await Promise.all(t), o = s(r.reduce((n, c) => s(n, c), {}), e.config);
|
|
104
97
|
return o || Promise.reject(new Error("No config found"));
|
|
105
98
|
}
|
|
106
99
|
export {
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
export declare function ensureDependencies(): void;
|
|
2
|
-
type Dependencies = (keyof typeof import('../package.json')['dependencies'])[];
|
|
3
2
|
export declare function silenceDependencyWarning(
|
|
4
3
|
/**
|
|
5
4
|
* Pass `true` to silence all dependency warnings.
|
|
6
5
|
*/
|
|
7
6
|
all: boolean): void;
|
|
8
|
-
export declare function silenceDependencyWarning(dependencies:
|
|
9
|
-
export {};
|
|
7
|
+
export declare function silenceDependencyWarning(dependencies: string[]): void;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.3.0-beta.
|
|
4
|
+
"version": "1.3.0-beta.27",
|
|
5
5
|
"description": "A collection of ESLint configurations provided by @useinsider, offering support for various environments including Vanilla JS, TypeScript, and framework-specific setups such as Vue 3.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"useinsider",
|
package/dist/base-CNvBr0N7.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { dirname as e } from "node:path";
|
|
2
|
-
import { fileURLToPath as t } from "node:url";
|
|
3
|
-
import { FlatCompat as i } from "@eslint/eslintrc";
|
|
4
|
-
import m from "@eslint/js";
|
|
5
|
-
import { merge as r, mergeAll as s } from "./main.js";
|
|
6
|
-
const a = new i({
|
|
7
|
-
baseDirectory: e(t(import.meta.url))
|
|
8
|
-
});
|
|
9
|
-
function l(o = []) {
|
|
10
|
-
return r(
|
|
11
|
-
m.configs.recommended,
|
|
12
|
-
s(a.plugins("import", "@stylistic", "@stylistic/migrate", "@cspell", ...o))
|
|
13
|
-
);
|
|
14
|
-
}
|
|
15
|
-
function d() {
|
|
16
|
-
return r(
|
|
17
|
-
{
|
|
18
|
-
languageOptions: {
|
|
19
|
-
ecmaVersion: 2022
|
|
20
|
-
},
|
|
21
|
-
rules: {
|
|
22
|
-
"jsdoc/require-param": "off",
|
|
23
|
-
"jsdoc/require-jsdoc": "off",
|
|
24
|
-
"jsdoc/require-returns": "off",
|
|
25
|
-
"jsdoc/require-param-type": "off",
|
|
26
|
-
"jsdoc/check-param-names": "off"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
export {
|
|
32
|
-
l as a,
|
|
33
|
-
d as p
|
|
34
|
-
};
|
package/dist/index-6mED1zHB.js
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import i from "@eslint/js";
|
|
2
|
-
import c from "eslint-plugin-jsdoc";
|
|
3
|
-
import e from "typescript-eslint";
|
|
4
|
-
import { p as n, a } from "./base-CNvBr0N7.js";
|
|
5
|
-
import f from "./rules/core.js";
|
|
6
|
-
import d from "./rules/cspell.js";
|
|
7
|
-
import l from "./rules/importRules.js";
|
|
8
|
-
import g from "./rules/jsdoc.js";
|
|
9
|
-
import b from "./rules/stylistic.js";
|
|
10
|
-
import u from "./rules/typescript.js";
|
|
11
|
-
import { c as m } from "./compat-yCMrjVqu.js";
|
|
12
|
-
import { mergeAll as y, merge as s } from "./main.js";
|
|
13
|
-
const p = s(m.extends("airbnb-base", "airbnb-typescript/base"));
|
|
14
|
-
var r, o, t;
|
|
15
|
-
(t = (o = (r = p.languageOptions) == null ? void 0 : r.parserOptions) == null ? void 0 : o.ecmaFeatures) == null || delete t.globalReturn;
|
|
16
|
-
const N = y(e.config(
|
|
17
|
-
i.configs.recommended,
|
|
18
|
-
p,
|
|
19
|
-
...e.configs.recommended,
|
|
20
|
-
...e.configs.recommendedTypeChecked,
|
|
21
|
-
c.configs["flat/recommended-typescript-error"],
|
|
22
|
-
s(
|
|
23
|
-
m.extends("plugin:@cspell/recommended"),
|
|
24
|
-
a(),
|
|
25
|
-
f,
|
|
26
|
-
l,
|
|
27
|
-
d,
|
|
28
|
-
b,
|
|
29
|
-
g,
|
|
30
|
-
u,
|
|
31
|
-
n(),
|
|
32
|
-
{
|
|
33
|
-
settings: {
|
|
34
|
-
jsdoc: {
|
|
35
|
-
mode: "typescript",
|
|
36
|
-
tagNamePreference: {
|
|
37
|
-
callback: "watch",
|
|
38
|
-
desc: "use"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"import/resolver": {
|
|
42
|
-
typescript: !0,
|
|
43
|
-
node: !0
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
)
|
|
48
|
-
));
|
|
49
|
-
export {
|
|
50
|
-
N as default
|
|
51
|
-
};
|
package/dist/index-BETnCAUK.js
DELETED
package/dist/index-BNkSVzD-.js
DELETED
package/dist/index-BaDx6evv.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { dirname as r } from "node:path";
|
|
2
|
-
import { fileURLToPath as m } from "node:url";
|
|
3
|
-
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
|
-
import t from "eslint-plugin-jsdoc";
|
|
5
|
-
import i from "globals";
|
|
6
|
-
import { p, a as n } from "./base-CNvBr0N7.js";
|
|
7
|
-
import a from "./rules/core.js";
|
|
8
|
-
import l from "./rules/cspell.js";
|
|
9
|
-
import c from "./rules/importRules.js";
|
|
10
|
-
import f from "./rules/jsdoc.js";
|
|
11
|
-
import u from "./rules/stylistic.js";
|
|
12
|
-
import d from "./rules/vue2.js";
|
|
13
|
-
import { merge as g, mergeAll as e } from "./main.js";
|
|
14
|
-
const o = new s({
|
|
15
|
-
baseDirectory: r(m(import.meta.url))
|
|
16
|
-
}), A = g(
|
|
17
|
-
e(o.extends(
|
|
18
|
-
"airbnb-base",
|
|
19
|
-
"plugin:vue/recommended",
|
|
20
|
-
"plugin:vue-scoped-css/recommended"
|
|
21
|
-
)),
|
|
22
|
-
t.configs["flat/recommended"],
|
|
23
|
-
e(o.extends("plugin:@cspell/recommended")),
|
|
24
|
-
n(["vue", "vue-scoped-css"]),
|
|
25
|
-
a,
|
|
26
|
-
c,
|
|
27
|
-
l,
|
|
28
|
-
u,
|
|
29
|
-
f,
|
|
30
|
-
d,
|
|
31
|
-
p(),
|
|
32
|
-
e(o.config({
|
|
33
|
-
parser: "vue-eslint-parser"
|
|
34
|
-
})),
|
|
35
|
-
{
|
|
36
|
-
languageOptions: {
|
|
37
|
-
parserOptions: {
|
|
38
|
-
sourceType: "module",
|
|
39
|
-
ecmaFeatures: {
|
|
40
|
-
jsx: !0
|
|
41
|
-
},
|
|
42
|
-
extraFileExtensions: [".vue"]
|
|
43
|
-
},
|
|
44
|
-
globals: {
|
|
45
|
-
...i.browser
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
);
|
|
50
|
-
export {
|
|
51
|
-
A as default
|
|
52
|
-
};
|
package/dist/index-DS5J-V91.js
DELETED
package/dist/index-DbqrYKOt.js
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { dirname as r } from "node:path";
|
|
2
|
-
import { fileURLToPath as m } from "node:url";
|
|
3
|
-
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
|
-
import t from "eslint-plugin-jsdoc";
|
|
5
|
-
import i from "globals";
|
|
6
|
-
import { p, a as n } from "./base-CNvBr0N7.js";
|
|
7
|
-
import a from "./rules/core.js";
|
|
8
|
-
import l from "./rules/cspell.js";
|
|
9
|
-
import c from "./rules/importRules.js";
|
|
10
|
-
import u from "./rules/jsdoc.js";
|
|
11
|
-
import f from "./rules/stylistic.js";
|
|
12
|
-
import d from "./rules/vue.js";
|
|
13
|
-
import { merge as g, mergeAll as e } from "./main.js";
|
|
14
|
-
const o = new s({
|
|
15
|
-
baseDirectory: r(m(import.meta.url))
|
|
16
|
-
}), A = g(
|
|
17
|
-
e(o.extends(
|
|
18
|
-
"airbnb-base",
|
|
19
|
-
"plugin:vue/vue3-recommended",
|
|
20
|
-
"plugin:vue-scoped-css/vue3-recommended"
|
|
21
|
-
)),
|
|
22
|
-
t.configs["flat/recommended"],
|
|
23
|
-
e(o.extends("plugin:@cspell/recommended")),
|
|
24
|
-
n(["vue", "vue-scoped-css"]),
|
|
25
|
-
a,
|
|
26
|
-
c,
|
|
27
|
-
l,
|
|
28
|
-
f,
|
|
29
|
-
u,
|
|
30
|
-
d,
|
|
31
|
-
p(),
|
|
32
|
-
e(o.config({
|
|
33
|
-
parser: "vue-eslint-parser"
|
|
34
|
-
})),
|
|
35
|
-
{
|
|
36
|
-
languageOptions: {
|
|
37
|
-
parserOptions: {
|
|
38
|
-
sourceType: "module",
|
|
39
|
-
ecmaFeatures: {
|
|
40
|
-
jsx: !0
|
|
41
|
-
},
|
|
42
|
-
extraFileExtensions: [".vue"]
|
|
43
|
-
},
|
|
44
|
-
globals: {
|
|
45
|
-
...i.browser
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
);
|
|
50
|
-
export {
|
|
51
|
-
A as default
|
|
52
|
-
};
|
package/dist/index-GOHntk83.js
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|