@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/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": ["error", {
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.10.1",
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": "tsgo --noEmit --emitDeclarationOnly false"
46
+ "typecheck": "tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@antfu/install-pkg": "1.1.0",
49
+ "@antfu/install-pkg": "2.0.1",
50
50
  "@clack/prompts": "1.7.0",
51
- "@e18e/eslint-plugin": "0.5.1",
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.6.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.62.1",
59
- "@typescript-eslint/parser": "8.62.1",
60
- "@typescript-eslint/utils": "8.62.1",
61
- "@vitest/eslint-plugin": "1.6.21",
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.2",
68
+ "eslint-plugin-command": "3.5.3",
69
69
  "eslint-plugin-import-lite": "0.6.0",
70
- "eslint-plugin-jsdoc": "63.0.11",
71
- "eslint-plugin-jsonc": "3.2.0",
72
- "eslint-plugin-n": "18.2.1",
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.9.1",
75
- "eslint-plugin-pnpm": "1.6.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.4.0",
78
- "eslint-plugin-unicorn": "70.0.0",
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.9.2",
81
- "eslint-plugin-yml": "3.5.0",
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.7.0",
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.0.0"
89
+ "yaml-eslint-parser": "2.1.0"
90
90
  },
91
91
  "devDependencies": {
92
- "@eslint-react/eslint-plugin": "5.10.4",
93
- "@eslint/config-inspector": "3.0.4",
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.10",
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.0",
101
- "@typescript/native-preview": "7.0.0-dev.20260704.1",
102
- "@unocss/eslint-plugin": "66.7.4",
103
- "astro-eslint-parser": "2.1.0",
104
- "eslint": "10.6.0",
105
- "eslint-plugin-astro": "2.1.1",
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.4.6",
113
- "eslint-plugin-svelte": "3.20.0",
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": "9.6.1",
115
+ "execa": "10.0.0",
117
116
  "find-up-simple": "1.0.1",
118
117
  "jiti": "2.7.0",
119
- "pnpm-workspace-yaml": "1.6.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.4",
121
+ "svelte": "5.56.8",
123
122
  "svelte-eslint-parser": "1.8.0",
124
123
  "tinyglobby": "0.2.17",
125
- "tsdown": "0.22.3",
124
+ "tsdown": "0.22.14",
126
125
  "typescript": "6.0.3",
127
- "vitest": "4.1.9",
128
- "vue": "3.5.39"
126
+ "vitest": "4.1.10",
127
+ "vue": "3.5.40"
129
128
  },
130
129
  "peerDependencies": {
131
- "@eslint-react/eslint-plugin": "^5.10.4",
132
- "@next/eslint-plugin-next": "^16.2.10",
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.4",
136
- "astro-eslint-parser": "^2.1.0",
137
- "eslint": "^10.6.0",
138
- "eslint-plugin-astro": "^2.1.1",
139
- "eslint-plugin-better-tailwindcss": "^4.6.1",
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.4.6",
146
- "eslint-plugin-svelte": "^3.20.0",
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",