@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/main.js
CHANGED
|
@@ -10,10 +10,7 @@ const f = /* @__PURE__ */ new Set(), S = [
|
|
|
10
10
|
"@eslint/eslintrc",
|
|
11
11
|
"@eslint/js",
|
|
12
12
|
"@stylistic/eslint-plugin",
|
|
13
|
-
"@stylistic/eslint-plugin-migrate",
|
|
14
13
|
"@types/eslint",
|
|
15
|
-
"@types/eslint__eslintrc",
|
|
16
|
-
"@types/eslint__js",
|
|
17
14
|
"@typescript-eslint/eslint-plugin",
|
|
18
15
|
"@typescript-eslint/parser",
|
|
19
16
|
"eslint",
|
|
@@ -27,10 +24,10 @@ const f = /* @__PURE__ */ new Set(), S = [
|
|
|
27
24
|
"typescript-eslint"
|
|
28
25
|
];
|
|
29
26
|
function m(e) {
|
|
30
|
-
const
|
|
31
|
-
if (!
|
|
32
|
-
throw new Error(`Unable to locate package.json: ${
|
|
33
|
-
return JSON.parse(
|
|
27
|
+
const s = y.resolve(e, "package.json"), n = w.readFileSync(s, "utf8");
|
|
28
|
+
if (!n)
|
|
29
|
+
throw new Error(`Unable to locate package.json: ${s}`);
|
|
30
|
+
return JSON.parse(n);
|
|
34
31
|
}
|
|
35
32
|
function k() {
|
|
36
33
|
const e = m(process.cwd());
|
|
@@ -49,62 +46,62 @@ function E() {
|
|
|
49
46
|
async function D() {
|
|
50
47
|
if (d)
|
|
51
48
|
return;
|
|
52
|
-
const e = k(),
|
|
53
|
-
if (!
|
|
49
|
+
const e = k(), n = Object.entries(E()).filter(([t, o]) => S.includes(t) && !f.has(t) && (!e[t] || e[t] !== o));
|
|
50
|
+
if (!n.length)
|
|
54
51
|
return;
|
|
55
|
-
const
|
|
56
|
-
console.info("Missing dependencies detected:"), console.info(
|
|
52
|
+
const r = n.map(([t, o]) => `${t}@${o.replace(/^\W+/, "")}`);
|
|
53
|
+
console.info("Missing dependencies detected:"), console.info(r.map((t) => ` - ${t}`).join(`
|
|
57
54
|
`)), console.info(`
|
|
58
|
-
Installing dependencies:`), await h(
|
|
55
|
+
Installing dependencies:`), await h(r, { dev: !0, additionalArgs: ["-E"] }), process.exit(1);
|
|
59
56
|
}
|
|
60
57
|
function $(e) {
|
|
61
58
|
if (typeof e == "boolean") {
|
|
62
|
-
d =
|
|
59
|
+
d = e;
|
|
63
60
|
return;
|
|
64
61
|
}
|
|
65
|
-
e.forEach((
|
|
62
|
+
e.forEach((s) => f.add(String(s)));
|
|
66
63
|
}
|
|
67
64
|
function u(...e) {
|
|
68
65
|
return v.withOptions({ mergeArrays: !1 }, ...e);
|
|
69
66
|
}
|
|
70
67
|
const a = /* @__PURE__ */ new Set();
|
|
71
68
|
function c(e) {
|
|
72
|
-
e.forEach((
|
|
73
|
-
a.add(
|
|
69
|
+
e.forEach((s) => {
|
|
70
|
+
a.add(s);
|
|
74
71
|
});
|
|
75
72
|
}
|
|
76
|
-
function
|
|
73
|
+
function C(e) {
|
|
77
74
|
if (!Array.isArray(e))
|
|
78
75
|
return "warn";
|
|
79
|
-
const [, ...
|
|
80
|
-
return ["warn", ...
|
|
76
|
+
const [, ...s] = e;
|
|
77
|
+
return ["warn", ...s];
|
|
81
78
|
}
|
|
82
|
-
function l(e,
|
|
83
|
-
let
|
|
84
|
-
return Array.isArray(
|
|
85
|
-
e[
|
|
86
|
-
}), Object.entries(e).reduce((
|
|
79
|
+
function l(e, s) {
|
|
80
|
+
let n = s || a;
|
|
81
|
+
return Array.isArray(n) && (n = new Set(n)), !e || !n.size ? e : (s && n.forEach((r) => {
|
|
82
|
+
e[r] || j(`Unknown rule "${r}". Please remove it from the silenced rules list.`);
|
|
83
|
+
}), Object.entries(e).reduce((r, [t, o]) => (o && (r[t] = n.has(t) ? C(o) : o), r), {}));
|
|
87
84
|
}
|
|
88
85
|
if (import.meta.vitest) {
|
|
89
|
-
const { vi: e, describe:
|
|
86
|
+
const { vi: e, describe: s, test: n, expect: r, afterEach: t } = import.meta.vitest, o = e.hoisted(() => ({
|
|
90
87
|
warn: e.fn()
|
|
91
88
|
}));
|
|
92
|
-
e.mock("node:console", () => o),
|
|
89
|
+
e.mock("node:console", () => o), t(() => {
|
|
93
90
|
a.clear();
|
|
94
|
-
}),
|
|
95
|
-
|
|
91
|
+
}), s("silenceRules", () => {
|
|
92
|
+
n("should register given rule keys as silenced", () => {
|
|
96
93
|
const i = "@stylistic/type-generic-spacing";
|
|
97
|
-
|
|
94
|
+
r(a.has(i)).toBe(!1), c([i]), r(a.has(i)).toBe(!0);
|
|
98
95
|
});
|
|
99
|
-
}),
|
|
100
|
-
|
|
96
|
+
}), s("filterSilencedRules", () => {
|
|
97
|
+
n("should return the same rules object if no rules are silenced", () => {
|
|
101
98
|
const i = {
|
|
102
99
|
"no-console": "warn",
|
|
103
100
|
"no-debugger": "warn"
|
|
104
101
|
};
|
|
105
|
-
|
|
106
|
-
}),
|
|
107
|
-
c(["no-console"]),
|
|
102
|
+
r(l(i)).toBe(i);
|
|
103
|
+
}), n("should return a new rules object with silenced rules silenced and other rules unchanged", () => {
|
|
104
|
+
c(["no-console"]), r(l({
|
|
108
105
|
"no-console": "error",
|
|
109
106
|
"no-debugger": "warn",
|
|
110
107
|
"no-alert": "error"
|
|
@@ -113,8 +110,8 @@ if (import.meta.vitest) {
|
|
|
113
110
|
"no-debugger": "warn",
|
|
114
111
|
"no-alert": "error"
|
|
115
112
|
});
|
|
116
|
-
}),
|
|
117
|
-
c(["no-bitwise", "new-cap"]),
|
|
113
|
+
}), n("should return a new rules object with silenced rules silenced and other rules unchanged", () => {
|
|
114
|
+
c(["no-bitwise", "new-cap"]), r(l({
|
|
118
115
|
"max-len": "off",
|
|
119
116
|
"new-cap": ["error"],
|
|
120
117
|
"no-alert": ["error"],
|
|
@@ -129,24 +126,24 @@ if (import.meta.vitest) {
|
|
|
129
126
|
allow: ["~"]
|
|
130
127
|
}]
|
|
131
128
|
});
|
|
132
|
-
}),
|
|
129
|
+
}), n("should not warn about unknown rules", () => {
|
|
133
130
|
c(["no-console", "no-bitwise"]), l({
|
|
134
131
|
"no-console": "error",
|
|
135
132
|
"no-debugger": "warn",
|
|
136
133
|
"no-alert": "error"
|
|
137
|
-
}),
|
|
138
|
-
}),
|
|
134
|
+
}), r(o.warn).not.toHaveBeenCalled(), r(o.warn).not.toHaveBeenCalled();
|
|
135
|
+
}), n("should warn about unknown rules", () => {
|
|
139
136
|
l({
|
|
140
137
|
"no-console": "error",
|
|
141
138
|
"no-debugger": "warn",
|
|
142
139
|
"no-alert": "error"
|
|
143
|
-
}, ["no-console", "no-bitwise"]),
|
|
144
|
-
}),
|
|
140
|
+
}, ["no-console", "no-bitwise"]), r(o.warn).toHaveBeenCalledTimes(1), r(o.warn).toHaveBeenCalledWith('Unknown rule "no-bitwise". Please remove it from the silenced rules list.');
|
|
141
|
+
}), n.each([
|
|
145
142
|
[["@typescript-eslint/no-unsafe-call"], "warn"],
|
|
146
143
|
[/* @__PURE__ */ new Set(["@typescript-eslint/no-unsafe-call"]), "warn"],
|
|
147
144
|
[[], "error"]
|
|
148
145
|
])("#%# should filter scope-related rules and ignore globally silenced rules", (i, g) => {
|
|
149
|
-
c(["@typescript-eslint/no-unsafe-assignment"]),
|
|
146
|
+
c(["@typescript-eslint/no-unsafe-assignment"]), r(l({
|
|
150
147
|
"@typescript-eslint/no-unsafe-assignment": "error",
|
|
151
148
|
"@typescript-eslint/no-unsafe-member-access": "error",
|
|
152
149
|
"@typescript-eslint/no-unsafe-call": "error"
|
|
@@ -159,38 +156,41 @@ if (import.meta.vitest) {
|
|
|
159
156
|
});
|
|
160
157
|
}
|
|
161
158
|
function U(...e) {
|
|
162
|
-
return e.flat().reduce((
|
|
159
|
+
return e.flat().reduce((s, n) => u(s, n), {});
|
|
163
160
|
}
|
|
164
161
|
const p = {
|
|
165
162
|
async config() {
|
|
166
|
-
return import("./index-
|
|
163
|
+
return import("./index-C2p6z9H4.js");
|
|
167
164
|
},
|
|
168
165
|
async javascript() {
|
|
169
|
-
return import("./index-
|
|
166
|
+
return import("./index-BbY-DzQZ.js");
|
|
170
167
|
},
|
|
171
168
|
async "javascript-node"() {
|
|
172
|
-
return import("./index-
|
|
169
|
+
return import("./index-C__itRdP.js");
|
|
173
170
|
},
|
|
174
171
|
async "javascript-dom"() {
|
|
175
|
-
return import("./index-
|
|
172
|
+
return import("./index-C9C56Sak.js");
|
|
176
173
|
},
|
|
177
174
|
async typescript() {
|
|
178
|
-
return import("./index-
|
|
175
|
+
return import("./index-5XpuN8zJ.js");
|
|
179
176
|
},
|
|
180
177
|
async "typescript-node"() {
|
|
181
|
-
return import("./index-
|
|
178
|
+
return import("./index-Cy4JQvOe.js");
|
|
182
179
|
},
|
|
183
180
|
async "typescript-dom"() {
|
|
184
|
-
return import("./index-
|
|
181
|
+
return import("./index-kDh8-AEb.js");
|
|
185
182
|
},
|
|
186
183
|
async vue3() {
|
|
187
|
-
return import("./index-
|
|
184
|
+
return import("./index-C2ejyG13.js");
|
|
188
185
|
},
|
|
189
186
|
async "vue3-typescript"() {
|
|
190
|
-
return import("./index-
|
|
187
|
+
return import("./index-PPmRJNMx.js");
|
|
191
188
|
},
|
|
192
189
|
async vue2() {
|
|
193
|
-
return import("./index-
|
|
190
|
+
return import("./index-uJNHwtXG.js");
|
|
191
|
+
},
|
|
192
|
+
async "vue2-typescript"() {
|
|
193
|
+
return import("./index-BfVokhiU.js");
|
|
194
194
|
},
|
|
195
195
|
async jest() {
|
|
196
196
|
return import("./index-CG7O0RJO.js");
|
|
@@ -201,8 +201,10 @@ const p = {
|
|
|
201
201
|
};
|
|
202
202
|
async function H(e) {
|
|
203
203
|
await D();
|
|
204
|
-
const
|
|
205
|
-
|
|
204
|
+
const s = e.preset.map(async (o) => typeof p[o] == "function" && (await p[o]()).default).filter(Boolean), r = (await Promise.all(s)).reduce((o, i) => u(o, i), {});
|
|
205
|
+
delete r.files;
|
|
206
|
+
const t = u(r, e.config);
|
|
207
|
+
return t ? (e.silenceRules ? t.rules = l(t.rules, e.silenceRules) : t.rules = l(t.rules), t) : Promise.reject(new Error("No config found"));
|
|
206
208
|
}
|
|
207
209
|
export {
|
|
208
210
|
u as merge,
|
package/dist/rules/core.d.ts
CHANGED
package/dist/rules/cspell.d.ts
CHANGED
package/dist/rules/jsdoc.d.ts
CHANGED
package/dist/rules/vue.d.ts
CHANGED
package/dist/rules/vue2.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { Linter } from 'eslint';
|
|
2
|
-
declare const
|
|
3
|
-
export
|
|
2
|
+
export declare const vue2Options: Linter.Config;
|
|
3
|
+
export declare const vue2Composition: Linter.Config;
|
|
@@ -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=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;
|