@useinsider/eslint-config 1.10.0-beta.2 → 1.10.0-beta.3
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-BmEpUwjI.cjs → index-2_9rBSpP.cjs} +1 -1
- package/dist/{index-Ce8VTxdD.cjs → index-B41cHtId.cjs} +1 -1
- package/dist/index-B7ziFULj.js +27 -0
- package/dist/{index-D33jOlli.cjs → index-B8X0IqOU.cjs} +1 -1
- package/dist/{index-BcXPdx1B.cjs → index-BI2IfhR3.cjs} +1 -1
- package/dist/index-BQVf1P-Y.cjs +1 -0
- package/dist/index-BdD-lO5i.cjs +1 -0
- package/dist/index-Bfy7vNWN.cjs +1 -0
- package/dist/{index-C9C56Sak.js → index-BouM73dF.js} +1 -1
- package/dist/{index-C8Fyv8dX.cjs → index-CRh3p5Gs.cjs} +1 -1
- package/dist/index-Ch7IiQIe.js +40 -0
- package/dist/index-CjRTXK0e.cjs +1 -0
- package/dist/index-CzL7XbjX.js +10 -0
- package/dist/{index-DhhGuad5.cjs → index-DEJ1oa9h.cjs} +1 -1
- package/dist/{index-Cy4JQvOe.js → index-DaCYoMI6.js} +1 -1
- package/dist/index-Dm722vxt.js +40 -0
- package/dist/{index-kDh8-AEb.js → index-DqwajayA.js} +1 -1
- package/dist/{index-C__itRdP.js → index-QCaWMEMK.js} +1 -1
- package/dist/index-VIzBYZzv.js +27 -0
- package/dist/index-_FfUOn5J.js +27 -0
- package/dist/main.cjs +1 -1
- package/dist/main.js +10 -10
- package/dist/stylistic-BGCob372.cjs +1 -0
- package/dist/{stylistic-DSE4g5OV.js → stylistic-DcItXUA4.js} +85 -86
- package/package.json +1 -1
- package/dist/index-5XpuN8zJ.js +0 -36
- package/dist/index-AoIfKLih.cjs +0 -1
- package/dist/index-BbY-DzQZ.js +0 -23
- package/dist/index-BfVokhiU.js +0 -50
- package/dist/index-C2ejyG13.js +0 -43
- package/dist/index-Chj1r0fO.cjs +0 -1
- package/dist/index-CluTLBWw.cjs +0 -1
- package/dist/index-DEn6q6Nn.cjs +0 -1
- package/dist/index-PPmRJNMx.js +0 -50
- package/dist/index-uJNHwtXG.js +0 -43
- package/dist/stylistic-D3KEBmIv.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),r=require("./main.cjs"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),r=require("./main.cjs"),t=require("./index-BI2IfhR3.cjs"),o=r.merge(t.default,{languageOptions:{globals:{...e.browser}}});exports.default=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),r=require("./main.cjs"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),r=require("./main.cjs"),t=require("./index-Bfy7vNWN.cjs"),o=r.merge(t.default,{languageOptions:{globals:{...e.browser}}});exports.default=o;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import e from "@stylistic/eslint-plugin";
|
|
2
|
+
import r from "eslint-config-airbnb-extended";
|
|
3
|
+
import { importX as s } from "eslint-plugin-import-x";
|
|
4
|
+
import i from "eslint-plugin-jsdoc";
|
|
5
|
+
import m from "eslint-plugin-vue";
|
|
6
|
+
import t from "eslint-plugin-vue-scoped-css";
|
|
7
|
+
import l from "globals";
|
|
8
|
+
import { b as n, s as a, a as p, i as f, c, p as g } from "./stylistic-DcItXUA4.js";
|
|
9
|
+
import { v as u } from "./vue-5XWMLJUh.js";
|
|
10
|
+
import { merge as d, mergeAll as o } from "./main.js";
|
|
11
|
+
const R = d(o(m.configs["flat/recommended"], t.configs["flat/recommended"]), s.flatConfigs.recommended, o(r.configs.base.recommended), i.configs["flat/recommended"], g(), c, f, p, { plugins: { "@stylistic": e } }, a, u, n(), {
|
|
12
|
+
languageOptions: {
|
|
13
|
+
parserOptions: {
|
|
14
|
+
sourceType: "module",
|
|
15
|
+
ecmaFeatures: {
|
|
16
|
+
jsx: !0
|
|
17
|
+
},
|
|
18
|
+
extraFileExtensions: [".vue"]
|
|
19
|
+
},
|
|
20
|
+
globals: {
|
|
21
|
+
...l.browser
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
R as default
|
|
27
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@stylistic/eslint-plugin"),i=require("eslint-config-airbnb-extended"),o=require("eslint-plugin-import-x"),t=require("eslint-plugin-jsdoc"),n=require("eslint-plugin-vue"),l=require("eslint-plugin-vue-scoped-css"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@stylistic/eslint-plugin"),i=require("eslint-config-airbnb-extended"),o=require("eslint-plugin-import-x"),t=require("eslint-plugin-jsdoc"),n=require("eslint-plugin-vue"),l=require("eslint-plugin-vue-scoped-css"),u=require("globals"),e=require("./stylistic-BGCob372.cjs"),c=require("./vue2-CpDCkxcX.cjs"),s=require("./main.cjs"),g=s.merge(s.mergeAll(n.configs["flat/vue2-recommended"],l.configs["flat/vue2-recommended"]),o.importX.flatConfigs.recommended,s.mergeAll(i.configs.base.recommended),t.configs["flat/recommended"],e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":r}},e.stylisticRules,c.vue2Options,e.postConfig(),{languageOptions:{parserOptions:{sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]},globals:{...u.browser}}});exports.default=g;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@eslint/js"),c=require("@stylistic/eslint-plugin"),o=require("eslint-config-airbnb-extended"),n=require("eslint-plugin-import-x"),l=require("eslint-plugin-jsdoc"),t=require("typescript-eslint"),e=require("./stylistic-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@eslint/js"),c=require("@stylistic/eslint-plugin"),o=require("eslint-config-airbnb-extended"),n=require("eslint-plugin-import-x"),l=require("eslint-plugin-jsdoc"),t=require("typescript-eslint"),e=require("./stylistic-BGCob372.cjs"),p=require("./typescript-BvnP4VCM.cjs"),r=require("./main.cjs"),u=r.mergeAll(t.config(i.configs.recommended,n.importX.flatConfigs.recommended,o.configs.base.all,...t.configs.recommended,...t.configs.recommendedTypeChecked.filter(s=>!s.plugins),l.configs["flat/recommended-typescript-error"],r.merge(e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":c}},e.stylisticRules,p.typescript,e.postConfig(),{settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}},"import/resolver":{typescript:!0,node:!0}}})));exports.default=u;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@eslint/js"),o=require("@stylistic/eslint-plugin"),n=require("eslint-config-airbnb-extended"),c=require("eslint-plugin-import-x"),l=require("eslint-plugin-jsdoc"),u=require("eslint-plugin-vue"),a=require("eslint-plugin-vue-scoped-css"),p=require("globals"),s=require("typescript-eslint"),e=require("./stylistic-BGCob372.cjs"),d=require("./typescript-BvnP4VCM.cjs"),g=require("./vue-D2lo_IGG.cjs"),t=require("./main.cjs"),m=t.mergeAll(s.config(i.configs.recommended,c.importX.flatConfigs.recommended,n.configs.base.all,...s.configs.recommended,...s.configs.recommendedTypeChecked.filter(r=>!r.plugins),...u.configs["flat/recommended"].map(r=>(delete r.files,r)),...a.configs["flat/recommended"],l.configs["flat/recommended-typescript-error"],t.merge(e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":o}},e.stylisticRules,g.vue,d.typescript,e.postConfig(),{languageOptions:{globals:{...p.browser},parserOptions:{parser:s.parser,sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]}},settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}}}})));exports.default=m;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@eslint/js"),o=require("@stylistic/eslint-plugin"),n=require("eslint-config-airbnb-extended"),c=require("eslint-plugin-import-x"),l=require("eslint-plugin-jsdoc"),u=require("eslint-plugin-vue"),p=require("eslint-plugin-vue-scoped-css"),a=require("globals"),s=require("typescript-eslint"),e=require("./stylistic-BGCob372.cjs"),m=require("./typescript-BvnP4VCM.cjs"),d=require("./vue2-CpDCkxcX.cjs"),t=require("./main.cjs"),g=t.mergeAll(s.config(i.configs.recommended,c.importX.flatConfigs.recommended,n.configs.base.all,...s.configs.recommended,...s.configs.recommendedTypeChecked.filter(r=>!r.plugins),...u.configs["flat/vue2-recommended"].map(r=>(delete r.files,r)),...p.configs["flat/vue2-recommended"],l.configs["flat/recommended-typescript-error"],t.merge(e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":o}},e.stylisticRules,d.vue2Composition,m.typescript,e.postConfig(),{languageOptions:{globals:{...a.browser},parserOptions:{parser:s.parser,sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]}},settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}}}})));exports.default=g;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@stylistic/eslint-plugin"),s=require("eslint-config-airbnb-extended"),r=require("eslint-plugin-import-x"),o=require("eslint-plugin-jsdoc"),e=require("./stylistic-BGCob372.cjs"),i=require("./main.cjs"),n=i.merge(r.importX.flatConfigs.recommended,i.mergeAll(s.configs.base.recommended),o.configs["flat/recommended"],e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":t}},e.stylisticRules,e.postConfig());exports.default=n;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),t=require("./main.cjs"),n=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),t=require("./main.cjs"),n=require("./index-Bfy7vNWN.cjs"),o=t.merge(n.default,{languageOptions:{globals:{...e.node}}});exports.default=o;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import r from "@eslint/js";
|
|
2
|
+
import s from "@stylistic/eslint-plugin";
|
|
3
|
+
import i from "eslint-config-airbnb-extended";
|
|
4
|
+
import { importX as t } from "eslint-plugin-import-x";
|
|
5
|
+
import m from "eslint-plugin-jsdoc";
|
|
6
|
+
import p from "eslint-plugin-vue";
|
|
7
|
+
import a from "eslint-plugin-vue-scoped-css";
|
|
8
|
+
import c from "globals";
|
|
9
|
+
import o from "typescript-eslint";
|
|
10
|
+
import { b as n, s as l, a as f, i as d, c as g, p as u } from "./stylistic-DcItXUA4.js";
|
|
11
|
+
import { t as b } from "./typescript-Dg4zKuYI.js";
|
|
12
|
+
import { a as y } from "./vue2-7aDd9M-9.js";
|
|
13
|
+
import { mergeAll as C, merge as x } from "./main.js";
|
|
14
|
+
const E = C(o.config(r.configs.recommended, t.flatConfigs.recommended, i.configs.base.all, ...o.configs.recommended, ...o.configs.recommendedTypeChecked.filter((e) => !e.plugins), ...p.configs["flat/vue2-recommended"].map((e) => (delete e.files, e)), ...a.configs["flat/vue2-recommended"], m.configs["flat/recommended-typescript-error"], x(u(), g, d, f, { plugins: { "@stylistic": s } }, l, y, b, n(), {
|
|
15
|
+
languageOptions: {
|
|
16
|
+
globals: {
|
|
17
|
+
...c.browser
|
|
18
|
+
},
|
|
19
|
+
parserOptions: {
|
|
20
|
+
parser: o.parser,
|
|
21
|
+
sourceType: "module",
|
|
22
|
+
ecmaFeatures: {
|
|
23
|
+
jsx: !0
|
|
24
|
+
},
|
|
25
|
+
extraFileExtensions: [".vue"]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
settings: {
|
|
29
|
+
jsdoc: {
|
|
30
|
+
mode: "typescript",
|
|
31
|
+
tagNamePreference: {
|
|
32
|
+
callback: "watch",
|
|
33
|
+
desc: "use"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
})));
|
|
38
|
+
export {
|
|
39
|
+
E as default
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("@stylistic/eslint-plugin"),i=require("eslint-config-airbnb-extended"),o=require("eslint-plugin-import-x"),t=require("eslint-plugin-jsdoc"),n=require("eslint-plugin-vue"),l=require("eslint-plugin-vue-scoped-css"),c=require("globals"),e=require("./stylistic-BGCob372.cjs"),u=require("./vue-D2lo_IGG.cjs"),r=require("./main.cjs"),g=r.merge(r.mergeAll(n.configs["flat/recommended"],l.configs["flat/recommended"]),o.importX.flatConfigs.recommended,r.mergeAll(i.configs.base.recommended),t.configs["flat/recommended"],e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":s}},e.stylisticRules,u.vue,e.postConfig(),{languageOptions:{parserOptions:{sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]},globals:{...c.browser}}});exports.default=g;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import o from "@stylistic/eslint-plugin";
|
|
2
|
+
import s from "eslint-config-airbnb-extended";
|
|
3
|
+
import { importX as i } from "eslint-plugin-import-x";
|
|
4
|
+
import r from "eslint-plugin-jsdoc";
|
|
5
|
+
import { p as m, c as e, i as t, a, s as p, b as c } from "./stylistic-DcItXUA4.js";
|
|
6
|
+
import { merge as f, mergeAll as l } from "./main.js";
|
|
7
|
+
const C = f(i.flatConfigs.recommended, l(s.configs.base.recommended), r.configs["flat/recommended"], m(), e, t, a, { plugins: { "@stylistic": o } }, p, c());
|
|
8
|
+
export {
|
|
9
|
+
C as default
|
|
10
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),o=require("./main.cjs"),t=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),o=require("./main.cjs"),t=require("./index-BI2IfhR3.cjs"),n=o.merge(t.default,{languageOptions:{globals:{...e.node}}});exports.default=n;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import o from "@eslint/js";
|
|
2
|
+
import s from "@stylistic/eslint-plugin";
|
|
3
|
+
import t from "eslint-config-airbnb-extended";
|
|
4
|
+
import { importX as i } from "eslint-plugin-import-x";
|
|
5
|
+
import m from "eslint-plugin-jsdoc";
|
|
6
|
+
import p from "eslint-plugin-vue";
|
|
7
|
+
import c from "eslint-plugin-vue-scoped-css";
|
|
8
|
+
import a from "globals";
|
|
9
|
+
import r from "typescript-eslint";
|
|
10
|
+
import { b as l, s as n, a as f, i as d, c as g, p as u } from "./stylistic-DcItXUA4.js";
|
|
11
|
+
import { t as b } from "./typescript-Dg4zKuYI.js";
|
|
12
|
+
import { v as y } from "./vue-5XWMLJUh.js";
|
|
13
|
+
import { mergeAll as x, merge as C } from "./main.js";
|
|
14
|
+
const E = x(r.config(o.configs.recommended, i.flatConfigs.recommended, t.configs.base.all, ...r.configs.recommended, ...r.configs.recommendedTypeChecked.filter((e) => !e.plugins), ...p.configs["flat/recommended"].map((e) => (delete e.files, e)), ...c.configs["flat/recommended"], m.configs["flat/recommended-typescript-error"], C(u(), g, d, f, { plugins: { "@stylistic": s } }, n, y, b, l(), {
|
|
15
|
+
languageOptions: {
|
|
16
|
+
globals: {
|
|
17
|
+
...a.browser
|
|
18
|
+
},
|
|
19
|
+
parserOptions: {
|
|
20
|
+
parser: r.parser,
|
|
21
|
+
sourceType: "module",
|
|
22
|
+
ecmaFeatures: {
|
|
23
|
+
jsx: !0
|
|
24
|
+
},
|
|
25
|
+
extraFileExtensions: [".vue"]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
settings: {
|
|
29
|
+
jsdoc: {
|
|
30
|
+
mode: "typescript",
|
|
31
|
+
tagNamePreference: {
|
|
32
|
+
callback: "watch",
|
|
33
|
+
desc: "use"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
})));
|
|
38
|
+
export {
|
|
39
|
+
E as default
|
|
40
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import o from "@stylistic/eslint-plugin";
|
|
2
|
+
import r from "eslint-config-airbnb-extended";
|
|
3
|
+
import { importX as s } from "eslint-plugin-import-x";
|
|
4
|
+
import i from "eslint-plugin-jsdoc";
|
|
5
|
+
import m from "eslint-plugin-vue";
|
|
6
|
+
import t from "eslint-plugin-vue-scoped-css";
|
|
7
|
+
import l from "globals";
|
|
8
|
+
import { b as n, s as p, a, i as f, c, p as u } from "./stylistic-DcItXUA4.js";
|
|
9
|
+
import { v as g } from "./vue2-7aDd9M-9.js";
|
|
10
|
+
import { merge as d, mergeAll as e } from "./main.js";
|
|
11
|
+
const R = d(e(m.configs["flat/vue2-recommended"], t.configs["flat/vue2-recommended"]), s.flatConfigs.recommended, e(r.configs.base.recommended), i.configs["flat/recommended"], u(), c, f, a, { plugins: { "@stylistic": o } }, p, g, n(), {
|
|
12
|
+
languageOptions: {
|
|
13
|
+
parserOptions: {
|
|
14
|
+
sourceType: "module",
|
|
15
|
+
ecmaFeatures: {
|
|
16
|
+
jsx: !0
|
|
17
|
+
},
|
|
18
|
+
extraFileExtensions: [".vue"]
|
|
19
|
+
},
|
|
20
|
+
globals: {
|
|
21
|
+
...l.browser
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
export {
|
|
26
|
+
R as default
|
|
27
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import o from "@eslint/js";
|
|
2
|
+
import s from "@stylistic/eslint-plugin";
|
|
3
|
+
import t from "eslint-config-airbnb-extended";
|
|
4
|
+
import { importX as i } from "eslint-plugin-import-x";
|
|
5
|
+
import m from "eslint-plugin-jsdoc";
|
|
6
|
+
import e from "typescript-eslint";
|
|
7
|
+
import { p as c, c as p, i as f, a as n, s as l, b as a } from "./stylistic-DcItXUA4.js";
|
|
8
|
+
import { t as d } from "./typescript-Dg4zKuYI.js";
|
|
9
|
+
import { mergeAll as g, merge as u } from "./main.js";
|
|
10
|
+
const w = g(e.config(o.configs.recommended, i.flatConfigs.recommended, t.configs.base.all, ...e.configs.recommended, ...e.configs.recommendedTypeChecked.filter((r) => !r.plugins), m.configs["flat/recommended-typescript-error"], u(c(), p, f, n, { plugins: { "@stylistic": s } }, l, d, a(), {
|
|
11
|
+
settings: {
|
|
12
|
+
jsdoc: {
|
|
13
|
+
mode: "typescript",
|
|
14
|
+
tagNamePreference: {
|
|
15
|
+
callback: "watch",
|
|
16
|
+
desc: "use"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"import/resolver": {
|
|
20
|
+
typescript: !0,
|
|
21
|
+
node: !0
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
})));
|
|
25
|
+
export {
|
|
26
|
+
w as default
|
|
27
|
+
};
|
package/dist/main.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("node:fs"),y=require("node:path"),w=require("node:url"),h=require("@antfu/install-pkg"),b=require("ts-deepmerge"),v=require("node:console");var l=typeof document<"u"?document.currentScript:null;let u=!1;const d=new Set,R=["@cspell/eslint-plugin","@eslint/eslintrc","@eslint/js","@stylistic/eslint-plugin","@types/eslint","@typescript-eslint/eslint-plugin","@typescript-eslint/parser","eslint","eslint-config-airbnb-base","eslint-config-airbnb-typescript","eslint-import-resolver-typescript","eslint-plugin-import","eslint-plugin-jsdoc","globals","typescript","typescript-eslint"];function p(e){const r=y.resolve(e,"package.json"),s=m.readFileSync(r,"utf8");if(!s)throw new Error(`Unable to locate package.json: ${r}`);return JSON.parse(s)}function S(){const e=p(process.cwd());return{...e.dependencies,...e.devDependencies}}function q(){return p(w.fileURLToPath(new URL("../",typeof document>"u"?require("url").pathToFileURL(__filename).href:l&&l.tagName.toUpperCase()==="SCRIPT"&&l.src||new URL("main.cjs",document.baseURI).href))).dependencies}async function P(){if(u)return;const e=S(),s=Object.entries(q()).filter(([n,t])=>R.includes(n)&&!d.has(n)&&(!e[n]||e[n]!==t));if(!s.length)return;const i=s.map(([n,t])=>`${n}@${t.replace(/^\W+/,"")}`);console.info("Missing dependencies detected:"),console.info(i.map(n=>` - ${n}`).join(`
|
|
2
2
|
`)),console.info(`
|
|
3
|
-
Installing dependencies:`),await h.installPackage(i,{dev:!0,additionalArgs:["-E"]}),process.exit(1)}function k(e){if(typeof e=="boolean"){u=e;return}e.forEach(r=>d.add(String(r)))}function o(...e){return b.merge.withOptions({mergeArrays:!1},...e)}const f=new Set;function x(e){e.forEach(r=>{f.add(r)})}function j(e){if(!Array.isArray(e))return"warn";const[,...r]=e;return["warn",...r]}function c(e,r){let s=r||f;return Array.isArray(s)&&(s=new Set(s)),!e||!s.size?e:(r&&s.forEach(i=>{e[i]||v.warn(`Unknown rule "${i}". Please remove it from the silenced rules list.`)}),Object.entries(e).reduce((i,[n,t])=>(t&&(i[n]=s.has(n)?j(t):t),i),{}))}function C(...e){return e.flat().reduce((r,s)=>o(r,s),{})}const a={async config(){return Promise.resolve().then(()=>require("./index-BmBugWe4.cjs"))},async javascript(){return Promise.resolve().then(()=>require("./index-
|
|
3
|
+
Installing dependencies:`),await h.installPackage(i,{dev:!0,additionalArgs:["-E"]}),process.exit(1)}function k(e){if(typeof e=="boolean"){u=e;return}e.forEach(r=>d.add(String(r)))}function o(...e){return b.merge.withOptions({mergeArrays:!1},...e)}const f=new Set;function x(e){e.forEach(r=>{f.add(r)})}function j(e){if(!Array.isArray(e))return"warn";const[,...r]=e;return["warn",...r]}function c(e,r){let s=r||f;return Array.isArray(s)&&(s=new Set(s)),!e||!s.size?e:(r&&s.forEach(i=>{e[i]||v.warn(`Unknown rule "${i}". Please remove it from the silenced rules list.`)}),Object.entries(e).reduce((i,[n,t])=>(t&&(i[n]=s.has(n)?j(t):t),i),{}))}function C(...e){return e.flat().reduce((r,s)=>o(r,s),{})}const a={async config(){return Promise.resolve().then(()=>require("./index-BmBugWe4.cjs"))},async javascript(){return Promise.resolve().then(()=>require("./index-Bfy7vNWN.cjs"))},async"javascript-node"(){return Promise.resolve().then(()=>require("./index-CRh3p5Gs.cjs"))},async"javascript-dom"(){return Promise.resolve().then(()=>require("./index-B41cHtId.cjs"))},async typescript(){return Promise.resolve().then(()=>require("./index-BI2IfhR3.cjs"))},async"typescript-node"(){return Promise.resolve().then(()=>require("./index-DEJ1oa9h.cjs"))},async"typescript-dom"(){return Promise.resolve().then(()=>require("./index-2_9rBSpP.cjs"))},async vue3(){return Promise.resolve().then(()=>require("./index-CjRTXK0e.cjs"))},async"vue3-typescript"(){return Promise.resolve().then(()=>require("./index-BQVf1P-Y.cjs"))},async vue2(){return Promise.resolve().then(()=>require("./index-B8X0IqOU.cjs"))},async"vue2-typescript"(){return Promise.resolve().then(()=>require("./index-BdD-lO5i.cjs"))},async jest(){return Promise.resolve().then(()=>require("./index-jfME37P0.cjs"))},async"jsdoc-based-ts"(){return Promise.resolve().then(()=>require("./index-B7Hdni5X.cjs"))}};async function D(e){await P();const r=e.preset.map(async t=>typeof a[t]=="function"&&(await a[t]()).default).filter(Boolean),i=(await Promise.all(r)).reduce((t,g)=>o(t,g),{});delete i.files;const n=o(i,e.config);return n?(e.silenceRules?n.rules=c(n.rules,e.silenceRules):n.rules=c(n.rules),n):Promise.reject(new Error("No config found"))}exports.merge=o;exports.mergeAll=C;exports.silenceDependencyWarning=k;exports.silenceRules=x;exports.useInsider=D;
|
package/dist/main.js
CHANGED
|
@@ -163,34 +163,34 @@ const p = {
|
|
|
163
163
|
return import("./index-C2p6z9H4.js");
|
|
164
164
|
},
|
|
165
165
|
async javascript() {
|
|
166
|
-
return import("./index-
|
|
166
|
+
return import("./index-CzL7XbjX.js");
|
|
167
167
|
},
|
|
168
168
|
async "javascript-node"() {
|
|
169
|
-
return import("./index-
|
|
169
|
+
return import("./index-QCaWMEMK.js");
|
|
170
170
|
},
|
|
171
171
|
async "javascript-dom"() {
|
|
172
|
-
return import("./index-
|
|
172
|
+
return import("./index-BouM73dF.js");
|
|
173
173
|
},
|
|
174
174
|
async typescript() {
|
|
175
|
-
return import("./index-
|
|
175
|
+
return import("./index-_FfUOn5J.js");
|
|
176
176
|
},
|
|
177
177
|
async "typescript-node"() {
|
|
178
|
-
return import("./index-
|
|
178
|
+
return import("./index-DaCYoMI6.js");
|
|
179
179
|
},
|
|
180
180
|
async "typescript-dom"() {
|
|
181
|
-
return import("./index-
|
|
181
|
+
return import("./index-DqwajayA.js");
|
|
182
182
|
},
|
|
183
183
|
async vue3() {
|
|
184
|
-
return import("./index-
|
|
184
|
+
return import("./index-B7ziFULj.js");
|
|
185
185
|
},
|
|
186
186
|
async "vue3-typescript"() {
|
|
187
|
-
return import("./index-
|
|
187
|
+
return import("./index-Dm722vxt.js");
|
|
188
188
|
},
|
|
189
189
|
async vue2() {
|
|
190
|
-
return import("./index-
|
|
190
|
+
return import("./index-VIzBYZzv.js");
|
|
191
191
|
},
|
|
192
192
|
async "vue2-typescript"() {
|
|
193
|
-
return import("./index-
|
|
193
|
+
return import("./index-Ch7IiQIe.js");
|
|
194
194
|
},
|
|
195
195
|
async jest() {
|
|
196
196
|
return import("./index-CG7O0RJO.js");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("node:path"),t=require("node:url"),n=require("@cspell/eslint-plugin/recommended"),i=require("@eslint/eslintrc"),a=require("@eslint/js"),r=require("./main.cjs");var e=typeof document<"u"?document.currentScript:null;const l={rules:{"jsdoc/check-param-names":["error"],"jsdoc/check-tag-names":["error"],"jsdoc/no-undefined-types":"off","jsdoc/require-param":["error",{enableRestElementFixer:!1,enableRootFixer:!1}],"jsdoc/require-jsdoc":["off"],"jsdoc/require-param-description":"off","jsdoc/require-param-type":["error"],"jsdoc/require-property-description":"off","jsdoc/require-returns":["error",{contexts:["TSInterfaceDeclaration","TSMethodSignature"],forceRequireReturn:!0,exemptedBy:["inheritdoc","watch"]}],"jsdoc/require-returns-check":["error"],"jsdoc/require-returns-description":"off","jsdoc/tag-lines":["error"],"jsdoc/valid-types":"off","jsdoc/check-types":["error"],"jsdoc/no-multi-asterisks":["error"],"jsdoc/check-alignment":["error"],"jsdoc/sort-tags":["error",{linesBetween:1,tagSequence:[{tags:["todo","description","deprecated","namespace","private","protected","public","static","readonly","since","access","template","typedef","class","augments","mixes","extends","interface","this","constructor","alias","memberof","example","use","see","link","global","fires","listens","type","param","property","yields","returns","lends","override","todo"]}]}]}},c=new i.FlatCompat({baseDirectory:o.dirname(t.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:e&&e.tagName.toUpperCase()==="SCRIPT"&&e.src||new URL("stylistic-BGCob372.cjs",document.baseURI).href))});function p(s=[]){return r.merge(a.configs.recommended,n,s&&r.mergeAll(c.plugins(...s)))}function u(){return r.merge(l,{languageOptions:{ecmaVersion:2022,parserOptions:{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"}})}const d={"no-spaced-func":"off"},f={rules:{...d,"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","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","never"],"use-isnan":["error"],"valid-typeof":["error"],"no-trailing-spaces":"off"}},y={rules:{"@cspell/spellchecker":["error",{customWordListFile:"./cspell.json"}]}},m={rules:{"import-x/extensions":["error",{css:"always",js:"never",json:"always",jsx:"never",sass:"always",scss:"always",svg:"always",ts:"never",tsx:"never",vue:"always"}],"import-x/no-cycle":"off","import-x/no-unresolved":"off","import-x/order":["error",{alphabetize:{caseInsensitive:!0,order:"asc"},groups:["index","builtin","object","type","external","parent","internal","sibling"],pathGroups:[{group:"internal",pattern:"@/**"}]}],"import-x/prefer-default-export":"off"}},g={rules:{"@stylistic/array-bracket-newline":["error","consistent"],"@stylistic/array-bracket-spacing":["error","never"],"@stylistic/array-element-newline":["error","consistent"],"@stylistic/arrow-parens":["error","as-needed"],"@stylistic/arrow-spacing":["error"],"@stylistic/brace-style":["error","1tbs"],"@stylistic/comma-dangle":["error",{arrays:"always-multiline",exports:"always-multiline",functions:"never",imports:"always-multiline",objects:"always-multiline",enums:"always-multiline",generics:"always-multiline",tuples:"always-multiline"}],"@stylistic/comma-spacing":["error"],"@stylistic/computed-property-spacing":["error"],"@stylistic/dot-location":["error","property"],"@stylistic/eol-last":["error","always"],"@stylistic/function-call-argument-newline":["error","consistent"],"@stylistic/function-call-spacing":["error","never"],"@stylistic/function-paren-newline":["error","consistent"],"@stylistic/implicit-arrow-linebreak":["error","beside"],"@stylistic/indent":["error",4,{SwitchCase:1,ignoredNodes:["PropertyDefinition[decorators]","TSUnionType"]}],"@stylistic/key-spacing":["error"],"@stylistic/keyword-spacing":["error"],"@stylistic/linebreak-style":["error","unix"],"@stylistic/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0}],"@stylistic/max-len":["error",120,{ignoreComments:!0,ignoreRegExpLiterals:!0,ignoreTrailingComments:!0,ignoreUrls:!0}],"@stylistic/max-statements-per-line":["error",{max:2}],"@stylistic/member-delimiter-style":["error",{multiline:{requireLast:!0},singleline:{requireLast:!1}}],"@stylistic/multiline-ternary":["error","always-multiline"],"@stylistic/new-parens":["error","always"],"@stylistic/no-extra-parens":["error","all",{allowParensAfterCommentPattern:"@type|@satisfies",enforceForArrowConditionals:!1,nestedBinaryExpressions:!1,returnAssign:!1}],"@stylistic/no-extra-semi":["error"],"@stylistic/no-floating-decimal":"error","@stylistic/no-mixed-operators":["error",{allowSamePrecedence:!0,groups:[["&","|","^","~","<<",">>",">>>"],["==","!=","===","!==",">",">=","<","<="],["&&","||"],["in","instanceof"]]}],"@stylistic/no-mixed-spaces-and-tabs":["error"],"@stylistic/no-multi-spaces":["error"],"@stylistic/no-multiple-empty-lines":["error",{max:1,maxEOF:0,maxBOF:0}],"@stylistic/no-trailing-spaces":["error"],"@stylistic/no-whitespace-before-property":["error"],"@stylistic/object-curly-newline":["error",{consistent:!0}],"@stylistic/object-curly-spacing":["error","always"],"@stylistic/padded-blocks":["error","never"],"@stylistic/quote-props":["error","as-needed"],"@stylistic/quotes":["error","single",{avoidEscape:!0}],"@stylistic/rest-spread-spacing":["error","never"],"@stylistic/semi":["error"],"@stylistic/semi-spacing":["error",{after:!0,before:!1}],"@stylistic/semi-style":["error","last"],"@stylistic/space-before-blocks":["error"],"@stylistic/space-before-function-paren":["error",{anonymous:"always",named:"always"}],"@stylistic/space-in-parens":["error","never"],"@stylistic/space-infix-ops":["error"],"@stylistic/spaced-comment":["error","always",{markers:["/"]}],"@stylistic/template-curly-spacing":["error","never"],"@stylistic/template-tag-spacing":["error","never"],"@stylistic/type-annotation-spacing":["error"],"@stylistic/type-generic-spacing":["error"],"@stylistic/padding-line-between-statements":["error",{blankLine:"always",next:"*",prev:["const","let","var","if","block-like","directive"]},{blankLine:"always",next:["const","let","var","if","while","directive","throw","return","break","default","cjs-export","export","continue","iife"],prev:"*"},{blankLine:"always",prev:["*"],next:["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"]}]}};exports.core=f;exports.cspell=y;exports.importRules=m;exports.postConfig=u;exports.preConfig=p;exports.stylisticRules=g;
|
|
@@ -4,14 +4,84 @@ import t from "@cspell/eslint-plugin/recommended";
|
|
|
4
4
|
import { FlatCompat as n } from "@eslint/eslintrc";
|
|
5
5
|
import i from "@eslint/js";
|
|
6
6
|
import { merge as r, mergeAll as a } from "./main.js";
|
|
7
|
-
const l =
|
|
7
|
+
const l = {
|
|
8
|
+
rules: {
|
|
9
|
+
"jsdoc/check-param-names": ["error"],
|
|
10
|
+
"jsdoc/check-tag-names": ["error"],
|
|
11
|
+
"jsdoc/no-undefined-types": "off",
|
|
12
|
+
"jsdoc/require-param": ["error", {
|
|
13
|
+
enableRestElementFixer: !1,
|
|
14
|
+
enableRootFixer: !1
|
|
15
|
+
}],
|
|
16
|
+
"jsdoc/require-jsdoc": ["off"],
|
|
17
|
+
"jsdoc/require-param-description": "off",
|
|
18
|
+
"jsdoc/require-param-type": ["error"],
|
|
19
|
+
"jsdoc/require-property-description": "off",
|
|
20
|
+
"jsdoc/require-returns": ["error", {
|
|
21
|
+
contexts: ["TSInterfaceDeclaration", "TSMethodSignature"],
|
|
22
|
+
forceRequireReturn: !0,
|
|
23
|
+
exemptedBy: ["inheritdoc", "watch"]
|
|
24
|
+
}],
|
|
25
|
+
"jsdoc/require-returns-check": ["error"],
|
|
26
|
+
"jsdoc/require-returns-description": "off",
|
|
27
|
+
"jsdoc/tag-lines": ["error"],
|
|
28
|
+
"jsdoc/valid-types": "off",
|
|
29
|
+
"jsdoc/check-types": ["error"],
|
|
30
|
+
"jsdoc/no-multi-asterisks": ["error"],
|
|
31
|
+
"jsdoc/check-alignment": ["error"],
|
|
32
|
+
"jsdoc/sort-tags": ["error", {
|
|
33
|
+
linesBetween: 1,
|
|
34
|
+
tagSequence: [{
|
|
35
|
+
tags: [
|
|
36
|
+
"todo",
|
|
37
|
+
"description",
|
|
38
|
+
"deprecated",
|
|
39
|
+
"namespace",
|
|
40
|
+
"private",
|
|
41
|
+
"protected",
|
|
42
|
+
"public",
|
|
43
|
+
"static",
|
|
44
|
+
"readonly",
|
|
45
|
+
"since",
|
|
46
|
+
"access",
|
|
47
|
+
"template",
|
|
48
|
+
"typedef",
|
|
49
|
+
"class",
|
|
50
|
+
"augments",
|
|
51
|
+
"mixes",
|
|
52
|
+
"extends",
|
|
53
|
+
"interface",
|
|
54
|
+
"this",
|
|
55
|
+
"constructor",
|
|
56
|
+
"alias",
|
|
57
|
+
"memberof",
|
|
58
|
+
"example",
|
|
59
|
+
"use",
|
|
60
|
+
"see",
|
|
61
|
+
"link",
|
|
62
|
+
"global",
|
|
63
|
+
"fires",
|
|
64
|
+
"listens",
|
|
65
|
+
"type",
|
|
66
|
+
"param",
|
|
67
|
+
"property",
|
|
68
|
+
"yields",
|
|
69
|
+
"returns",
|
|
70
|
+
"lends",
|
|
71
|
+
"override",
|
|
72
|
+
"todo"
|
|
73
|
+
]
|
|
74
|
+
}]
|
|
75
|
+
}]
|
|
76
|
+
}
|
|
77
|
+
}, c = new n({
|
|
8
78
|
baseDirectory: s(o(import.meta.url))
|
|
9
79
|
});
|
|
10
|
-
function
|
|
11
|
-
return r(i.configs.recommended, t, e && a(
|
|
80
|
+
function w(e = []) {
|
|
81
|
+
return r(i.configs.recommended, t, e && a(c.plugins(...e)));
|
|
12
82
|
}
|
|
13
|
-
function
|
|
14
|
-
return r({
|
|
83
|
+
function b() {
|
|
84
|
+
return r(l, {
|
|
15
85
|
languageOptions: {
|
|
16
86
|
ecmaVersion: 2022,
|
|
17
87
|
parserOptions: {
|
|
@@ -27,12 +97,12 @@ function w() {
|
|
|
27
97
|
}
|
|
28
98
|
});
|
|
29
99
|
}
|
|
30
|
-
const
|
|
100
|
+
const p = {
|
|
31
101
|
// https://eslint.style/rules/js/function-call-spacing
|
|
32
102
|
"no-spaced-func": "off"
|
|
33
|
-
},
|
|
103
|
+
}, x = {
|
|
34
104
|
rules: {
|
|
35
|
-
...
|
|
105
|
+
...p,
|
|
36
106
|
"arrow-parens": "off",
|
|
37
107
|
camelcase: ["error", {
|
|
38
108
|
allow: ["^\\$_"]
|
|
@@ -124,13 +194,13 @@ const c = {
|
|
|
124
194
|
"valid-typeof": ["error"],
|
|
125
195
|
"no-trailing-spaces": "off"
|
|
126
196
|
}
|
|
127
|
-
},
|
|
197
|
+
}, v = {
|
|
128
198
|
rules: {
|
|
129
199
|
"@cspell/spellchecker": ["error", {
|
|
130
200
|
customWordListFile: "./cspell.json"
|
|
131
201
|
}]
|
|
132
202
|
}
|
|
133
|
-
},
|
|
203
|
+
}, j = {
|
|
134
204
|
rules: {
|
|
135
205
|
"import-x/extensions": ["error", {
|
|
136
206
|
css: "always",
|
|
@@ -159,76 +229,6 @@ const c = {
|
|
|
159
229
|
}],
|
|
160
230
|
"import-x/prefer-default-export": "off"
|
|
161
231
|
}
|
|
162
|
-
}, j = {
|
|
163
|
-
rules: {
|
|
164
|
-
"jsdoc/check-param-names": ["error"],
|
|
165
|
-
"jsdoc/check-tag-names": ["error"],
|
|
166
|
-
"jsdoc/no-undefined-types": "off",
|
|
167
|
-
"jsdoc/require-param": ["error", {
|
|
168
|
-
enableRestElementFixer: !1,
|
|
169
|
-
enableRootFixer: !1
|
|
170
|
-
}],
|
|
171
|
-
"jsdoc/require-jsdoc": ["off"],
|
|
172
|
-
"jsdoc/require-param-description": "off",
|
|
173
|
-
"jsdoc/require-param-type": ["error"],
|
|
174
|
-
"jsdoc/require-property-description": "off",
|
|
175
|
-
"jsdoc/require-returns": ["error", {
|
|
176
|
-
contexts: ["TSInterfaceDeclaration", "TSMethodSignature"],
|
|
177
|
-
forceRequireReturn: !0,
|
|
178
|
-
exemptedBy: ["inheritdoc", "watch"]
|
|
179
|
-
}],
|
|
180
|
-
"jsdoc/require-returns-check": ["error"],
|
|
181
|
-
"jsdoc/require-returns-description": "off",
|
|
182
|
-
"jsdoc/tag-lines": ["error"],
|
|
183
|
-
"jsdoc/valid-types": "off",
|
|
184
|
-
"jsdoc/check-types": ["error"],
|
|
185
|
-
"jsdoc/no-multi-asterisks": ["error"],
|
|
186
|
-
"jsdoc/check-alignment": ["error"],
|
|
187
|
-
"jsdoc/sort-tags": ["error", {
|
|
188
|
-
linesBetween: 1,
|
|
189
|
-
tagSequence: [{
|
|
190
|
-
tags: [
|
|
191
|
-
"todo",
|
|
192
|
-
"description",
|
|
193
|
-
"deprecated",
|
|
194
|
-
"namespace",
|
|
195
|
-
"private",
|
|
196
|
-
"protected",
|
|
197
|
-
"public",
|
|
198
|
-
"static",
|
|
199
|
-
"readonly",
|
|
200
|
-
"since",
|
|
201
|
-
"access",
|
|
202
|
-
"template",
|
|
203
|
-
"typedef",
|
|
204
|
-
"class",
|
|
205
|
-
"augments",
|
|
206
|
-
"mixes",
|
|
207
|
-
"extends",
|
|
208
|
-
"interface",
|
|
209
|
-
"this",
|
|
210
|
-
"constructor",
|
|
211
|
-
"alias",
|
|
212
|
-
"memberof",
|
|
213
|
-
"example",
|
|
214
|
-
"use",
|
|
215
|
-
"see",
|
|
216
|
-
"link",
|
|
217
|
-
"global",
|
|
218
|
-
"fires",
|
|
219
|
-
"listens",
|
|
220
|
-
"type",
|
|
221
|
-
"param",
|
|
222
|
-
"property",
|
|
223
|
-
"yields",
|
|
224
|
-
"returns",
|
|
225
|
-
"lends",
|
|
226
|
-
"override",
|
|
227
|
-
"todo"
|
|
228
|
-
]
|
|
229
|
-
}]
|
|
230
|
-
}]
|
|
231
|
-
}
|
|
232
232
|
}, k = {
|
|
233
233
|
rules: {
|
|
234
234
|
"@stylistic/array-bracket-newline": ["error", "consistent"],
|
|
@@ -409,11 +409,10 @@ const c = {
|
|
|
409
409
|
}
|
|
410
410
|
};
|
|
411
411
|
export {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
g as p,
|
|
412
|
+
v as a,
|
|
413
|
+
b,
|
|
414
|
+
x as c,
|
|
415
|
+
j as i,
|
|
416
|
+
w as p,
|
|
418
417
|
k as s
|
|
419
418
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.10.0-beta.
|
|
4
|
+
"version": "1.10.0-beta.3",
|
|
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/index-5XpuN8zJ.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import o from "@eslint/js";
|
|
2
|
-
import s from "@stylistic/eslint-plugin";
|
|
3
|
-
import t from "eslint-config-airbnb-extended";
|
|
4
|
-
import { importX as i } from "eslint-plugin-import-x";
|
|
5
|
-
import m from "eslint-plugin-jsdoc";
|
|
6
|
-
import e from "typescript-eslint";
|
|
7
|
-
import { p as c, c as p, i as f, a as n, s as a, j as l, b as d } from "./stylistic-DSE4g5OV.js";
|
|
8
|
-
import { t as g } from "./typescript-Dg4zKuYI.js";
|
|
9
|
-
import { mergeAll as u, merge as y } from "./main.js";
|
|
10
|
-
const x = u(e.config(
|
|
11
|
-
o.configs.recommended,
|
|
12
|
-
i.flatConfigs.recommended,
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
|
|
14
|
-
t.configs.base.all,
|
|
15
|
-
...e.configs.recommended,
|
|
16
|
-
...e.configs.recommendedTypeChecked.filter((r) => !r.plugins),
|
|
17
|
-
m.configs["flat/recommended-typescript-error"],
|
|
18
|
-
y(c(), p, f, n, { plugins: { "@stylistic": s } }, a, l, g, d(), {
|
|
19
|
-
settings: {
|
|
20
|
-
jsdoc: {
|
|
21
|
-
mode: "typescript",
|
|
22
|
-
tagNamePreference: {
|
|
23
|
-
callback: "watch",
|
|
24
|
-
desc: "use"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"import/resolver": {
|
|
28
|
-
typescript: !0,
|
|
29
|
-
node: !0
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
})
|
|
33
|
-
));
|
|
34
|
-
export {
|
|
35
|
-
x as default
|
|
36
|
-
};
|
package/dist/index-AoIfKLih.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("@stylistic/eslint-plugin"),i=require("eslint-config-airbnb-extended"),o=require("eslint-plugin-import-x"),t=require("eslint-plugin-jsdoc"),n=require("eslint-plugin-vue"),l=require("eslint-plugin-vue-scoped-css"),c=require("globals"),e=require("./stylistic-D3KEBmIv.cjs"),u=require("./vue-D2lo_IGG.cjs"),s=require("./main.cjs"),g=s.merge(s.mergeAll(n.configs["flat/recommended"],l.configs["flat/recommended"]),o.importX.flatConfigs.recommended,s.mergeAll(i.configs.base.recommended),t.configs["flat/recommended"],e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":r}},e.stylisticRules,e.jsdoc,u.vue,e.postConfig(),{languageOptions:{parserOptions:{sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]},globals:{...c.browser}}});exports.default=g;
|
package/dist/index-BbY-DzQZ.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import o from "@stylistic/eslint-plugin";
|
|
2
|
-
import s from "eslint-config-airbnb-extended";
|
|
3
|
-
import { importX as i } from "eslint-plugin-import-x";
|
|
4
|
-
import r from "eslint-plugin-jsdoc";
|
|
5
|
-
import { p as m, c as e, i as t, a, s as c, j as p, b as f } from "./stylistic-DSE4g5OV.js";
|
|
6
|
-
import { merge as l, mergeAll as n } from "./main.js";
|
|
7
|
-
const C = l(
|
|
8
|
-
i.flatConfigs.recommended,
|
|
9
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
|
|
10
|
-
n(s.configs.base.recommended),
|
|
11
|
-
r.configs["flat/recommended"],
|
|
12
|
-
m(),
|
|
13
|
-
e,
|
|
14
|
-
t,
|
|
15
|
-
a,
|
|
16
|
-
{ plugins: { "@stylistic": o } },
|
|
17
|
-
c,
|
|
18
|
-
p,
|
|
19
|
-
f()
|
|
20
|
-
);
|
|
21
|
-
export {
|
|
22
|
-
C as default
|
|
23
|
-
};
|
package/dist/index-BfVokhiU.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import r from "@eslint/js";
|
|
2
|
-
import s from "@stylistic/eslint-plugin";
|
|
3
|
-
import t from "eslint-config-airbnb-extended";
|
|
4
|
-
import { importX as i } from "eslint-plugin-import-x";
|
|
5
|
-
import m from "eslint-plugin-jsdoc";
|
|
6
|
-
import p from "eslint-plugin-vue";
|
|
7
|
-
import a from "eslint-plugin-vue-scoped-css";
|
|
8
|
-
import c from "globals";
|
|
9
|
-
import e from "typescript-eslint";
|
|
10
|
-
import { b as l, j as n, s as f, a as d, i as g, c as u, p as b } from "./stylistic-DSE4g5OV.js";
|
|
11
|
-
import { t as y } from "./typescript-Dg4zKuYI.js";
|
|
12
|
-
import { a as j } from "./vue2-7aDd9M-9.js";
|
|
13
|
-
import { mergeAll as x, merge as C } from "./main.js";
|
|
14
|
-
const T = x(e.config(
|
|
15
|
-
r.configs.recommended,
|
|
16
|
-
i.flatConfigs.recommended,
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
|
|
18
|
-
t.configs.base.all,
|
|
19
|
-
...e.configs.recommended,
|
|
20
|
-
...p.configs["flat/vue2-recommended"].map((o) => (delete o.files, o)),
|
|
21
|
-
...a.configs["flat/vue2-recommended"],
|
|
22
|
-
m.configs["flat/recommended-typescript-error"],
|
|
23
|
-
C(b(), u, g, d, { plugins: { "@stylistic": s } }, f, n, j, y, l(), {
|
|
24
|
-
languageOptions: {
|
|
25
|
-
globals: {
|
|
26
|
-
...c.browser
|
|
27
|
-
},
|
|
28
|
-
parserOptions: {
|
|
29
|
-
parser: e.parser,
|
|
30
|
-
sourceType: "module",
|
|
31
|
-
ecmaFeatures: {
|
|
32
|
-
jsx: !0
|
|
33
|
-
},
|
|
34
|
-
extraFileExtensions: [".vue"]
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
settings: {
|
|
38
|
-
jsdoc: {
|
|
39
|
-
mode: "typescript",
|
|
40
|
-
tagNamePreference: {
|
|
41
|
-
callback: "watch",
|
|
42
|
-
desc: "use"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
})
|
|
47
|
-
));
|
|
48
|
-
export {
|
|
49
|
-
T as default
|
|
50
|
-
};
|
package/dist/index-C2ejyG13.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import e from "@stylistic/eslint-plugin";
|
|
2
|
-
import s from "eslint-config-airbnb-extended";
|
|
3
|
-
import { importX as r } from "eslint-plugin-import-x";
|
|
4
|
-
import i from "eslint-plugin-jsdoc";
|
|
5
|
-
import m from "eslint-plugin-vue";
|
|
6
|
-
import t from "eslint-plugin-vue-scoped-css";
|
|
7
|
-
import l from "globals";
|
|
8
|
-
import { b as a, j as n, s as p, a as f, i as c, c as g, p as d } from "./stylistic-DSE4g5OV.js";
|
|
9
|
-
import { v as u } from "./vue-5XWMLJUh.js";
|
|
10
|
-
import { merge as b, mergeAll as o } from "./main.js";
|
|
11
|
-
const V = b(
|
|
12
|
-
o(m.configs["flat/recommended"], t.configs["flat/recommended"]),
|
|
13
|
-
r.flatConfigs.recommended,
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
|
|
15
|
-
o(s.configs.base.recommended),
|
|
16
|
-
i.configs["flat/recommended"],
|
|
17
|
-
d(),
|
|
18
|
-
g,
|
|
19
|
-
c,
|
|
20
|
-
f,
|
|
21
|
-
{ plugins: { "@stylistic": e } },
|
|
22
|
-
p,
|
|
23
|
-
n,
|
|
24
|
-
u,
|
|
25
|
-
a(),
|
|
26
|
-
{
|
|
27
|
-
languageOptions: {
|
|
28
|
-
parserOptions: {
|
|
29
|
-
sourceType: "module",
|
|
30
|
-
ecmaFeatures: {
|
|
31
|
-
jsx: !0
|
|
32
|
-
},
|
|
33
|
-
extraFileExtensions: [".vue"]
|
|
34
|
-
},
|
|
35
|
-
globals: {
|
|
36
|
-
...l.browser
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
export {
|
|
42
|
-
V as default
|
|
43
|
-
};
|
package/dist/index-Chj1r0fO.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@eslint/js"),o=require("@stylistic/eslint-plugin"),c=require("eslint-config-airbnb-extended"),n=require("eslint-plugin-import-x"),l=require("eslint-plugin-jsdoc"),u=require("eslint-plugin-vue"),a=require("eslint-plugin-vue-scoped-css"),p=require("globals"),r=require("typescript-eslint"),e=require("./stylistic-D3KEBmIv.cjs"),d=require("./typescript-BvnP4VCM.cjs"),g=require("./vue-D2lo_IGG.cjs"),t=require("./main.cjs"),m=t.mergeAll(r.config(i.configs.recommended,n.importX.flatConfigs.recommended,c.configs.base.all,...r.configs.recommended,...u.configs["flat/recommended"].map(s=>(delete s.files,s)),...a.configs["flat/recommended"],l.configs["flat/recommended-typescript-error"],t.merge(e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":o}},e.stylisticRules,e.jsdoc,g.vue,d.typescript,e.postConfig(),{languageOptions:{globals:{...p.browser},parserOptions:{parser:r.parser,sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]}},settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}}}})));exports.default=m;
|
package/dist/index-CluTLBWw.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("@stylistic/eslint-plugin"),t=require("eslint-config-airbnb-extended"),r=require("eslint-plugin-import-x"),o=require("eslint-plugin-jsdoc"),e=require("./stylistic-D3KEBmIv.cjs"),i=require("./main.cjs"),c=i.merge(r.importX.flatConfigs.recommended,i.mergeAll(t.configs.base.recommended),o.configs["flat/recommended"],e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":s}},e.stylisticRules,e.jsdoc,e.postConfig());exports.default=c;
|
package/dist/index-DEn6q6Nn.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("@eslint/js"),o=require("@stylistic/eslint-plugin"),n=require("eslint-config-airbnb-extended"),c=require("eslint-plugin-import-x"),l=require("eslint-plugin-jsdoc"),u=require("eslint-plugin-vue"),a=require("eslint-plugin-vue-scoped-css"),p=require("globals"),r=require("typescript-eslint"),e=require("./stylistic-D3KEBmIv.cjs"),m=require("./typescript-BvnP4VCM.cjs"),d=require("./vue2-CpDCkxcX.cjs"),t=require("./main.cjs"),g=t.mergeAll(r.config(i.configs.recommended,c.importX.flatConfigs.recommended,n.configs.base.all,...r.configs.recommended,...u.configs["flat/vue2-recommended"].map(s=>(delete s.files,s)),...a.configs["flat/vue2-recommended"],l.configs["flat/recommended-typescript-error"],t.merge(e.preConfig(),e.core,e.importRules,e.cspell,{plugins:{"@stylistic":o}},e.stylisticRules,e.jsdoc,d.vue2Composition,m.typescript,e.postConfig(),{languageOptions:{globals:{...p.browser},parserOptions:{parser:r.parser,sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]}},settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}}}})));exports.default=g;
|
package/dist/index-PPmRJNMx.js
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import o from "@eslint/js";
|
|
2
|
-
import s from "@stylistic/eslint-plugin";
|
|
3
|
-
import t from "eslint-config-airbnb-extended";
|
|
4
|
-
import { importX as i } from "eslint-plugin-import-x";
|
|
5
|
-
import m from "eslint-plugin-jsdoc";
|
|
6
|
-
import p from "eslint-plugin-vue";
|
|
7
|
-
import a from "eslint-plugin-vue-scoped-css";
|
|
8
|
-
import c from "globals";
|
|
9
|
-
import e from "typescript-eslint";
|
|
10
|
-
import { b as l, j as n, s as f, a as d, i as g, c as u, p as b } from "./stylistic-DSE4g5OV.js";
|
|
11
|
-
import { t as y } from "./typescript-Dg4zKuYI.js";
|
|
12
|
-
import { v as j } from "./vue-5XWMLJUh.js";
|
|
13
|
-
import { mergeAll as x, merge as C } from "./main.js";
|
|
14
|
-
const T = x(e.config(
|
|
15
|
-
o.configs.recommended,
|
|
16
|
-
i.flatConfigs.recommended,
|
|
17
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
|
|
18
|
-
t.configs.base.all,
|
|
19
|
-
...e.configs.recommended,
|
|
20
|
-
...p.configs["flat/recommended"].map((r) => (delete r.files, r)),
|
|
21
|
-
...a.configs["flat/recommended"],
|
|
22
|
-
m.configs["flat/recommended-typescript-error"],
|
|
23
|
-
C(b(), u, g, d, { plugins: { "@stylistic": s } }, f, n, j, y, l(), {
|
|
24
|
-
languageOptions: {
|
|
25
|
-
globals: {
|
|
26
|
-
...c.browser
|
|
27
|
-
},
|
|
28
|
-
parserOptions: {
|
|
29
|
-
parser: e.parser,
|
|
30
|
-
sourceType: "module",
|
|
31
|
-
ecmaFeatures: {
|
|
32
|
-
jsx: !0
|
|
33
|
-
},
|
|
34
|
-
extraFileExtensions: [".vue"]
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
settings: {
|
|
38
|
-
jsdoc: {
|
|
39
|
-
mode: "typescript",
|
|
40
|
-
tagNamePreference: {
|
|
41
|
-
callback: "watch",
|
|
42
|
-
desc: "use"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
})
|
|
47
|
-
));
|
|
48
|
-
export {
|
|
49
|
-
T as default
|
|
50
|
-
};
|
package/dist/index-uJNHwtXG.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import e from "@stylistic/eslint-plugin";
|
|
2
|
-
import s from "eslint-config-airbnb-extended";
|
|
3
|
-
import { importX as r } from "eslint-plugin-import-x";
|
|
4
|
-
import i from "eslint-plugin-jsdoc";
|
|
5
|
-
import m from "eslint-plugin-vue";
|
|
6
|
-
import t from "eslint-plugin-vue-scoped-css";
|
|
7
|
-
import l from "globals";
|
|
8
|
-
import { b as n, j as a, s as p, a as f, i as c, c as u, p as g } from "./stylistic-DSE4g5OV.js";
|
|
9
|
-
import { v as d } from "./vue2-7aDd9M-9.js";
|
|
10
|
-
import { merge as b, mergeAll as o } from "./main.js";
|
|
11
|
-
const V = b(
|
|
12
|
-
o(m.configs["flat/vue2-recommended"], t.configs["flat/vue2-recommended"]),
|
|
13
|
-
r.flatConfigs.recommended,
|
|
14
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
|
|
15
|
-
o(s.configs.base.recommended),
|
|
16
|
-
i.configs["flat/recommended"],
|
|
17
|
-
g(),
|
|
18
|
-
u,
|
|
19
|
-
c,
|
|
20
|
-
f,
|
|
21
|
-
{ plugins: { "@stylistic": e } },
|
|
22
|
-
p,
|
|
23
|
-
a,
|
|
24
|
-
d,
|
|
25
|
-
n(),
|
|
26
|
-
{
|
|
27
|
-
languageOptions: {
|
|
28
|
-
parserOptions: {
|
|
29
|
-
sourceType: "module",
|
|
30
|
-
ecmaFeatures: {
|
|
31
|
-
jsx: !0
|
|
32
|
-
},
|
|
33
|
-
extraFileExtensions: [".vue"]
|
|
34
|
-
},
|
|
35
|
-
globals: {
|
|
36
|
-
...l.browser
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
export {
|
|
42
|
-
V as default
|
|
43
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("node:path"),t=require("node:url"),n=require("@cspell/eslint-plugin/recommended"),i=require("@eslint/eslintrc"),a=require("@eslint/js"),r=require("./main.cjs");var e=typeof document<"u"?document.currentScript:null;const l=new i.FlatCompat({baseDirectory:o.dirname(t.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:e&&e.tagName.toUpperCase()==="SCRIPT"&&e.src||new URL("stylistic-D3KEBmIv.cjs",document.baseURI).href))});function c(s=[]){return r.merge(a.configs.recommended,n,s&&r.mergeAll(l.plugins(...s)))}function p(){return r.merge({languageOptions:{ecmaVersion:2022,parserOptions:{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"}})}const u={"no-spaced-func":"off"},d={rules:{...u,"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","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","never"],"use-isnan":["error"],"valid-typeof":["error"],"no-trailing-spaces":"off"}},f={rules:{"@cspell/spellchecker":["error",{customWordListFile:"./cspell.json"}]}},y={rules:{"import-x/extensions":["error",{css:"always",js:"never",json:"always",jsx:"never",sass:"always",scss:"always",svg:"always",ts:"never",tsx:"never",vue:"always"}],"import-x/no-cycle":"off","import-x/no-unresolved":"off","import-x/order":["error",{alphabetize:{caseInsensitive:!0,order:"asc"},groups:["index","builtin","object","type","external","parent","internal","sibling"],pathGroups:[{group:"internal",pattern:"@/**"}]}],"import-x/prefer-default-export":"off"}},m={rules:{"jsdoc/check-param-names":["error"],"jsdoc/check-tag-names":["error"],"jsdoc/no-undefined-types":"off","jsdoc/require-param":["error",{enableRestElementFixer:!1,enableRootFixer:!1}],"jsdoc/require-jsdoc":["off"],"jsdoc/require-param-description":"off","jsdoc/require-param-type":["error"],"jsdoc/require-property-description":"off","jsdoc/require-returns":["error",{contexts:["TSInterfaceDeclaration","TSMethodSignature"],forceRequireReturn:!0,exemptedBy:["inheritdoc","watch"]}],"jsdoc/require-returns-check":["error"],"jsdoc/require-returns-description":"off","jsdoc/tag-lines":["error"],"jsdoc/valid-types":"off","jsdoc/check-types":["error"],"jsdoc/no-multi-asterisks":["error"],"jsdoc/check-alignment":["error"],"jsdoc/sort-tags":["error",{linesBetween:1,tagSequence:[{tags:["todo","description","deprecated","namespace","private","protected","public","static","readonly","since","access","template","typedef","class","augments","mixes","extends","interface","this","constructor","alias","memberof","example","use","see","link","global","fires","listens","type","param","property","yields","returns","lends","override","todo"]}]}]}},g={rules:{"@stylistic/array-bracket-newline":["error","consistent"],"@stylistic/array-bracket-spacing":["error","never"],"@stylistic/array-element-newline":["error","consistent"],"@stylistic/arrow-parens":["error","as-needed"],"@stylistic/arrow-spacing":["error"],"@stylistic/brace-style":["error","1tbs"],"@stylistic/comma-dangle":["error",{arrays:"always-multiline",exports:"always-multiline",functions:"never",imports:"always-multiline",objects:"always-multiline",enums:"always-multiline",generics:"always-multiline",tuples:"always-multiline"}],"@stylistic/comma-spacing":["error"],"@stylistic/computed-property-spacing":["error"],"@stylistic/dot-location":["error","property"],"@stylistic/eol-last":["error","always"],"@stylistic/function-call-argument-newline":["error","consistent"],"@stylistic/function-call-spacing":["error","never"],"@stylistic/function-paren-newline":["error","consistent"],"@stylistic/implicit-arrow-linebreak":["error","beside"],"@stylistic/indent":["error",4,{SwitchCase:1,ignoredNodes:["PropertyDefinition[decorators]","TSUnionType"]}],"@stylistic/key-spacing":["error"],"@stylistic/keyword-spacing":["error"],"@stylistic/linebreak-style":["error","unix"],"@stylistic/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0}],"@stylistic/max-len":["error",120,{ignoreComments:!0,ignoreRegExpLiterals:!0,ignoreTrailingComments:!0,ignoreUrls:!0}],"@stylistic/max-statements-per-line":["error",{max:2}],"@stylistic/member-delimiter-style":["error",{multiline:{requireLast:!0},singleline:{requireLast:!1}}],"@stylistic/multiline-ternary":["error","always-multiline"],"@stylistic/new-parens":["error","always"],"@stylistic/no-extra-parens":["error","all",{allowParensAfterCommentPattern:"@type|@satisfies",enforceForArrowConditionals:!1,nestedBinaryExpressions:!1,returnAssign:!1}],"@stylistic/no-extra-semi":["error"],"@stylistic/no-floating-decimal":"error","@stylistic/no-mixed-operators":["error",{allowSamePrecedence:!0,groups:[["&","|","^","~","<<",">>",">>>"],["==","!=","===","!==",">",">=","<","<="],["&&","||"],["in","instanceof"]]}],"@stylistic/no-mixed-spaces-and-tabs":["error"],"@stylistic/no-multi-spaces":["error"],"@stylistic/no-multiple-empty-lines":["error",{max:1,maxEOF:0,maxBOF:0}],"@stylistic/no-trailing-spaces":["error"],"@stylistic/no-whitespace-before-property":["error"],"@stylistic/object-curly-newline":["error",{consistent:!0}],"@stylistic/object-curly-spacing":["error","always"],"@stylistic/padded-blocks":["error","never"],"@stylistic/quote-props":["error","as-needed"],"@stylistic/quotes":["error","single",{avoidEscape:!0}],"@stylistic/rest-spread-spacing":["error","never"],"@stylistic/semi":["error"],"@stylistic/semi-spacing":["error",{after:!0,before:!1}],"@stylistic/semi-style":["error","last"],"@stylistic/space-before-blocks":["error"],"@stylistic/space-before-function-paren":["error",{anonymous:"always",named:"always"}],"@stylistic/space-in-parens":["error","never"],"@stylistic/space-infix-ops":["error"],"@stylistic/spaced-comment":["error","always",{markers:["/"]}],"@stylistic/template-curly-spacing":["error","never"],"@stylistic/template-tag-spacing":["error","never"],"@stylistic/type-annotation-spacing":["error"],"@stylistic/type-generic-spacing":["error"],"@stylistic/padding-line-between-statements":["error",{blankLine:"always",next:"*",prev:["const","let","var","if","block-like","directive"]},{blankLine:"always",next:["const","let","var","if","while","directive","throw","return","break","default","cjs-export","export","continue","iife"],prev:"*"},{blankLine:"always",prev:["*"],next:["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"]}]}};exports.core=d;exports.cspell=f;exports.importRules=y;exports.jsdoc=m;exports.postConfig=p;exports.preConfig=c;exports.stylisticRules=g;
|