@infernodesign/eslint-config 2.10.0 → 2.10.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/dist/cli.js +1 -1
- package/dist/index.js +1 -12
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ import { cac } from "cac";
|
|
|
8
8
|
import parse from "parse-gitignore";
|
|
9
9
|
import { execSync } from "node:child_process";
|
|
10
10
|
//#region package.json
|
|
11
|
-
var version = "2.10.
|
|
11
|
+
var version = "2.10.2";
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/cli/constants.ts
|
|
14
14
|
const vscodeSettingsString = `
|
package/dist/index.js
CHANGED
|
@@ -2722,7 +2722,6 @@ const TypeScriptRuleRenames = { "@typescript-eslint": "ts" };
|
|
|
2722
2722
|
const configuredRules = /* @__PURE__ */ new Set([
|
|
2723
2723
|
"no-dupe-class-members",
|
|
2724
2724
|
"no-redeclare",
|
|
2725
|
-
"no-unused-vars",
|
|
2726
2725
|
"no-use-before-define",
|
|
2727
2726
|
"no-useless-constructor",
|
|
2728
2727
|
"ts/ban-ts-comment",
|
|
@@ -2832,7 +2831,6 @@ async function typescript(options = {}) {
|
|
|
2832
2831
|
...renamePresetRules(pluginTs.configs.stylistic?.rules ?? {}, configuredRules),
|
|
2833
2832
|
"no-dupe-class-members": "off",
|
|
2834
2833
|
"no-redeclare": "off",
|
|
2835
|
-
"no-unused-vars": "off",
|
|
2836
2834
|
"no-use-before-define": "off",
|
|
2837
2835
|
"no-useless-constructor": "off",
|
|
2838
2836
|
"ts/ban-ts-comment": ["error", { "ts-expect-error": "allow-with-description" }],
|
|
@@ -2862,16 +2860,7 @@ async function typescript(options = {}) {
|
|
|
2862
2860
|
allowTaggedTemplates: true,
|
|
2863
2861
|
allowTernary: true
|
|
2864
2862
|
}],
|
|
2865
|
-
"ts/no-unused-vars":
|
|
2866
|
-
args: "all",
|
|
2867
|
-
argsIgnorePattern: "^_",
|
|
2868
|
-
caughtErrors: "all",
|
|
2869
|
-
caughtErrorsIgnorePattern: "^_",
|
|
2870
|
-
destructuredArrayIgnorePattern: "^_",
|
|
2871
|
-
varsIgnorePattern: "^_",
|
|
2872
|
-
ignoreRestSiblings: true,
|
|
2873
|
-
enableAutofixRemoval: { imports: true }
|
|
2874
|
-
}],
|
|
2863
|
+
"ts/no-unused-vars": "off",
|
|
2875
2864
|
"ts/no-use-before-define": ["error", {
|
|
2876
2865
|
classes: false,
|
|
2877
2866
|
functions: false,
|
package/package.json
CHANGED