@infernodesign/eslint-config 2.10.1 → 2.11.0
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.d.ts +1 -1
- package/dist/cli.js +16 -17
- package/dist/index.d.ts +2521 -1337
- package/dist/index.js +4 -12
- package/package.json +47 -48
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,19 +2860,13 @@ 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: false }
|
|
2874
|
-
}],
|
|
2863
|
+
"ts/no-unused-vars": "off",
|
|
2875
2864
|
"ts/no-use-before-define": ["error", {
|
|
2876
2865
|
classes: false,
|
|
2866
|
+
enums: true,
|
|
2877
2867
|
functions: false,
|
|
2868
|
+
ignoreTypeReferences: true,
|
|
2869
|
+
typedefs: true,
|
|
2878
2870
|
variables: true
|
|
2879
2871
|
}],
|
|
2880
2872
|
"ts/no-useless-constructor": "off",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infernodesign/eslint-config",
|
|
3
3
|
"description": "ESLint config for Inferno Design.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.11.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Inferno Design <support@infernodesign.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -43,107 +43,106 @@
|
|
|
43
43
|
"lint": "eslint --quiet",
|
|
44
44
|
"prepack": "bun run build",
|
|
45
45
|
"test": "vitest",
|
|
46
|
-
"typecheck": "
|
|
46
|
+
"typecheck": "tsc --noEmit"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@antfu/install-pkg": "
|
|
49
|
+
"@antfu/install-pkg": "2.0.1",
|
|
50
50
|
"@clack/prompts": "1.7.0",
|
|
51
|
-
"@e18e/eslint-plugin": "0.
|
|
51
|
+
"@e18e/eslint-plugin": "0.6.0",
|
|
52
52
|
"@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
|
|
53
53
|
"@eslint/compat": "2.1.0",
|
|
54
54
|
"@eslint/config-array": "0.23.5",
|
|
55
|
-
"@eslint/config-helpers": "0.
|
|
55
|
+
"@eslint/config-helpers": "0.7.0",
|
|
56
56
|
"@eslint/markdown": "8.0.3",
|
|
57
57
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
59
|
-
"@typescript-eslint/parser": "8.
|
|
60
|
-
"@typescript-eslint/utils": "8.
|
|
61
|
-
"@vitest/eslint-plugin": "1.6.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "8.65.0",
|
|
59
|
+
"@typescript-eslint/parser": "8.65.0",
|
|
60
|
+
"@typescript-eslint/utils": "8.65.0",
|
|
61
|
+
"@vitest/eslint-plugin": "1.6.24",
|
|
62
62
|
"ansis": "4.3.1",
|
|
63
63
|
"cac": "7.0.0",
|
|
64
64
|
"eslint-config-flat-gitignore": "2.3.0",
|
|
65
65
|
"eslint-flat-config-utils": "3.2.0",
|
|
66
66
|
"eslint-merge-processors": "2.0.0",
|
|
67
67
|
"eslint-plugin-antfu": "3.2.3",
|
|
68
|
-
"eslint-plugin-command": "3.5.
|
|
68
|
+
"eslint-plugin-command": "3.5.3",
|
|
69
69
|
"eslint-plugin-import-lite": "0.6.0",
|
|
70
|
-
"eslint-plugin-jsdoc": "63.
|
|
71
|
-
"eslint-plugin-jsonc": "3.
|
|
72
|
-
"eslint-plugin-n": "18.2.
|
|
70
|
+
"eslint-plugin-jsdoc": "63.3.2",
|
|
71
|
+
"eslint-plugin-jsonc": "3.3.0",
|
|
72
|
+
"eslint-plugin-n": "18.2.2",
|
|
73
73
|
"eslint-plugin-no-only-tests": "3.4.0",
|
|
74
|
-
"eslint-plugin-perfectionist": "5.
|
|
75
|
-
"eslint-plugin-pnpm": "1.
|
|
74
|
+
"eslint-plugin-perfectionist": "5.10.0",
|
|
75
|
+
"eslint-plugin-pnpm": "1.7.0",
|
|
76
76
|
"eslint-plugin-regexp": "3.1.1",
|
|
77
|
-
"eslint-plugin-toml": "1.
|
|
78
|
-
"eslint-plugin-unicorn": "
|
|
77
|
+
"eslint-plugin-toml": "1.5.0",
|
|
78
|
+
"eslint-plugin-unicorn": "72.0.0",
|
|
79
79
|
"eslint-plugin-unused-imports": "4.4.1",
|
|
80
|
-
"eslint-plugin-vue": "10.
|
|
81
|
-
"eslint-plugin-yml": "3.
|
|
80
|
+
"eslint-plugin-vue": "10.10.0",
|
|
81
|
+
"eslint-plugin-yml": "3.6.0",
|
|
82
82
|
"eslint-processor-vue-blocks": "2.0.0",
|
|
83
|
-
"globals": "17.
|
|
83
|
+
"globals": "17.8.0",
|
|
84
84
|
"jsonc-eslint-parser": "3.1.0",
|
|
85
85
|
"local-pkg": "1.2.1",
|
|
86
86
|
"parse-gitignore": "2.0.0",
|
|
87
87
|
"toml-eslint-parser": "1.0.3",
|
|
88
88
|
"vue-eslint-parser": "10.4.1",
|
|
89
|
-
"yaml-eslint-parser": "2.
|
|
89
|
+
"yaml-eslint-parser": "2.1.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@eslint-react/eslint-plugin": "5.
|
|
93
|
-
"@eslint/config-inspector": "3.0
|
|
92
|
+
"@eslint-react/eslint-plugin": "5.18.0",
|
|
93
|
+
"@eslint/config-inspector": "3.1.0",
|
|
94
94
|
"@infernodesign/typescript-config": "workspace:*",
|
|
95
|
-
"@next/eslint-plugin-next": "16.2.
|
|
95
|
+
"@next/eslint-plugin-next": "16.2.12",
|
|
96
96
|
"@prettier/plugin-xml": "3.4.2",
|
|
97
97
|
"@sanity-labs/eslint-plugin": "1.0.0",
|
|
98
98
|
"@types/bun": "1.3.14",
|
|
99
99
|
"@types/eslint-plugin-jsx-a11y": "6.10.1",
|
|
100
|
-
"@types/node": "26.1.
|
|
101
|
-
"@
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"eslint": "
|
|
105
|
-
"eslint-plugin-
|
|
106
|
-
"eslint-plugin-better-tailwindcss": "4.6.1",
|
|
100
|
+
"@types/node": "26.1.2",
|
|
101
|
+
"@unocss/eslint-plugin": "66.7.5",
|
|
102
|
+
"astro-eslint-parser": "3.0.0",
|
|
103
|
+
"eslint": "10.8.0",
|
|
104
|
+
"eslint-plugin-astro": "3.0.1",
|
|
105
|
+
"eslint-plugin-better-tailwindcss": "4.7.0",
|
|
107
106
|
"eslint-plugin-erasable-syntax-only": "0.4.2",
|
|
108
107
|
"eslint-plugin-format": "2.0.1",
|
|
109
108
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
110
109
|
"eslint-plugin-react-refresh": "0.5.3",
|
|
111
110
|
"eslint-plugin-solid": "0.14.5",
|
|
112
|
-
"eslint-plugin-storybook": "10.
|
|
113
|
-
"eslint-plugin-svelte": "3.
|
|
111
|
+
"eslint-plugin-storybook": "10.5.5",
|
|
112
|
+
"eslint-plugin-svelte": "3.22.0",
|
|
114
113
|
"eslint-plugin-vuejs-accessibility": "2.5.0",
|
|
115
114
|
"eslint-typegen": "2.3.1",
|
|
116
|
-
"execa": "
|
|
115
|
+
"execa": "10.0.0",
|
|
117
116
|
"find-up-simple": "1.0.1",
|
|
118
117
|
"jiti": "2.7.0",
|
|
119
|
-
"pnpm-workspace-yaml": "1.
|
|
118
|
+
"pnpm-workspace-yaml": "1.7.0",
|
|
120
119
|
"prettier-plugin-astro": "0.14.1",
|
|
121
120
|
"prettier-plugin-slidev": "1.0.5",
|
|
122
|
-
"svelte": "5.56.
|
|
121
|
+
"svelte": "5.56.8",
|
|
123
122
|
"svelte-eslint-parser": "1.8.0",
|
|
124
123
|
"tinyglobby": "0.2.17",
|
|
125
|
-
"tsdown": "0.22.
|
|
124
|
+
"tsdown": "0.22.14",
|
|
126
125
|
"typescript": "6.0.3",
|
|
127
|
-
"vitest": "4.1.
|
|
128
|
-
"vue": "3.5.
|
|
126
|
+
"vitest": "4.1.10",
|
|
127
|
+
"vue": "3.5.40"
|
|
129
128
|
},
|
|
130
129
|
"peerDependencies": {
|
|
131
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
132
|
-
"@next/eslint-plugin-next": "^16.2.
|
|
130
|
+
"@eslint-react/eslint-plugin": "^5.18.0",
|
|
131
|
+
"@next/eslint-plugin-next": "^16.2.12",
|
|
133
132
|
"@prettier/plugin-xml": "^3.4.2",
|
|
134
133
|
"@sanity-labs/eslint-plugin": "^1.0.0",
|
|
135
|
-
"@unocss/eslint-plugin": "^66.7.
|
|
136
|
-
"astro-eslint-parser": "^
|
|
137
|
-
"eslint": "^10.
|
|
138
|
-
"eslint-plugin-astro": "^
|
|
139
|
-
"eslint-plugin-better-tailwindcss": "^4.
|
|
134
|
+
"@unocss/eslint-plugin": "^66.7.5",
|
|
135
|
+
"astro-eslint-parser": "^3.0.0",
|
|
136
|
+
"eslint": "^10.8.0",
|
|
137
|
+
"eslint-plugin-astro": "^3.0.1",
|
|
138
|
+
"eslint-plugin-better-tailwindcss": "^4.7.0",
|
|
140
139
|
"eslint-plugin-erasable-syntax-only": "^0.4.2",
|
|
141
140
|
"eslint-plugin-format": "^2.0.1",
|
|
142
141
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
143
142
|
"eslint-plugin-react-refresh": "^0.5.3",
|
|
144
143
|
"eslint-plugin-solid": "^0.14.5",
|
|
145
|
-
"eslint-plugin-storybook": "^10.
|
|
146
|
-
"eslint-plugin-svelte": "^3.
|
|
144
|
+
"eslint-plugin-storybook": "^10.5.5",
|
|
145
|
+
"eslint-plugin-svelte": "^3.22.0",
|
|
147
146
|
"eslint-plugin-vuejs-accessibility": "^2.5.0",
|
|
148
147
|
"prettier-plugin-astro": "^0.14.1",
|
|
149
148
|
"prettier-plugin-slidev": "^1.0.5",
|