@useinsider/eslint-config 1.9.2 → 1.10.0-beta.2
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/README.md +5 -4
- package/dist/base.d.ts +2 -2
- package/dist/configs/config/index.d.ts +1 -1
- package/dist/configs/javascript/index.d.ts +2 -1
- package/dist/configs/javascript-dom/index.d.ts +1 -1
- package/dist/configs/javascript-node/index.d.ts +1 -1
- package/dist/configs/jest/index.d.ts +1 -1
- package/dist/configs/jsdoc-based-ts/index.d.ts +1 -1
- package/dist/configs/typescript/index.d.ts +1 -1
- package/dist/configs/typescript-dom/index.d.ts +1 -1
- package/dist/configs/typescript-node/index.d.ts +2 -2
- package/dist/configs/vue2/index.d.ts +1 -1
- package/dist/configs/vue2-typescript/index.d.ts +3 -0
- package/dist/configs/vue3/index.d.ts +1 -1
- package/dist/configs/vue3-typescript/index.d.ts +1 -1
- package/dist/index-5XpuN8zJ.js +36 -0
- package/dist/index-AoIfKLih.cjs +1 -0
- package/dist/index-BbY-DzQZ.js +23 -0
- package/dist/index-BcXPdx1B.cjs +1 -0
- package/dist/index-BfVokhiU.js +50 -0
- package/dist/index-BmBugWe4.cjs +1 -0
- package/dist/{index-UyB1dQmr.cjs → index-BmEpUwjI.cjs} +1 -1
- package/dist/index-C2ejyG13.js +43 -0
- package/dist/index-C2p6z9H4.js +9 -0
- package/dist/{index-CCc7nS-L.cjs → index-C8Fyv8dX.cjs} +1 -1
- package/dist/{index-Dz51pbFA.js → index-C9C56Sak.js} +1 -1
- package/dist/{index-BsEDEtyS.js → index-C__itRdP.js} +1 -1
- package/dist/{index-Cjyj5Al1.cjs → index-Ce8VTxdD.cjs} +1 -1
- package/dist/index-Chj1r0fO.cjs +1 -0
- package/dist/index-CluTLBWw.cjs +1 -0
- package/dist/{index-DWdvFLYP.js → index-Cy4JQvOe.js} +3 -3
- package/dist/index-D33jOlli.cjs +1 -0
- package/dist/index-DEn6q6Nn.cjs +1 -0
- package/dist/index-DhhGuad5.cjs +1 -0
- package/dist/index-PPmRJNMx.js +50 -0
- package/dist/{index-E3Dvq2rq.js → index-kDh8-AEb.js} +1 -1
- package/dist/index-uJNHwtXG.js +43 -0
- package/dist/main.cjs +2 -2
- package/dist/main.d.ts +3 -2
- package/dist/main.js +57 -55
- package/dist/rules/core.d.ts +1 -1
- package/dist/rules/cspell.d.ts +1 -1
- package/dist/rules/importRules.d.ts +1 -1
- package/dist/rules/jsdoc.d.ts +1 -1
- package/dist/rules/stylistic.d.ts +1 -1
- package/dist/rules/typescript.d.ts +1 -1
- package/dist/rules/vue.d.ts +1 -1
- package/dist/rules/vue2.d.ts +2 -2
- package/dist/stylistic-D3KEBmIv.cjs +1 -0
- package/dist/stylistic-DSE4g5OV.js +419 -0
- package/dist/{rules/typescript.cjs → typescript-BvnP4VCM.cjs} +1 -1
- package/dist/{rules/typescript.js → typescript-Dg4zKuYI.js} +1 -1
- package/dist/utils/compat.d.ts +4 -4
- package/dist/utils/mergeAllConfig.d.ts +1 -1
- package/dist/{rules/vue.js → vue-5XWMLJUh.js} +3 -3
- package/dist/vue-D2lo_IGG.cjs +1 -0
- package/dist/{rules/vue2.js → vue2-7aDd9M-9.js} +8 -3
- package/dist/vue2-CpDCkxcX.cjs +1 -0
- package/package.json +32 -39
- package/dist/base-C2fq_o3u.cjs +0 -1
- package/dist/base-DhxoXy40.js +0 -29
- package/dist/compat-DfBTP0AK.js +0 -15
- package/dist/compat-S2mgbwTA.cjs +0 -1
- package/dist/index-BSFKHRiy.js +0 -33
- package/dist/index-BUOro8yS.js +0 -54
- package/dist/index-BX0PuY7X.cjs +0 -1
- package/dist/index-BYXlsowx.cjs +0 -1
- package/dist/index-BcjSGMc4.cjs +0 -1
- package/dist/index-C743UfJX.cjs +0 -1
- package/dist/index-CAuGyIr4.cjs +0 -1
- package/dist/index-CcvN-eiV.cjs +0 -1
- package/dist/index-CixUmpPQ.js +0 -9
- package/dist/index-CydLRA6p.js +0 -34
- package/dist/index-DIhDmtxO.js +0 -17
- package/dist/index-D_iZLt4b.js +0 -34
- package/dist/index-Dgx6nuN5.cjs +0 -1
- package/dist/rules/core.cjs +0 -1
- package/dist/rules/core.js +0 -101
- package/dist/rules/cspell.cjs +0 -1
- package/dist/rules/cspell.js +0 -10
- package/dist/rules/importRules.cjs +0 -1
- package/dist/rules/importRules.js +0 -33
- package/dist/rules/jsdoc.cjs +0 -1
- package/dist/rules/jsdoc.js +0 -74
- package/dist/rules/stylistic.cjs +0 -1
- package/dist/rules/stylistic.js +0 -182
- package/dist/rules/vue.cjs +0 -1
- package/dist/rules/vue2.cjs +0 -1
package/dist/base-DhxoXy40.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { dirname as e } from "node:path";
|
|
2
|
-
import { fileURLToPath as t } from "node:url";
|
|
3
|
-
import { FlatCompat as i } from "@eslint/eslintrc";
|
|
4
|
-
import m from "@eslint/js";
|
|
5
|
-
import { merge as r, mergeAll as s } from "./main.js";
|
|
6
|
-
const a = new i({
|
|
7
|
-
baseDirectory: e(t(import.meta.url))
|
|
8
|
-
});
|
|
9
|
-
function l(o = []) {
|
|
10
|
-
return r(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
|
-
d as a,
|
|
28
|
-
l as p
|
|
29
|
-
};
|
package/dist/compat-DfBTP0AK.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { dirname as m } from "node:path";
|
|
2
|
-
import { fileURLToPath as r } from "node:url";
|
|
3
|
-
import { FlatCompat as i } from "@eslint/eslintrc";
|
|
4
|
-
import { mergeAll as t } from "./main.js";
|
|
5
|
-
const e = new i({
|
|
6
|
-
baseDirectory: m(r(import.meta.url))
|
|
7
|
-
}), l = {
|
|
8
|
-
extends: (...o) => t(e.extends(...o)),
|
|
9
|
-
config: (o) => t(e.config(o)),
|
|
10
|
-
plugins: (...o) => t(e.plugins(...o)),
|
|
11
|
-
env: (o) => t(e.env(o))
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
l as c
|
|
15
|
-
};
|
package/dist/compat-S2mgbwTA.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("node:path"),c=require("node:url"),i=require("@eslint/eslintrc"),t=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const n=new i.FlatCompat({baseDirectory:o.dirname(c.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("compat-S2mgbwTA.cjs",document.baseURI).href))}),a={extends:(...e)=>t.mergeAll(n.extends(...e)),config:e=>t.mergeAll(n.config(e)),plugins:(...e)=>t.mergeAll(n.plugins(...e)),env:e=>t.mergeAll(n.env(e))};exports.compat=a;
|
package/dist/index-BSFKHRiy.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import i from "@eslint/js";
|
|
2
|
-
import c from "eslint-plugin-jsdoc";
|
|
3
|
-
import e from "typescript-eslint";
|
|
4
|
-
import { p as n, a } from "./base-DhxoXy40.js";
|
|
5
|
-
import f from "./rules/core.js";
|
|
6
|
-
import d from "./rules/cspell.js";
|
|
7
|
-
import l from "./rules/importRules.js";
|
|
8
|
-
import g from "./rules/jsdoc.js";
|
|
9
|
-
import b from "./rules/stylistic.js";
|
|
10
|
-
import u from "./rules/typescript.js";
|
|
11
|
-
import { c as m } from "./compat-DfBTP0AK.js";
|
|
12
|
-
import { mergeAll as y, merge as s } from "./main.js";
|
|
13
|
-
const p = s(m.extends("airbnb-base", "airbnb-typescript/base"));
|
|
14
|
-
var r, o, t;
|
|
15
|
-
(t = (o = (r = p.languageOptions) == null ? void 0 : r.parserOptions) == null ? void 0 : o.ecmaFeatures) == null || delete t.globalReturn;
|
|
16
|
-
const N = y(e.config(i.configs.recommended, p, ...e.configs.recommended, ...e.configs.recommendedTypeChecked, c.configs["flat/recommended-typescript-error"], s(m.extends("plugin:@cspell/recommended"), n(), f, l, d, b, g, u, a(), {
|
|
17
|
-
settings: {
|
|
18
|
-
jsdoc: {
|
|
19
|
-
mode: "typescript",
|
|
20
|
-
tagNamePreference: {
|
|
21
|
-
callback: "watch",
|
|
22
|
-
desc: "use"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"import/resolver": {
|
|
26
|
-
typescript: !0,
|
|
27
|
-
node: !0
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
})));
|
|
31
|
-
export {
|
|
32
|
-
N as default
|
|
33
|
-
};
|
package/dist/index-BUOro8yS.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
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 { a as d, p as g } from "./base-DhxoXy40.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
|
-
};
|
package/dist/index-BX0PuY7X.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("node:path"),o=require("node:url"),u=require("@eslint/eslintrc"),c=require("eslint-plugin-jsdoc"),i=require("globals"),n=require("./base-C2fq_o3u.cjs"),l=require("./rules/core.cjs"),a=require("./rules/cspell.cjs"),d=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),p=require("./rules/stylistic.cjs"),g=require("./rules/vue.cjs"),e=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const s=new u.FlatCompat({baseDirectory:t.dirname(o.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("index-BX0PuY7X.cjs",document.baseURI).href))}),f=e.merge(e.mergeAll(s.extends("airbnb-base","plugin:vue/vue3-recommended","plugin:vue-scoped-css/vue3-recommended")),c.configs["flat/recommended"],e.mergeAll(s.extends("plugin:@cspell/recommended")),n.preConfig(["vue","vue-scoped-css"]),l,d,a,p,m,g,n.postConfig(),e.mergeAll(s.config({parser:"vue-eslint-parser"})),{languageOptions:{parserOptions:{sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]},globals:{...i.browser}}});exports.default=f;
|
package/dist/index-BYXlsowx.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("node:path"),o=require("node:url"),u=require("@eslint/eslintrc"),c=require("eslint-plugin-jsdoc"),i=require("globals"),n=require("./base-C2fq_o3u.cjs"),l=require("./rules/core.cjs"),a=require("./rules/cspell.cjs"),d=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),p=require("./rules/stylistic.cjs"),g=require("./rules/vue2.cjs"),e=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const s=new u.FlatCompat({baseDirectory:t.dirname(o.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("index-BYXlsowx.cjs",document.baseURI).href))}),f=e.merge(e.mergeAll(s.extends("airbnb-base","plugin:vue/recommended","plugin:vue-scoped-css/recommended")),c.configs["flat/recommended"],e.mergeAll(s.extends("plugin:@cspell/recommended")),n.preConfig(["vue","vue-scoped-css"]),l,d,a,p,m,g,n.postConfig(),e.mergeAll(s.config({parser:"vue-eslint-parser"})),{languageOptions:{parserOptions:{sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]},globals:{...i.browser}}});exports.default=f;
|
package/dist/index-BcjSGMc4.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("node:path"),s=require("node:url"),c=require("@eslint/eslintrc"),i=require("eslint-plugin-jsdoc"),t=require("./base-C2fq_o3u.cjs"),u=require("./rules/core.cjs"),l=require("./rules/cspell.cjs"),a=require("./rules/importRules.cjs"),d=require("./rules/jsdoc.cjs"),m=require("./rules/stylistic.cjs"),e=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const n=new c.FlatCompat({baseDirectory:o.dirname(s.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("index-BcjSGMc4.cjs",document.baseURI).href))}),p=e.merge(e.mergeAll(n.extends("eslint-config-airbnb-base")),i.configs["flat/recommended"],e.mergeAll(n.extends("plugin:@cspell/recommended")),t.preConfig(),u,a,l,m,d,t.postConfig());exports.default=p;
|
package/dist/index-C743UfJX.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
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-C2fq_o3u.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-S2mgbwTA.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;
|
package/dist/index-CAuGyIr4.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={rules:{"import/no-extraneous-dependencies":"off","import/prefer-default-export":"off"}};exports.default=e;
|
package/dist/index-CcvN-eiV.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@eslint/js"),l=require("eslint-plugin-jsdoc"),e=require("typescript-eslint"),s=require("./base-C2fq_o3u.cjs"),p=require("./rules/core.cjs"),a=require("./rules/cspell.cjs"),d=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),g=require("./rules/stylistic.cjs"),b=require("./rules/typescript.cjs"),n=require("./compat-S2mgbwTA.cjs"),r=require("./main.cjs"),i=r.merge(n.compat.extends("airbnb-base","airbnb-typescript/base"));var t,c,o;(o=(c=(t=i.languageOptions)==null?void 0:t.parserOptions)==null?void 0:c.ecmaFeatures)==null||delete o.globalReturn;const q=r.mergeAll(e.config(u.configs.recommended,i,...e.configs.recommended,...e.configs.recommendedTypeChecked,l.configs["flat/recommended-typescript-error"],r.merge(n.compat.extends("plugin:@cspell/recommended"),s.preConfig(),p,d,a,g,m,b,s.postConfig(),{settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}},"import/resolver":{typescript:!0,node:!0}}})));exports.default=q;
|
package/dist/index-CixUmpPQ.js
DELETED
package/dist/index-CydLRA6p.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { dirname as r } from "node:path";
|
|
2
|
-
import { fileURLToPath as m } from "node:url";
|
|
3
|
-
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
|
-
import t from "eslint-plugin-jsdoc";
|
|
5
|
-
import i from "globals";
|
|
6
|
-
import { a as p, p as n } from "./base-DhxoXy40.js";
|
|
7
|
-
import a from "./rules/core.js";
|
|
8
|
-
import l from "./rules/cspell.js";
|
|
9
|
-
import c from "./rules/importRules.js";
|
|
10
|
-
import f from "./rules/jsdoc.js";
|
|
11
|
-
import u from "./rules/stylistic.js";
|
|
12
|
-
import d from "./rules/vue2.js";
|
|
13
|
-
import { merge as g, mergeAll as e } from "./main.js";
|
|
14
|
-
const o = new s({
|
|
15
|
-
baseDirectory: r(m(import.meta.url))
|
|
16
|
-
}), A = g(e(o.extends("airbnb-base", "plugin:vue/recommended", "plugin:vue-scoped-css/recommended")), t.configs["flat/recommended"], e(o.extends("plugin:@cspell/recommended")), n(["vue", "vue-scoped-css"]), a, c, l, u, f, d, p(), e(o.config({
|
|
17
|
-
parser: "vue-eslint-parser"
|
|
18
|
-
})), {
|
|
19
|
-
languageOptions: {
|
|
20
|
-
parserOptions: {
|
|
21
|
-
sourceType: "module",
|
|
22
|
-
ecmaFeatures: {
|
|
23
|
-
jsx: !0
|
|
24
|
-
},
|
|
25
|
-
extraFileExtensions: [".vue"]
|
|
26
|
-
},
|
|
27
|
-
globals: {
|
|
28
|
-
...i.browser
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
A as default
|
|
34
|
-
};
|
package/dist/index-DIhDmtxO.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { dirname as m } from "node:path";
|
|
2
|
-
import { fileURLToPath as t } from "node:url";
|
|
3
|
-
import { FlatCompat as e } from "@eslint/eslintrc";
|
|
4
|
-
import i from "eslint-plugin-jsdoc";
|
|
5
|
-
import { p, a as s } from "./base-DhxoXy40.js";
|
|
6
|
-
import f from "./rules/core.js";
|
|
7
|
-
import a from "./rules/cspell.js";
|
|
8
|
-
import l from "./rules/importRules.js";
|
|
9
|
-
import n from "./rules/jsdoc.js";
|
|
10
|
-
import c from "./rules/stylistic.js";
|
|
11
|
-
import { merge as d, mergeAll as o } from "./main.js";
|
|
12
|
-
const r = new e({
|
|
13
|
-
baseDirectory: m(t(import.meta.url))
|
|
14
|
-
}), w = d(o(r.extends("eslint-config-airbnb-base")), i.configs["flat/recommended"], o(r.extends("plugin:@cspell/recommended")), p(), f, l, a, c, n, s());
|
|
15
|
-
export {
|
|
16
|
-
w as default
|
|
17
|
-
};
|
package/dist/index-D_iZLt4b.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { dirname as r } from "node:path";
|
|
2
|
-
import { fileURLToPath as m } from "node:url";
|
|
3
|
-
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
|
-
import t from "eslint-plugin-jsdoc";
|
|
5
|
-
import i from "globals";
|
|
6
|
-
import { a as p, p as n } from "./base-DhxoXy40.js";
|
|
7
|
-
import a from "./rules/core.js";
|
|
8
|
-
import l from "./rules/cspell.js";
|
|
9
|
-
import c from "./rules/importRules.js";
|
|
10
|
-
import u from "./rules/jsdoc.js";
|
|
11
|
-
import f from "./rules/stylistic.js";
|
|
12
|
-
import d from "./rules/vue.js";
|
|
13
|
-
import { merge as g, mergeAll as e } from "./main.js";
|
|
14
|
-
const o = new s({
|
|
15
|
-
baseDirectory: r(m(import.meta.url))
|
|
16
|
-
}), A = g(e(o.extends("airbnb-base", "plugin:vue/vue3-recommended", "plugin:vue-scoped-css/vue3-recommended")), t.configs["flat/recommended"], e(o.extends("plugin:@cspell/recommended")), n(["vue", "vue-scoped-css"]), a, c, l, f, u, d, p(), e(o.config({
|
|
17
|
-
parser: "vue-eslint-parser"
|
|
18
|
-
})), {
|
|
19
|
-
languageOptions: {
|
|
20
|
-
parserOptions: {
|
|
21
|
-
sourceType: "module",
|
|
22
|
-
ecmaFeatures: {
|
|
23
|
-
jsx: !0
|
|
24
|
-
},
|
|
25
|
-
extraFileExtensions: [".vue"]
|
|
26
|
-
},
|
|
27
|
-
globals: {
|
|
28
|
-
...i.browser
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
A as default
|
|
34
|
-
};
|
package/dist/index-Dgx6nuN5.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),t=require("./main.cjs"),n=require("./index-BcjSGMc4.cjs"),o=t.merge(n.default,{languageOptions:{globals:{...e.node}}});exports.default=o;
|
package/dist/rules/core.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r={"no-spaced-func":"off"},e={rules:{...r,"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"],"use-isnan":["error"],"valid-typeof":["error"],"no-trailing-spaces":"off"}};module.exports=e;
|
package/dist/rules/core.js
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
const r = {
|
|
2
|
-
// https://eslint.style/rules/js/function-call-spacing
|
|
3
|
-
"no-spaced-func": "off"
|
|
4
|
-
}, e = {
|
|
5
|
-
rules: {
|
|
6
|
-
...r,
|
|
7
|
-
"arrow-parens": "off",
|
|
8
|
-
camelcase: ["error", {
|
|
9
|
-
allow: ["^\\$_"]
|
|
10
|
-
}],
|
|
11
|
-
"class-methods-use-this": "off",
|
|
12
|
-
"comma-dangle": "off",
|
|
13
|
-
"consistent-return": ["error"],
|
|
14
|
-
curly: ["error", "all"],
|
|
15
|
-
"dot-notation": ["error"],
|
|
16
|
-
"function-paren-newline": "off",
|
|
17
|
-
"guard-for-in": "error",
|
|
18
|
-
"handle-callback-err": ["error"],
|
|
19
|
-
indent: "off",
|
|
20
|
-
"max-len": "off",
|
|
21
|
-
"new-cap": ["error"],
|
|
22
|
-
"no-alert": ["error"],
|
|
23
|
-
"no-bitwise": ["error", {
|
|
24
|
-
allow: ["~"]
|
|
25
|
-
}],
|
|
26
|
-
"no-caller": ["error"],
|
|
27
|
-
"no-case-declarations": ["error"],
|
|
28
|
-
"no-confusing-arrow": ["error", {
|
|
29
|
-
allowParens: !0
|
|
30
|
-
}],
|
|
31
|
-
"no-console": ["error"],
|
|
32
|
-
"no-debugger": ["error"],
|
|
33
|
-
"no-div-regex": ["error"],
|
|
34
|
-
"no-dupe-args": ["error"],
|
|
35
|
-
"no-dupe-keys": ["error"],
|
|
36
|
-
"no-duplicate-case": ["error"],
|
|
37
|
-
"no-else-return": ["error"],
|
|
38
|
-
"no-empty": ["error"],
|
|
39
|
-
"no-extra-bind": ["error"],
|
|
40
|
-
"no-extra-boolean-cast": "error",
|
|
41
|
-
"no-fallthrough": ["error"],
|
|
42
|
-
"no-implicit-coercion": ["error", {
|
|
43
|
-
boolean: !0,
|
|
44
|
-
number: !0,
|
|
45
|
-
string: !0
|
|
46
|
-
}],
|
|
47
|
-
"implicit-arrow-linebreak": "off",
|
|
48
|
-
"no-invalid-regexp": ["error"],
|
|
49
|
-
"no-iterator": ["error"],
|
|
50
|
-
"no-mixed-operators": "off",
|
|
51
|
-
"no-multi-spaces": "off",
|
|
52
|
-
"no-multi-str": ["error"],
|
|
53
|
-
"no-multiple-empty-lines": "off",
|
|
54
|
-
"no-native-reassign": "error",
|
|
55
|
-
"no-nested-ternary": ["error"],
|
|
56
|
-
"no-new": "off",
|
|
57
|
-
"no-new-object": ["error"],
|
|
58
|
-
"no-new-require": ["error"],
|
|
59
|
-
"no-param-reassign": ["error", {
|
|
60
|
-
props: !1
|
|
61
|
-
}],
|
|
62
|
-
"no-plusplus": "off",
|
|
63
|
-
"no-process-exit": ["error"],
|
|
64
|
-
"no-promise-executor-return": ["error", {
|
|
65
|
-
allowVoid: !0
|
|
66
|
-
}],
|
|
67
|
-
"no-return-assign": ["error", "except-parens"],
|
|
68
|
-
"no-self-compare": ["error"],
|
|
69
|
-
"no-sequences": ["error"],
|
|
70
|
-
"no-shadow": ["error", {
|
|
71
|
-
allow: ["state"]
|
|
72
|
-
}],
|
|
73
|
-
"no-undef": ["error"],
|
|
74
|
-
"no-underscore-dangle": "off",
|
|
75
|
-
"no-unexpected-multiline": ["error"],
|
|
76
|
-
"no-unreachable": ["error"],
|
|
77
|
-
"no-unused-vars": ["error"],
|
|
78
|
-
"no-use-before-define": "error",
|
|
79
|
-
"no-useless-call": ["error"],
|
|
80
|
-
"no-void": "off",
|
|
81
|
-
"no-with": ["error"],
|
|
82
|
-
"object-curly-newline": "off",
|
|
83
|
-
"object-shorthand": ["error", "always"],
|
|
84
|
-
"padded-blocks": "off",
|
|
85
|
-
"prefer-const": ["error", {
|
|
86
|
-
destructuring: "all"
|
|
87
|
-
}],
|
|
88
|
-
"prefer-destructuring": ["error"],
|
|
89
|
-
radix: ["error", "as-needed"],
|
|
90
|
-
semi: "off",
|
|
91
|
-
"space-before-function-paren": "off",
|
|
92
|
-
"space-in-parens": "off",
|
|
93
|
-
strict: ["error"],
|
|
94
|
-
"use-isnan": ["error"],
|
|
95
|
-
"valid-typeof": ["error"],
|
|
96
|
-
"no-trailing-spaces": "off"
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
export {
|
|
100
|
-
e as default
|
|
101
|
-
};
|
package/dist/rules/cspell.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const s={rules:{"@cspell/spellchecker":["error",{customWordListFile:"./cspell.json"}]}};module.exports=s;
|
package/dist/rules/cspell.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
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;
|
|
@@ -1,33 +0,0 @@
|
|
|
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.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e={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"]}]}]}};module.exports=e;
|
package/dist/rules/jsdoc.js
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
const e = {
|
|
2
|
-
rules: {
|
|
3
|
-
"jsdoc/check-param-names": ["error"],
|
|
4
|
-
"jsdoc/check-tag-names": ["error"],
|
|
5
|
-
"jsdoc/no-undefined-types": "off",
|
|
6
|
-
"jsdoc/require-param": ["error", {
|
|
7
|
-
enableRestElementFixer: !1,
|
|
8
|
-
enableRootFixer: !1
|
|
9
|
-
}],
|
|
10
|
-
"jsdoc/require-jsdoc": ["off"],
|
|
11
|
-
"jsdoc/require-param-description": "off",
|
|
12
|
-
"jsdoc/require-param-type": ["error"],
|
|
13
|
-
"jsdoc/require-property-description": "off",
|
|
14
|
-
"jsdoc/require-returns": ["error", {
|
|
15
|
-
contexts: ["TSInterfaceDeclaration", "TSMethodSignature"],
|
|
16
|
-
forceRequireReturn: !0,
|
|
17
|
-
exemptedBy: ["inheritdoc", "watch"]
|
|
18
|
-
}],
|
|
19
|
-
"jsdoc/require-returns-check": ["error"],
|
|
20
|
-
"jsdoc/require-returns-description": "off",
|
|
21
|
-
"jsdoc/tag-lines": ["error"],
|
|
22
|
-
"jsdoc/valid-types": "off",
|
|
23
|
-
"jsdoc/check-types": ["error"],
|
|
24
|
-
"jsdoc/no-multi-asterisks": ["error"],
|
|
25
|
-
"jsdoc/check-alignment": ["error"],
|
|
26
|
-
"jsdoc/sort-tags": ["error", {
|
|
27
|
-
linesBetween: 1,
|
|
28
|
-
tagSequence: [{
|
|
29
|
-
tags: [
|
|
30
|
-
"todo",
|
|
31
|
-
"description",
|
|
32
|
-
"deprecated",
|
|
33
|
-
"namespace",
|
|
34
|
-
"private",
|
|
35
|
-
"protected",
|
|
36
|
-
"public",
|
|
37
|
-
"static",
|
|
38
|
-
"readonly",
|
|
39
|
-
"since",
|
|
40
|
-
"access",
|
|
41
|
-
"template",
|
|
42
|
-
"typedef",
|
|
43
|
-
"class",
|
|
44
|
-
"augments",
|
|
45
|
-
"mixes",
|
|
46
|
-
"extends",
|
|
47
|
-
"interface",
|
|
48
|
-
"this",
|
|
49
|
-
"constructor",
|
|
50
|
-
"alias",
|
|
51
|
-
"memberof",
|
|
52
|
-
"example",
|
|
53
|
-
"use",
|
|
54
|
-
"see",
|
|
55
|
-
"link",
|
|
56
|
-
"global",
|
|
57
|
-
"fires",
|
|
58
|
-
"listens",
|
|
59
|
-
"type",
|
|
60
|
-
"param",
|
|
61
|
-
"property",
|
|
62
|
-
"yields",
|
|
63
|
-
"returns",
|
|
64
|
-
"lends",
|
|
65
|
-
"override",
|
|
66
|
-
"todo"
|
|
67
|
-
]
|
|
68
|
-
}]
|
|
69
|
-
}]
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
export {
|
|
73
|
-
e as default
|
|
74
|
-
};
|
package/dist/rules/stylistic.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e={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"]}]}};module.exports=e;
|