@useinsider/eslint-config 1.3.0-beta.16 → 1.3.0-beta.17
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-BQL2gY6S.cjs +1 -0
- package/dist/base-Dd7loOAV.js +29 -0
- package/dist/index-AFtKHtBi.cjs +1 -0
- package/dist/index-BPS1S4-r.cjs +1 -0
- package/dist/{index-CQNDJoJt.js → index-BVRhCxZ-.js} +8 -6
- package/dist/{index-hBpiuFtx.js → index-Bi0aTktN.js} +9 -7
- package/dist/index-CDDb3mvA.js +54 -0
- package/dist/index-DLjVlGbl.cjs +1 -0
- package/dist/index-DWtvOCvF.cjs +1 -0
- package/dist/index-DZtAP4df.cjs +1 -0
- package/dist/index-DxssMFTY.js +35 -0
- package/dist/index-HOFGS2wX.js +24 -0
- package/dist/index-IIVQtmV1.js +24 -0
- package/dist/index-KmM7HSI-.cjs +1 -0
- package/dist/index-VkwuK_gg.cjs +1 -0
- package/dist/index-jZZHYSKb.js +39 -0
- package/dist/main.cjs +1 -1
- package/dist/main.js +7 -7
- package/dist/rules/core.cjs +1 -1
- package/dist/rules/core.js +2 -28
- package/dist/rules/cspell.cjs +1 -1
- package/dist/rules/cspell.js +3 -1
- package/dist/rules/importRules.cjs +1 -0
- package/dist/rules/importRules.js +33 -0
- package/dist/rules/jsdoc.js +38 -0
- package/dist/src/configs/typescript/index.d.ts +3 -0
- package/dist/src/configs/typescript-dom/index.d.ts +3 -0
- package/dist/src/configs/vue3-typescript/index.d.ts +3 -0
- package/dist/src/rules/vue2.d.ts +3 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -0
- package/package.json +24 -19
- package/dist/base-9BrMjwXf.js +0 -3239
- package/dist/base-CcRFzdI4.cjs +0 -1
- package/dist/configs/vue2/index.d.ts +0 -5
- package/dist/configs/vue3/index.d.ts +0 -5
- package/dist/configs/vue3-typescript/index.d.ts +0 -5
- package/dist/index-B6z9M-_y.cjs +0 -1
- package/dist/index-BaoBtTGT.js +0 -22
- package/dist/index-CEjGCZl1.cjs +0 -1
- package/dist/index-CJci1tSA.js +0 -39
- package/dist/index-CsGxdR34.cjs +0 -1
- package/dist/index-Ct4x1Hqa.cjs +0 -1
- package/dist/index-DGvG8xC7.js +0 -34
- package/dist/index-DJ4ZOmFb.cjs +0 -1
- package/dist/index-DqPqgGy_.cjs +0 -1
- package/dist/index-DujTzkaC.js +0 -22
- package/dist/index-OWPJRPvw.js +0 -41
- package/dist/index-ut85_XOT.cjs +0 -1
- /package/dist/{base.d.ts → src/base.d.ts} +0 -0
- /package/dist/{configs → src/configs}/config/index.d.ts +0 -0
- /package/dist/{configs → src/configs}/dom/index.d.ts +0 -0
- /package/dist/{configs → src/configs}/node/index.d.ts +0 -0
- /package/dist/{configs/typescript-dom → src/configs/vue2}/index.d.ts +0 -0
- /package/dist/{configs/typescript → src/configs/vue3}/index.d.ts +0 -0
- /package/dist/{main.d.ts → src/main.d.ts} +0 -0
- /package/dist/{rules → src/rules}/core.d.ts +0 -0
- /package/dist/{rules → src/rules}/cspell.d.ts +0 -0
- /package/dist/{rules/jsdoc.d.ts → src/rules/importRules.d.ts} +0 -0
- /package/dist/{rules/stylistic.d.ts → src/rules/jsdoc.d.ts} +0 -0
- /package/dist/{rules/typescript.d.ts → src/rules/stylistic.d.ts} +0 -0
- /package/dist/{rules/vue.d.ts → src/rules/typescript.d.ts} +0 -0
- /package/dist/{rules/vue2.d.ts → src/rules/vue.d.ts} +0 -0
- /package/dist/{utils → src/utils}/compat.d.ts +0 -0
- /package/dist/{utils → src/utils}/merge.d.ts +0 -0
- /package/dist/{utils → src/utils}/mergeAllConfig.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("node:path"),t=require("node:url"),i=require("@eslint/eslintrc"),c=require("@eslint/js"),e=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const s=new i.FlatCompat({baseDirectory:o.dirname(t.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.src||new URL("base-BQL2gY6S.cjs",document.baseURI).href))});function u(n=[]){return e.merge(c.configs.recommended,e.mergeAll(s.plugins("import","@stylistic","@stylistic/migrate","@cspell",...n)))}function f(){return e.merge({languageOptions:{ecmaVersion:2022},rules:{"jsdoc/require-param":"off","jsdoc/require-jsdoc":"off","jsdoc/require-returns":"off","jsdoc/require-param-type":"off","jsdoc/check-param-names":"off"}})}exports.postConfig=f;exports.preConfig=u;
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("node:path"),s=require("node:url"),i=require("@eslint/eslintrc"),c=require("eslint-plugin-jsdoc"),u=require("globals"),r=require("./base-BQL2gY6S.cjs"),l=require("./rules/core.cjs"),d=require("./rules/cspell.cjs"),a=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),p=require("./rules/stylistic.cjs"),e=require("./main.cjs");var n=typeof document<"u"?document.currentScript:null;const t=new i.FlatCompat({baseDirectory:o.dirname(s.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:n&&n.src||new URL("index-AFtKHtBi.cjs",document.baseURI).href))}),f=e.merge(e.mergeAll(t.extends("eslint-config-airbnb-base")),c.configs["flat/recommended"],e.mergeAll(t.extends("plugin:@cspell/recommended")),r.preConfig(),l,a,d,p,m,r.postConfig(),{languageOptions:{globals:{...u.node}}});exports.default=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("node:path"),t=require("node:url"),u=require("@eslint/eslintrc"),c=require("eslint-plugin-jsdoc"),i=require("globals"),s=require("./base-BQL2gY6S.cjs"),l=require("./rules/core.cjs"),d=require("./rules/cspell.cjs"),a=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),p=require("./rules/stylistic.cjs"),g=require("./rules/vue.cjs"),e=require("./main.cjs");var n=typeof document<"u"?document.currentScript:null;const r=new u.FlatCompat({baseDirectory:o.dirname(t.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:n&&n.src||new URL("index-BPS1S4-r.cjs",document.baseURI).href))}),f=e.merge(e.mergeAll(r.extends("airbnb-base","plugin:vue/vue3-recommended","plugin:vue-scoped-css/vue3-recommended")),c.configs["flat/recommended"],e.mergeAll(r.extends("plugin:@cspell/recommended")),s.preConfig(["vue","vue-scoped-css"]),l,a,d,p,m,g,s.postConfig(),e.mergeAll(r.config({parser:"vue-eslint-parser"})),{languageOptions:{parserOptions:{sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]},globals:{...i.browser}}});exports.default=f;
|
|
@@ -2,16 +2,18 @@ import { dirname as r } from "node:path";
|
|
|
2
2
|
import { fileURLToPath as m } from "node:url";
|
|
3
3
|
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
4
|
import t from "eslint-plugin-jsdoc";
|
|
5
|
-
import
|
|
5
|
+
import i from "globals";
|
|
6
|
+
import { p, a as n } from "./base-Dd7loOAV.js";
|
|
6
7
|
import a from "./rules/core.js";
|
|
7
8
|
import l from "./rules/cspell.js";
|
|
8
|
-
import c from "./rules/
|
|
9
|
+
import c from "./rules/importRules.js";
|
|
10
|
+
import f from "./rules/jsdoc.js";
|
|
9
11
|
import u from "./rules/stylistic.js";
|
|
10
|
-
import d from "./rules/
|
|
11
|
-
import { merge as
|
|
12
|
+
import d from "./rules/vue2.js";
|
|
13
|
+
import { merge as g, mergeAll as e } from "./main.js";
|
|
12
14
|
const o = new s({
|
|
13
15
|
baseDirectory: r(m(import.meta.url))
|
|
14
|
-
}),
|
|
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({
|
|
15
17
|
parser: "vue-eslint-parser"
|
|
16
18
|
})), {
|
|
17
19
|
languageOptions: {
|
|
@@ -28,5 +30,5 @@ const o = new s({
|
|
|
28
30
|
}
|
|
29
31
|
});
|
|
30
32
|
export {
|
|
31
|
-
|
|
33
|
+
A as default
|
|
32
34
|
};
|
|
@@ -2,16 +2,18 @@ import { dirname as r } from "node:path";
|
|
|
2
2
|
import { fileURLToPath as m } from "node:url";
|
|
3
3
|
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
4
|
import t from "eslint-plugin-jsdoc";
|
|
5
|
-
import
|
|
5
|
+
import i from "globals";
|
|
6
|
+
import { p, a as n } from "./base-Dd7loOAV.js";
|
|
6
7
|
import a from "./rules/core.js";
|
|
7
8
|
import l from "./rules/cspell.js";
|
|
8
|
-
import c from "./rules/
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
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";
|
|
12
14
|
const o = new s({
|
|
13
15
|
baseDirectory: r(m(import.meta.url))
|
|
14
|
-
}),
|
|
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({
|
|
15
17
|
parser: "vue-eslint-parser"
|
|
16
18
|
})), {
|
|
17
19
|
languageOptions: {
|
|
@@ -28,5 +30,5 @@ const o = new s({
|
|
|
28
30
|
}
|
|
29
31
|
});
|
|
30
32
|
export {
|
|
31
|
-
|
|
33
|
+
A as default
|
|
32
34
|
};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import n from "@eslint/js";
|
|
2
|
+
import a from "eslint-plugin-jsdoc";
|
|
3
|
+
import c from "eslint-plugin-vue";
|
|
4
|
+
import l from "eslint-plugin-vue-scoped-css";
|
|
5
|
+
import f from "globals";
|
|
6
|
+
import r from "typescript-eslint";
|
|
7
|
+
import { p as d, a as g } from "./base-Dd7loOAV.js";
|
|
8
|
+
import u from "./rules/core.js";
|
|
9
|
+
import b from "./rules/cspell.js";
|
|
10
|
+
import x from "./rules/importRules.js";
|
|
11
|
+
import y from "./rules/jsdoc.js";
|
|
12
|
+
import j from "./rules/stylistic.js";
|
|
13
|
+
import O from "./rules/typescript.js";
|
|
14
|
+
import P from "./rules/vue.js";
|
|
15
|
+
import { c as m } from "./compat-DfBTP0AK.js";
|
|
16
|
+
import { mergeAll as C, merge as i } from "./main.js";
|
|
17
|
+
const p = i(m.extends("airbnb-base", "airbnb-typescript/base"));
|
|
18
|
+
var o, t, s;
|
|
19
|
+
(s = (t = (o = p.languageOptions) == null ? void 0 : o.parserOptions) == null ? void 0 : t.ecmaFeatures) == null || delete s.globalReturn;
|
|
20
|
+
const G = C(r.config(
|
|
21
|
+
n.configs.recommended,
|
|
22
|
+
p,
|
|
23
|
+
...r.configs.recommended,
|
|
24
|
+
...c.configs["flat/recommended"].map((e) => (delete e.files, e)),
|
|
25
|
+
...l.configs["flat/recommended"],
|
|
26
|
+
a.configs["flat/recommended-typescript-error"],
|
|
27
|
+
i(m.extends("plugin:@cspell/recommended"), g(), u, x, b, j, y, P, O, d(), {
|
|
28
|
+
languageOptions: {
|
|
29
|
+
globals: {
|
|
30
|
+
...f.browser
|
|
31
|
+
},
|
|
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"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
})
|
|
51
|
+
));
|
|
52
|
+
export {
|
|
53
|
+
G as default
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("node:path"),t=require("node:url"),u=require("@eslint/eslintrc"),c=require("eslint-plugin-jsdoc"),i=require("globals"),s=require("./base-BQL2gY6S.cjs"),l=require("./rules/core.cjs"),d=require("./rules/cspell.cjs"),a=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),p=require("./rules/stylistic.cjs"),g=require("./rules/vue2.cjs"),e=require("./main.cjs");var n=typeof document<"u"?document.currentScript:null;const r=new u.FlatCompat({baseDirectory:o.dirname(t.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:n&&n.src||new URL("index-DLjVlGbl.cjs",document.baseURI).href))}),f=e.merge(e.mergeAll(r.extends("airbnb-base","plugin:vue/recommended","plugin:vue-scoped-css/recommended")),c.configs["flat/recommended"],e.mergeAll(r.extends("plugin:@cspell/recommended")),s.preConfig(["vue","vue-scoped-css"]),l,a,d,p,m,g,s.postConfig(),e.mergeAll(r.config({parser:"vue-eslint-parser"})),{languageOptions:{parserOptions:{sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]},globals:{...i.browser}}});exports.default=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@eslint/js"),u=require("eslint-plugin-jsdoc"),a=require("globals"),e=require("typescript-eslint"),s=require("./base-BQL2gY6S.cjs"),d=require("./rules/core.cjs"),g=require("./rules/cspell.cjs"),p=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),b=require("./rules/stylistic.cjs"),q=require("./rules/typescript.cjs"),n=require("./compat-Cy03xRn0.cjs"),r=require("./main.cjs"),i=r.merge(n.compat.extends("airbnb-base","airbnb-typescript/base"));var t,o,c;(c=(o=(t=i.languageOptions)==null?void 0:t.parserOptions)==null?void 0:o.ecmaFeatures)==null||delete c.globalReturn;const f=r.mergeAll(e.config(l.configs.recommended,i,...e.configs.recommended,...e.configs.recommendedTypeChecked,u.configs["flat/recommended-typescript-error"],r.merge(n.compat.extends("plugin:@cspell/recommended"),s.preConfig(),d,p,g,b,m,q,s.postConfig(),{languageOptions:{globals:{...a.browser}},settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}}}})));exports.default=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@eslint/js"),u=require("eslint-plugin-jsdoc"),a=require("globals"),e=require("typescript-eslint"),s=require("./base-BQL2gY6S.cjs"),p=require("./rules/core.cjs"),d=require("./rules/cspell.cjs"),g=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),b=require("./rules/stylistic.cjs"),q=require("./rules/typescript.cjs"),n=require("./compat-Cy03xRn0.cjs"),r=require("./main.cjs"),i=r.merge(n.compat.extends("airbnb-base","airbnb-typescript/base"));var t,o,c;(c=(o=(t=i.languageOptions)==null?void 0:t.parserOptions)==null?void 0:o.ecmaFeatures)==null||delete c.globalReturn;const f=r.mergeAll(e.config(l.configs.recommended,i,...e.configs.recommended,...e.configs.recommendedTypeChecked,u.configs["flat/recommended-typescript-error"],r.merge(n.compat.extends("plugin:@cspell/recommended"),s.preConfig(),p,g,d,b,m,q,s.postConfig(),{languageOptions:{globals:{...a.node}},settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}},"import/resolver":{typescript:!0,node:!0}}})));exports.default=f;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import p from "@eslint/js";
|
|
2
|
+
import c from "eslint-plugin-jsdoc";
|
|
3
|
+
import n from "globals";
|
|
4
|
+
import e from "typescript-eslint";
|
|
5
|
+
import { p as a, a as f } from "./base-Dd7loOAV.js";
|
|
6
|
+
import l from "./rules/core.js";
|
|
7
|
+
import d from "./rules/cspell.js";
|
|
8
|
+
import g from "./rules/importRules.js";
|
|
9
|
+
import b from "./rules/jsdoc.js";
|
|
10
|
+
import u from "./rules/stylistic.js";
|
|
11
|
+
import y from "./rules/typescript.js";
|
|
12
|
+
import { c as m } from "./compat-DfBTP0AK.js";
|
|
13
|
+
import { mergeAll as j, merge as s } from "./main.js";
|
|
14
|
+
const i = s(m.extends("airbnb-base", "airbnb-typescript/base"));
|
|
15
|
+
var o, r, t;
|
|
16
|
+
(t = (r = (o = i.languageOptions) == null ? void 0 : o.parserOptions) == null ? void 0 : r.ecmaFeatures) == null || delete t.globalReturn;
|
|
17
|
+
const v = j(e.config(p.configs.recommended, i, ...e.configs.recommended, ...e.configs.recommendedTypeChecked, c.configs["flat/recommended-typescript-error"], s(m.extends("plugin:@cspell/recommended"), f(), l, g, d, u, b, y, a(), {
|
|
18
|
+
languageOptions: {
|
|
19
|
+
globals: {
|
|
20
|
+
...n.browser
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
settings: {
|
|
24
|
+
jsdoc: {
|
|
25
|
+
mode: "typescript",
|
|
26
|
+
tagNamePreference: {
|
|
27
|
+
callback: "watch",
|
|
28
|
+
desc: "use"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
})));
|
|
33
|
+
export {
|
|
34
|
+
v as default
|
|
35
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { dirname as m } from "node:path";
|
|
2
|
+
import { fileURLToPath as e } from "node:url";
|
|
3
|
+
import { FlatCompat as t } from "@eslint/eslintrc";
|
|
4
|
+
import i from "eslint-plugin-jsdoc";
|
|
5
|
+
import p from "globals";
|
|
6
|
+
import { p as s, a as l } from "./base-Dd7loOAV.js";
|
|
7
|
+
import n from "./rules/core.js";
|
|
8
|
+
import a from "./rules/cspell.js";
|
|
9
|
+
import f from "./rules/importRules.js";
|
|
10
|
+
import c from "./rules/jsdoc.js";
|
|
11
|
+
import d from "./rules/stylistic.js";
|
|
12
|
+
import { merge as g, mergeAll as o } from "./main.js";
|
|
13
|
+
const r = new t({
|
|
14
|
+
baseDirectory: m(e(import.meta.url))
|
|
15
|
+
}), F = g(o(r.extends("eslint-config-airbnb-base")), i.configs["flat/recommended"], o(r.extends("plugin:@cspell/recommended")), l(), n, f, a, d, c, s(), {
|
|
16
|
+
languageOptions: {
|
|
17
|
+
globals: {
|
|
18
|
+
...p.node
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
F as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { dirname as m } from "node:path";
|
|
2
|
+
import { fileURLToPath as e } from "node:url";
|
|
3
|
+
import { FlatCompat as t } from "@eslint/eslintrc";
|
|
4
|
+
import i from "eslint-plugin-jsdoc";
|
|
5
|
+
import p from "globals";
|
|
6
|
+
import { p as s, a as l } from "./base-Dd7loOAV.js";
|
|
7
|
+
import a from "./rules/core.js";
|
|
8
|
+
import f from "./rules/cspell.js";
|
|
9
|
+
import n from "./rules/importRules.js";
|
|
10
|
+
import c from "./rules/jsdoc.js";
|
|
11
|
+
import g from "./rules/stylistic.js";
|
|
12
|
+
import { merge as d, mergeAll as o } from "./main.js";
|
|
13
|
+
const r = new t({
|
|
14
|
+
baseDirectory: m(e(import.meta.url))
|
|
15
|
+
}), F = d(o(r.extends("eslint-config-airbnb-base")), i.configs["flat/recommended"], o(r.extends("plugin:@cspell/recommended")), l(), a, n, f, g, c, s(), {
|
|
16
|
+
languageOptions: {
|
|
17
|
+
globals: {
|
|
18
|
+
...p.browser
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
export {
|
|
23
|
+
F as default
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@eslint/js"),a=require("eslint-plugin-jsdoc"),p=require("eslint-plugin-vue"),d=require("eslint-plugin-vue-scoped-css"),m=require("globals"),s=require("typescript-eslint"),t=require("./base-BQL2gY6S.cjs"),g=require("./rules/core.cjs"),b=require("./rules/cspell.cjs"),q=require("./rules/importRules.cjs"),f=require("./rules/jsdoc.cjs"),y=require("./rules/stylistic.cjs"),_=require("./rules/typescript.cjs"),j=require("./rules/vue.cjs"),i=require("./compat-Cy03xRn0.cjs"),e=require("./main.cjs"),u=e.merge(i.compat.extends("airbnb-base","airbnb-typescript/base"));var n,o,c;(c=(o=(n=u.languageOptions)==null?void 0:n.parserOptions)==null?void 0:o.ecmaFeatures)==null||delete c.globalReturn;const x=e.mergeAll(s.config(l.configs.recommended,u,...s.configs.recommended,...p.configs["flat/recommended"].map(r=>(delete r.files,r)),...d.configs["flat/recommended"],a.configs["flat/recommended-typescript-error"],e.merge(i.compat.extends("plugin:@cspell/recommended"),t.preConfig(),g,q,b,y,f,j,_,t.postConfig(),{languageOptions:{globals:{...m.browser},parserOptions:{parser:"@typescript-eslint/parser",sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]}},settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}}}})));exports.default=x;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("node:path"),s=require("node:url"),i=require("@eslint/eslintrc"),c=require("eslint-plugin-jsdoc"),u=require("globals"),r=require("./base-BQL2gY6S.cjs"),l=require("./rules/core.cjs"),d=require("./rules/cspell.cjs"),a=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),p=require("./rules/stylistic.cjs"),e=require("./main.cjs");var n=typeof document<"u"?document.currentScript:null;const t=new i.FlatCompat({baseDirectory:o.dirname(s.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:n&&n.src||new URL("index-VkwuK_gg.cjs",document.baseURI).href))}),f=e.merge(e.mergeAll(t.extends("eslint-config-airbnb-base")),c.configs["flat/recommended"],e.mergeAll(t.extends("plugin:@cspell/recommended")),r.preConfig(),l,a,d,p,m,r.postConfig(),{languageOptions:{globals:{...u.browser}}});exports.default=f;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import p from "@eslint/js";
|
|
2
|
+
import c from "eslint-plugin-jsdoc";
|
|
3
|
+
import n from "globals";
|
|
4
|
+
import e from "typescript-eslint";
|
|
5
|
+
import { p as a, a as l } from "./base-Dd7loOAV.js";
|
|
6
|
+
import d from "./rules/core.js";
|
|
7
|
+
import f from "./rules/cspell.js";
|
|
8
|
+
import g from "./rules/importRules.js";
|
|
9
|
+
import b from "./rules/jsdoc.js";
|
|
10
|
+
import u from "./rules/stylistic.js";
|
|
11
|
+
import y from "./rules/typescript.js";
|
|
12
|
+
import { c as m } from "./compat-DfBTP0AK.js";
|
|
13
|
+
import { mergeAll as j, merge as s } from "./main.js";
|
|
14
|
+
const i = s(m.extends("airbnb-base", "airbnb-typescript/base"));
|
|
15
|
+
var o, r, t;
|
|
16
|
+
(t = (r = (o = i.languageOptions) == null ? void 0 : o.parserOptions) == null ? void 0 : r.ecmaFeatures) == null || delete t.globalReturn;
|
|
17
|
+
const q = j(e.config(p.configs.recommended, i, ...e.configs.recommended, ...e.configs.recommendedTypeChecked, c.configs["flat/recommended-typescript-error"], s(m.extends("plugin:@cspell/recommended"), l(), d, g, f, u, b, y, a(), {
|
|
18
|
+
languageOptions: {
|
|
19
|
+
globals: {
|
|
20
|
+
...n.node
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
settings: {
|
|
24
|
+
jsdoc: {
|
|
25
|
+
mode: "typescript",
|
|
26
|
+
tagNamePreference: {
|
|
27
|
+
callback: "watch",
|
|
28
|
+
desc: "use"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"import/resolver": {
|
|
32
|
+
typescript: !0,
|
|
33
|
+
node: !0
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
})));
|
|
37
|
+
export {
|
|
38
|
+
q as default
|
|
39
|
+
};
|
package/dist/main.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=o=>{if(typeof o=="object"&&o!==null){if(typeof Object.getPrototypeOf=="function"){const r=Object.getPrototypeOf(o);return r===Object.prototype||r===null}return Object.prototype.toString.call(o)==="[object Object]"}return!1},n=(...o)=>o.reduce((r,t)=>{if(Array.isArray(t))throw new TypeError("Arguments provided to ts-deepmerge must be objects, not arrays.");return Object.keys(t).forEach(e=>{["__proto__","constructor","prototype"].includes(e)||(Array.isArray(r[e])&&Array.isArray(t[e])?r[e]=n.options.mergeArrays?n.options.uniqueArrayItems?Array.from(new Set(r[e].concat(t[e]))):[...r[e],...t[e]]:t[e]:c(r[e])&&c(t[e])?r[e]=n(r[e],t[e]):r[e]=t[e]===void 0?n.options.allowUndefinedOverrides?t[e]:r[e]:t[e])}),r},{}),a={allowUndefinedOverrides:!0,mergeArrays:!0,uniqueArrayItems:!0};n.options=a;n.withOptions=(o,...r)=>{n.options=Object.assign(Object.assign({},a),o);const t=n(...r);return n.options=a,t};function i(...o){return n.withOptions({mergeArrays:!1},...o)}function p(...o){return o.flat().reduce((r,t)=>i(r,t),{})}const u={async node(){return Promise.resolve().then(()=>require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=o=>{if(typeof o=="object"&&o!==null){if(typeof Object.getPrototypeOf=="function"){const r=Object.getPrototypeOf(o);return r===Object.prototype||r===null}return Object.prototype.toString.call(o)==="[object Object]"}return!1},n=(...o)=>o.reduce((r,t)=>{if(Array.isArray(t))throw new TypeError("Arguments provided to ts-deepmerge must be objects, not arrays.");return Object.keys(t).forEach(e=>{["__proto__","constructor","prototype"].includes(e)||(Array.isArray(r[e])&&Array.isArray(t[e])?r[e]=n.options.mergeArrays?n.options.uniqueArrayItems?Array.from(new Set(r[e].concat(t[e]))):[...r[e],...t[e]]:t[e]:c(r[e])&&c(t[e])?r[e]=n(r[e],t[e]):r[e]=t[e]===void 0?n.options.allowUndefinedOverrides?t[e]:r[e]:t[e])}),r},{}),a={allowUndefinedOverrides:!0,mergeArrays:!0,uniqueArrayItems:!0};n.options=a;n.withOptions=(o,...r)=>{n.options=Object.assign(Object.assign({},a),o);const t=n(...r);return n.options=a,t};function i(...o){return n.withOptions({mergeArrays:!1},...o)}function p(...o){return o.flat().reduce((r,t)=>i(r,t),{})}const u={async node(){return Promise.resolve().then(()=>require("./index-AFtKHtBi.cjs"))},async config(){return Promise.resolve().then(()=>require("./index-CAuGyIr4.cjs"))},async dom(){return Promise.resolve().then(()=>require("./index-VkwuK_gg.cjs"))},async typescript(){return Promise.resolve().then(()=>require("./index-DZtAP4df.cjs"))},async"typescript-dom"(){return Promise.resolve().then(()=>require("./index-DWtvOCvF.cjs"))},async vue3(){return Promise.resolve().then(()=>require("./index-BPS1S4-r.cjs"))},async"vue3-typescript"(){return Promise.resolve().then(()=>require("./index-KmM7HSI-.cjs"))},async vue2(){return Promise.resolve().then(()=>require("./index-DLjVlGbl.cjs"))}};async function l(o){const r=o.preset.map(async s=>typeof u[s]=="function"&&(await u[s]()).default).filter(Boolean),t=await Promise.all(r),e=i(t.reduce((s,f)=>i(s,f),{}),o.config);return e||Promise.reject(new Error("No config found"))}exports.merge=i;exports.mergeAll=p;exports.useInsider=l;
|
package/dist/main.js
CHANGED
|
@@ -32,28 +32,28 @@ function u(...e) {
|
|
|
32
32
|
}
|
|
33
33
|
const p = {
|
|
34
34
|
async node() {
|
|
35
|
-
return import("./index-
|
|
35
|
+
return import("./index-HOFGS2wX.js");
|
|
36
36
|
},
|
|
37
37
|
async config() {
|
|
38
38
|
return import("./index-CixUmpPQ.js");
|
|
39
39
|
},
|
|
40
40
|
async dom() {
|
|
41
|
-
return import("./index-
|
|
41
|
+
return import("./index-IIVQtmV1.js");
|
|
42
42
|
},
|
|
43
43
|
async typescript() {
|
|
44
|
-
return import("./index-
|
|
44
|
+
return import("./index-jZZHYSKb.js");
|
|
45
45
|
},
|
|
46
46
|
async "typescript-dom"() {
|
|
47
|
-
return import("./index-
|
|
47
|
+
return import("./index-DxssMFTY.js");
|
|
48
48
|
},
|
|
49
49
|
async vue3() {
|
|
50
|
-
return import("./index-
|
|
50
|
+
return import("./index-Bi0aTktN.js");
|
|
51
51
|
},
|
|
52
52
|
async "vue3-typescript"() {
|
|
53
|
-
return import("./index-
|
|
53
|
+
return import("./index-CDDb3mvA.js");
|
|
54
54
|
},
|
|
55
55
|
async vue2() {
|
|
56
|
-
return import("./index-
|
|
56
|
+
return import("./index-BVRhCxZ-.js");
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
async function m(e) {
|
package/dist/rules/core.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const r={rules:{"arrow-parens":"off",camelcase:["error",{allow:["^\\$_"]}],"class-methods-use-this":"off","comma-dangle":"off","consistent-return":["error"],curly:["error","all"],"dot-notation":["error"],"function-paren-newline":"off","guard-for-in":"error","handle-callback-err":["error"],indent:"off","max-len":"off","new-cap":["error"],"no-alert":["error"],"no-bitwise":["error",{allow:["~"]}],"no-caller":["error"],"no-case-declarations":["error"],"no-confusing-arrow":["error",{allowParens:!0}],"no-console":["error"],"no-debugger":["error"],"no-div-regex":["error"],"no-dupe-args":["error"],"no-dupe-keys":["error"],"no-duplicate-case":["error"],"no-else-return":["error"],"no-empty":["error"],"no-extra-bind":["error"],"no-extra-boolean-cast":"error","no-fallthrough":["error"],"no-implicit-coercion":["error",{boolean:!0,number:!0,string:!0}],"implicit-arrow-linebreak":"off","no-invalid-regexp":["error"],"no-iterator":["error"],"no-mixed-operators":"off","no-multi-spaces":"off","no-multi-str":["error"],"no-multiple-empty-lines":"off","no-native-reassign":"error","no-nested-ternary":["error"],"no-new":"off","no-new-object":["error"],"no-new-require":["error"],"no-param-reassign":["error",{props:!1}],"no-plusplus":"off","no-process-exit":["error"],"no-promise-executor-return":["error",{allowVoid:!0}],"no-return-assign":["error","except-parens"],"no-self-compare":["error"],"no-sequences":["error"],"no-shadow":["error",{allow:["state"]}],"no-undef":["error"],"no-underscore-dangle":"off","no-unexpected-multiline":["error"],"no-unreachable":["error"],"no-unused-vars":["error"],"no-use-before-define":"error","no-useless-call":["error"],"no-void":"off","no-with":["error"],"object-curly-newline":"off","object-shorthand":["error","always"],"padded-blocks":"off","padding-line-between-statements":["error",{blankLine:"always",next:"*",prev:["const","let","var","if","block-like","directive"]},{blankLine:"always",next:["const","let","var","if","directive","return","break","default","cjs-export","export"],prev:"*"},{blankLine:"any",next:["cjs-export","export"],prev:["cjs-export","export"]},{blankLine:"any",next:["const","let","var","directive"],prev:["const","let","var","directive"]},{blankLine:"never",next:["singleline-const","singleline-let","singleline-var"],prev:["singleline-const","singleline-let","singleline-var"]},{blankLine:"always",next:["multiline-block-like"],prev:["*"]},{blankLine:"always",next:["*"],prev:["multiline-block-like"]},{blankLine:"any",next:["case"],prev:["case"]},{blankLine:"any",next:["singleline-const","singleline-let","singleline-var"],prev:["cjs-import"]}],"prefer-const":["error",{destructuring:"all"}],"prefer-destructuring":["error"],radix:["error","as-needed"],semi:"off","space-before-function-paren":"off","space-in-parens":"off",strict:["error"],"use-isnan":["error"],"valid-typeof":["error"]}};module.exports=r;
|
package/dist/rules/core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const r = {
|
|
2
2
|
rules: {
|
|
3
3
|
"arrow-parens": "off",
|
|
4
4
|
camelcase: ["error", {
|
|
@@ -12,32 +12,6 @@ const e = {
|
|
|
12
12
|
"function-paren-newline": "off",
|
|
13
13
|
"guard-for-in": "error",
|
|
14
14
|
"handle-callback-err": ["error"],
|
|
15
|
-
"import/extensions": ["error", {
|
|
16
|
-
css: "always",
|
|
17
|
-
js: "never",
|
|
18
|
-
json: "always",
|
|
19
|
-
jsx: "never",
|
|
20
|
-
sass: "always",
|
|
21
|
-
scss: "always",
|
|
22
|
-
svg: "always",
|
|
23
|
-
ts: "never",
|
|
24
|
-
tsx: "never",
|
|
25
|
-
vue: "always"
|
|
26
|
-
}],
|
|
27
|
-
"import/no-cycle": "off",
|
|
28
|
-
"import/no-unresolved": "off",
|
|
29
|
-
"import/order": ["error", {
|
|
30
|
-
alphabetize: {
|
|
31
|
-
caseInsensitive: !0,
|
|
32
|
-
order: "asc"
|
|
33
|
-
},
|
|
34
|
-
groups: ["index", "builtin", "object", "type", "external", "parent", "internal", "sibling"],
|
|
35
|
-
pathGroups: [{
|
|
36
|
-
group: "internal",
|
|
37
|
-
pattern: "@/**"
|
|
38
|
-
}]
|
|
39
|
-
}],
|
|
40
|
-
"import/prefer-default-export": "off",
|
|
41
15
|
indent: "off",
|
|
42
16
|
"max-len": "off",
|
|
43
17
|
"new-cap": ["error"],
|
|
@@ -166,5 +140,5 @@ const e = {
|
|
|
166
140
|
}
|
|
167
141
|
};
|
|
168
142
|
export {
|
|
169
|
-
|
|
143
|
+
r as default
|
|
170
144
|
};
|
package/dist/rules/cspell.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const s={rules:{"@cspell/spellchecker":["error",{customWordListFile:"./cspell.json"}]}};module.exports=s;
|
package/dist/rules/cspell.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e={rules:{"import/extensions":["error",{css:"always",js:"never",json:"always",jsx:"never",sass:"always",scss:"always",svg:"always",ts:"never",tsx:"never",vue:"always"}],"import/no-cycle":"off","import/no-unresolved":"off","import/order":["error",{alphabetize:{caseInsensitive:!0,order:"asc"},groups:["index","builtin","object","type","external","parent","internal","sibling"],pathGroups:[{group:"internal",pattern:"@/**"}]}],"import/prefer-default-export":"off"}};module.exports=e;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
rules: {
|
|
3
|
+
"import/extensions": ["error", {
|
|
4
|
+
css: "always",
|
|
5
|
+
js: "never",
|
|
6
|
+
json: "always",
|
|
7
|
+
jsx: "never",
|
|
8
|
+
sass: "always",
|
|
9
|
+
scss: "always",
|
|
10
|
+
svg: "always",
|
|
11
|
+
ts: "never",
|
|
12
|
+
tsx: "never",
|
|
13
|
+
vue: "always"
|
|
14
|
+
}],
|
|
15
|
+
"import/no-cycle": "off",
|
|
16
|
+
"import/no-unresolved": "off",
|
|
17
|
+
"import/order": ["error", {
|
|
18
|
+
alphabetize: {
|
|
19
|
+
caseInsensitive: !0,
|
|
20
|
+
order: "asc"
|
|
21
|
+
},
|
|
22
|
+
groups: ["index", "builtin", "object", "type", "external", "parent", "internal", "sibling"],
|
|
23
|
+
pathGroups: [{
|
|
24
|
+
group: "internal",
|
|
25
|
+
pattern: "@/**"
|
|
26
|
+
}]
|
|
27
|
+
}],
|
|
28
|
+
"import/prefer-default-export": "off"
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
e as default
|
|
33
|
+
};
|
package/dist/rules/jsdoc.js
CHANGED
|
@@ -23,6 +23,44 @@ const e = {
|
|
|
23
23
|
"jsdoc/check-types": ["error"],
|
|
24
24
|
"jsdoc/no-multi-asterisks": ["error"],
|
|
25
25
|
"jsdoc/check-alignment": ["error"]
|
|
26
|
+
// 'jsdoc/sort-tags': ['error', {
|
|
27
|
+
// linesBetween: 1,
|
|
28
|
+
// tagSequence: [{
|
|
29
|
+
// tags: [
|
|
30
|
+
// 'description',
|
|
31
|
+
// 'deprecated',
|
|
32
|
+
// 'TODO',
|
|
33
|
+
// 'private',
|
|
34
|
+
// 'protected',
|
|
35
|
+
// 'public',
|
|
36
|
+
// 'static',
|
|
37
|
+
// 'since',
|
|
38
|
+
// 'access',
|
|
39
|
+
// 'template',
|
|
40
|
+
// 'class',
|
|
41
|
+
// 'augments',
|
|
42
|
+
// 'mixes',
|
|
43
|
+
// 'extends',
|
|
44
|
+
// 'interface',
|
|
45
|
+
// 'this',
|
|
46
|
+
// 'constructor',
|
|
47
|
+
// 'alias',
|
|
48
|
+
// 'memberof',
|
|
49
|
+
// 'see',
|
|
50
|
+
// 'link',
|
|
51
|
+
// 'global',
|
|
52
|
+
// 'fires',
|
|
53
|
+
// 'listens',
|
|
54
|
+
// 'type',
|
|
55
|
+
// 'param',
|
|
56
|
+
// 'yields',
|
|
57
|
+
// 'returns',
|
|
58
|
+
// 'lends',
|
|
59
|
+
// 'override',
|
|
60
|
+
// 'TODO',
|
|
61
|
+
// ],
|
|
62
|
+
// }],
|
|
63
|
+
// }],
|
|
26
64
|
}
|
|
27
65
|
};
|
|
28
66
|
export {
|