@debbl/eslint-config 3.9.0 → 3.10.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.cjs +28 -7
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +27 -7
- package/package.json +9 -9
package/dist/index.cjs
CHANGED
|
@@ -31,6 +31,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
31
31
|
var index_exports = {};
|
|
32
32
|
__export(index_exports, {
|
|
33
33
|
GLOB_ALL_SRC: () => GLOB_ALL_SRC,
|
|
34
|
+
GLOB_ASTRO_TS: () => GLOB_ASTRO_TS,
|
|
34
35
|
GLOB_CSS: () => GLOB_CSS,
|
|
35
36
|
GLOB_EXCLUDE: () => GLOB_EXCLUDE,
|
|
36
37
|
GLOB_HTML: () => GLOB_HTML,
|
|
@@ -155,6 +156,7 @@ var GLOB_JSONC = "**/*.jsonc";
|
|
|
155
156
|
var GLOB_MARKDOWN = "**/*.md";
|
|
156
157
|
var GLOB_MDX = "**/*.mdx";
|
|
157
158
|
var GLOB_MARKDOWN_CODE = `${GLOB_MARKDOWN}/${GLOB_SRC}`;
|
|
159
|
+
var GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
158
160
|
var GLOB_VUE = "**/*.vue";
|
|
159
161
|
var GLOB_YAML = "**/*.y?(a)ml";
|
|
160
162
|
var GLOB_TOML = "**/*.toml";
|
|
@@ -1186,6 +1188,7 @@ var typescript = async (options) => {
|
|
|
1186
1188
|
tsconfigPath,
|
|
1187
1189
|
enableSolid = false
|
|
1188
1190
|
} = options ?? {};
|
|
1191
|
+
const isTypeAware = !!tsconfigPath;
|
|
1189
1192
|
const [pluginTs, parserTs] = await Promise.all([
|
|
1190
1193
|
interopDefault(import("@typescript-eslint/eslint-plugin")),
|
|
1191
1194
|
interopDefault(import("@typescript-eslint/parser"))
|
|
@@ -1224,7 +1227,6 @@ var typescript = async (options) => {
|
|
|
1224
1227
|
"solid/no-unknown-namespaces": "off"
|
|
1225
1228
|
} : {},
|
|
1226
1229
|
"no-dupe-class-members": "off",
|
|
1227
|
-
"no-loss-of-precision": "off",
|
|
1228
1230
|
"no-redeclare": "off",
|
|
1229
1231
|
"no-use-before-define": "off",
|
|
1230
1232
|
"no-useless-constructor": "off",
|
|
@@ -1244,8 +1246,8 @@ var typescript = async (options) => {
|
|
|
1244
1246
|
prefer: "type-imports"
|
|
1245
1247
|
}
|
|
1246
1248
|
],
|
|
1247
|
-
// https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
|
|
1248
1249
|
"@typescript-eslint/method-signature-style": ["error", "property"],
|
|
1250
|
+
// https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
|
|
1249
1251
|
"@typescript-eslint/no-dupe-class-members": "error",
|
|
1250
1252
|
"@typescript-eslint/no-dynamic-delete": "off",
|
|
1251
1253
|
"@typescript-eslint/no-empty-object-type": [
|
|
@@ -1256,10 +1258,17 @@ var typescript = async (options) => {
|
|
|
1256
1258
|
"@typescript-eslint/no-extraneous-class": "off",
|
|
1257
1259
|
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
1258
1260
|
"@typescript-eslint/no-invalid-void-type": "off",
|
|
1259
|
-
"@typescript-eslint/no-loss-of-precision": "error",
|
|
1260
1261
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
1261
|
-
"@typescript-eslint/no-redeclare": "error",
|
|
1262
|
+
"@typescript-eslint/no-redeclare": ["error", { builtinGlobals: false }],
|
|
1262
1263
|
"@typescript-eslint/no-require-imports": "error",
|
|
1264
|
+
"@typescript-eslint/no-unused-expressions": [
|
|
1265
|
+
"error",
|
|
1266
|
+
{
|
|
1267
|
+
allowShortCircuit: true,
|
|
1268
|
+
allowTaggedTemplates: true,
|
|
1269
|
+
allowTernary: true
|
|
1270
|
+
}
|
|
1271
|
+
],
|
|
1263
1272
|
"@typescript-eslint/no-unused-vars": "off",
|
|
1264
1273
|
"@typescript-eslint/no-use-before-define": [
|
|
1265
1274
|
"error",
|
|
@@ -1269,10 +1278,19 @@ var typescript = async (options) => {
|
|
|
1269
1278
|
"@typescript-eslint/no-wrapper-object-types": "error",
|
|
1270
1279
|
"@typescript-eslint/triple-slash-reference": "off",
|
|
1271
1280
|
"@typescript-eslint/unified-signatures": "off",
|
|
1272
|
-
...tsconfigPath ? typeAwareRules : {},
|
|
1273
1281
|
...overrides
|
|
1274
1282
|
}
|
|
1275
1283
|
},
|
|
1284
|
+
...isTypeAware ? [
|
|
1285
|
+
{
|
|
1286
|
+
name: "eslint/typescript/rules-type-aware",
|
|
1287
|
+
files: [GLOB_TS, GLOB_TSX],
|
|
1288
|
+
ignores: [`${GLOB_MARKDOWN}/**`, `${GLOB_ASTRO_TS}/**`],
|
|
1289
|
+
rules: {
|
|
1290
|
+
...typeAwareRules
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
] : [],
|
|
1276
1294
|
{
|
|
1277
1295
|
name: "eslint/typescript/dts-overrides",
|
|
1278
1296
|
files: ["**/*.d.ts"],
|
|
@@ -1311,6 +1329,9 @@ async function unicorn() {
|
|
|
1311
1329
|
unicorn: pluginUnicorn
|
|
1312
1330
|
},
|
|
1313
1331
|
rules: {
|
|
1332
|
+
"unicorn/consistent-empty-array-spread": "error",
|
|
1333
|
+
"unicorn/escape-case": "error",
|
|
1334
|
+
"unicorn/new-for-builtins": "error",
|
|
1314
1335
|
// Pass error message when throwing errors
|
|
1315
1336
|
"unicorn/error-message": "error",
|
|
1316
1337
|
// Uppercase regex escapes
|
|
@@ -1318,8 +1339,7 @@ async function unicorn() {
|
|
|
1318
1339
|
"error",
|
|
1319
1340
|
{ checkArrowFunctions: false }
|
|
1320
1341
|
],
|
|
1321
|
-
|
|
1322
|
-
"unicorn/no-instanceof-array": "error",
|
|
1342
|
+
"unicorn/no-instanceof-builtins": "error",
|
|
1323
1343
|
// Ban `new Array` as `Array` constructor's params are ambiguous
|
|
1324
1344
|
"unicorn/no-new-array": "error",
|
|
1325
1345
|
// Prevent deprecated `new Buffer()`
|
|
@@ -1815,6 +1835,7 @@ var index_default = config;
|
|
|
1815
1835
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1816
1836
|
0 && (module.exports = {
|
|
1817
1837
|
GLOB_ALL_SRC,
|
|
1838
|
+
GLOB_ASTRO_TS,
|
|
1818
1839
|
GLOB_CSS,
|
|
1819
1840
|
GLOB_EXCLUDE,
|
|
1820
1841
|
GLOB_HTML,
|
package/dist/index.d.cts
CHANGED
|
@@ -242,6 +242,7 @@ declare const GLOB_JSONC = "**/*.jsonc";
|
|
|
242
242
|
declare const GLOB_MARKDOWN = "**/*.md";
|
|
243
243
|
declare const GLOB_MDX = "**/*.mdx";
|
|
244
244
|
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
245
|
+
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
245
246
|
declare const GLOB_VUE = "**/*.vue";
|
|
246
247
|
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
247
248
|
declare const GLOB_TOML = "**/*.toml";
|
|
@@ -284,4 +285,4 @@ declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
|
284
285
|
} ? U : T>;
|
|
285
286
|
declare function getConfigOptions<T>(options: T): {};
|
|
286
287
|
|
|
287
|
-
export { type Awaitable, type ConfigFn, type ConfigItem, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type GetConfigOption, type IgnoresConfig, type JavascriptConfig, type JsoncConfig, type MarkdownConfig, type OptionsComponentExts, type OptionsConfig, type OptionsHasTypeScript, type OptionsOverrides, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type PrettierConfig, type PrettierRequiredOptions, type TestConfig, type TomlConfig, type TypeScriptConfig, type VueConfig, type YmlConfig, combine, comments, config, config as default, defineConfig, getConfigOptions, ignores, imports, interopDefault, javascript, jsdoc, jsonc, markdown, node, parserPlain, perfectionist, prettier, sortPackageJson, sortTsconfig, test, toml, typescript, unicorn, vue, yml };
|
|
288
|
+
export { type Awaitable, type ConfigFn, type ConfigItem, GLOB_ALL_SRC, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type GetConfigOption, type IgnoresConfig, type JavascriptConfig, type JsoncConfig, type MarkdownConfig, type OptionsComponentExts, type OptionsConfig, type OptionsHasTypeScript, type OptionsOverrides, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type PrettierConfig, type PrettierRequiredOptions, type TestConfig, type TomlConfig, type TypeScriptConfig, type VueConfig, type YmlConfig, combine, comments, config, config as default, defineConfig, getConfigOptions, ignores, imports, interopDefault, javascript, jsdoc, jsonc, markdown, node, parserPlain, perfectionist, prettier, sortPackageJson, sortTsconfig, test, toml, typescript, unicorn, vue, yml };
|
package/dist/index.d.ts
CHANGED
|
@@ -242,6 +242,7 @@ declare const GLOB_JSONC = "**/*.jsonc";
|
|
|
242
242
|
declare const GLOB_MARKDOWN = "**/*.md";
|
|
243
243
|
declare const GLOB_MDX = "**/*.mdx";
|
|
244
244
|
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
245
|
+
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
245
246
|
declare const GLOB_VUE = "**/*.vue";
|
|
246
247
|
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
247
248
|
declare const GLOB_TOML = "**/*.toml";
|
|
@@ -284,4 +285,4 @@ declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
|
284
285
|
} ? U : T>;
|
|
285
286
|
declare function getConfigOptions<T>(options: T): {};
|
|
286
287
|
|
|
287
|
-
export { type Awaitable, type ConfigFn, type ConfigItem, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type GetConfigOption, type IgnoresConfig, type JavascriptConfig, type JsoncConfig, type MarkdownConfig, type OptionsComponentExts, type OptionsConfig, type OptionsHasTypeScript, type OptionsOverrides, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type PrettierConfig, type PrettierRequiredOptions, type TestConfig, type TomlConfig, type TypeScriptConfig, type VueConfig, type YmlConfig, combine, comments, config, config as default, defineConfig, getConfigOptions, ignores, imports, interopDefault, javascript, jsdoc, jsonc, markdown, node, parserPlain, perfectionist, prettier, sortPackageJson, sortTsconfig, test, toml, typescript, unicorn, vue, yml };
|
|
288
|
+
export { type Awaitable, type ConfigFn, type ConfigItem, GLOB_ALL_SRC, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MDX, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type GetConfigOption, type IgnoresConfig, type JavascriptConfig, type JsoncConfig, type MarkdownConfig, type OptionsComponentExts, type OptionsConfig, type OptionsHasTypeScript, type OptionsOverrides, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type PrettierConfig, type PrettierRequiredOptions, type TestConfig, type TomlConfig, type TypeScriptConfig, type VueConfig, type YmlConfig, combine, comments, config, config as default, defineConfig, getConfigOptions, ignores, imports, interopDefault, javascript, jsdoc, jsonc, markdown, node, parserPlain, perfectionist, prettier, sortPackageJson, sortTsconfig, test, toml, typescript, unicorn, vue, yml };
|
package/dist/index.js
CHANGED
|
@@ -71,6 +71,7 @@ var GLOB_JSONC = "**/*.jsonc";
|
|
|
71
71
|
var GLOB_MARKDOWN = "**/*.md";
|
|
72
72
|
var GLOB_MDX = "**/*.mdx";
|
|
73
73
|
var GLOB_MARKDOWN_CODE = `${GLOB_MARKDOWN}/${GLOB_SRC}`;
|
|
74
|
+
var GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
74
75
|
var GLOB_VUE = "**/*.vue";
|
|
75
76
|
var GLOB_YAML = "**/*.y?(a)ml";
|
|
76
77
|
var GLOB_TOML = "**/*.toml";
|
|
@@ -1102,6 +1103,7 @@ var typescript = async (options) => {
|
|
|
1102
1103
|
tsconfigPath,
|
|
1103
1104
|
enableSolid = false
|
|
1104
1105
|
} = options ?? {};
|
|
1106
|
+
const isTypeAware = !!tsconfigPath;
|
|
1105
1107
|
const [pluginTs, parserTs] = await Promise.all([
|
|
1106
1108
|
interopDefault(import("@typescript-eslint/eslint-plugin")),
|
|
1107
1109
|
interopDefault(import("@typescript-eslint/parser"))
|
|
@@ -1140,7 +1142,6 @@ var typescript = async (options) => {
|
|
|
1140
1142
|
"solid/no-unknown-namespaces": "off"
|
|
1141
1143
|
} : {},
|
|
1142
1144
|
"no-dupe-class-members": "off",
|
|
1143
|
-
"no-loss-of-precision": "off",
|
|
1144
1145
|
"no-redeclare": "off",
|
|
1145
1146
|
"no-use-before-define": "off",
|
|
1146
1147
|
"no-useless-constructor": "off",
|
|
@@ -1160,8 +1161,8 @@ var typescript = async (options) => {
|
|
|
1160
1161
|
prefer: "type-imports"
|
|
1161
1162
|
}
|
|
1162
1163
|
],
|
|
1163
|
-
// https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
|
|
1164
1164
|
"@typescript-eslint/method-signature-style": ["error", "property"],
|
|
1165
|
+
// https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
|
|
1165
1166
|
"@typescript-eslint/no-dupe-class-members": "error",
|
|
1166
1167
|
"@typescript-eslint/no-dynamic-delete": "off",
|
|
1167
1168
|
"@typescript-eslint/no-empty-object-type": [
|
|
@@ -1172,10 +1173,17 @@ var typescript = async (options) => {
|
|
|
1172
1173
|
"@typescript-eslint/no-extraneous-class": "off",
|
|
1173
1174
|
"@typescript-eslint/no-import-type-side-effects": "error",
|
|
1174
1175
|
"@typescript-eslint/no-invalid-void-type": "off",
|
|
1175
|
-
"@typescript-eslint/no-loss-of-precision": "error",
|
|
1176
1176
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
1177
|
-
"@typescript-eslint/no-redeclare": "error",
|
|
1177
|
+
"@typescript-eslint/no-redeclare": ["error", { builtinGlobals: false }],
|
|
1178
1178
|
"@typescript-eslint/no-require-imports": "error",
|
|
1179
|
+
"@typescript-eslint/no-unused-expressions": [
|
|
1180
|
+
"error",
|
|
1181
|
+
{
|
|
1182
|
+
allowShortCircuit: true,
|
|
1183
|
+
allowTaggedTemplates: true,
|
|
1184
|
+
allowTernary: true
|
|
1185
|
+
}
|
|
1186
|
+
],
|
|
1179
1187
|
"@typescript-eslint/no-unused-vars": "off",
|
|
1180
1188
|
"@typescript-eslint/no-use-before-define": [
|
|
1181
1189
|
"error",
|
|
@@ -1185,10 +1193,19 @@ var typescript = async (options) => {
|
|
|
1185
1193
|
"@typescript-eslint/no-wrapper-object-types": "error",
|
|
1186
1194
|
"@typescript-eslint/triple-slash-reference": "off",
|
|
1187
1195
|
"@typescript-eslint/unified-signatures": "off",
|
|
1188
|
-
...tsconfigPath ? typeAwareRules : {},
|
|
1189
1196
|
...overrides
|
|
1190
1197
|
}
|
|
1191
1198
|
},
|
|
1199
|
+
...isTypeAware ? [
|
|
1200
|
+
{
|
|
1201
|
+
name: "eslint/typescript/rules-type-aware",
|
|
1202
|
+
files: [GLOB_TS, GLOB_TSX],
|
|
1203
|
+
ignores: [`${GLOB_MARKDOWN}/**`, `${GLOB_ASTRO_TS}/**`],
|
|
1204
|
+
rules: {
|
|
1205
|
+
...typeAwareRules
|
|
1206
|
+
}
|
|
1207
|
+
}
|
|
1208
|
+
] : [],
|
|
1192
1209
|
{
|
|
1193
1210
|
name: "eslint/typescript/dts-overrides",
|
|
1194
1211
|
files: ["**/*.d.ts"],
|
|
@@ -1227,6 +1244,9 @@ async function unicorn() {
|
|
|
1227
1244
|
unicorn: pluginUnicorn
|
|
1228
1245
|
},
|
|
1229
1246
|
rules: {
|
|
1247
|
+
"unicorn/consistent-empty-array-spread": "error",
|
|
1248
|
+
"unicorn/escape-case": "error",
|
|
1249
|
+
"unicorn/new-for-builtins": "error",
|
|
1230
1250
|
// Pass error message when throwing errors
|
|
1231
1251
|
"unicorn/error-message": "error",
|
|
1232
1252
|
// Uppercase regex escapes
|
|
@@ -1234,8 +1254,7 @@ async function unicorn() {
|
|
|
1234
1254
|
"error",
|
|
1235
1255
|
{ checkArrowFunctions: false }
|
|
1236
1256
|
],
|
|
1237
|
-
|
|
1238
|
-
"unicorn/no-instanceof-array": "error",
|
|
1257
|
+
"unicorn/no-instanceof-builtins": "error",
|
|
1239
1258
|
// Ban `new Array` as `Array` constructor's params are ambiguous
|
|
1240
1259
|
"unicorn/no-new-array": "error",
|
|
1241
1260
|
// Prevent deprecated `new Buffer()`
|
|
@@ -1730,6 +1749,7 @@ var config = defineConfig;
|
|
|
1730
1749
|
var index_default = config;
|
|
1731
1750
|
export {
|
|
1732
1751
|
GLOB_ALL_SRC,
|
|
1752
|
+
GLOB_ASTRO_TS,
|
|
1733
1753
|
GLOB_CSS,
|
|
1734
1754
|
GLOB_EXCLUDE,
|
|
1735
1755
|
GLOB_HTML,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@debbl/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.10.0",
|
|
5
5
|
"description": "Brendan Dash's ESLint config",
|
|
6
6
|
"author": "Brendan Dash <me@aiwan.run> (https://github.com/Debbl/)",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
30
|
-
"@eslint-react/eslint-plugin": "^1.30.
|
|
30
|
+
"@eslint-react/eslint-plugin": "^1.30.1",
|
|
31
31
|
"@eslint/markdown": "^6.2.2",
|
|
32
|
-
"@next/eslint-plugin-next": "^15.2.
|
|
33
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
34
|
-
"@typescript-eslint/parser": "^8.
|
|
32
|
+
"@next/eslint-plugin-next": "^15.2.1",
|
|
33
|
+
"@typescript-eslint/eslint-plugin": "^8.26.0",
|
|
34
|
+
"@typescript-eslint/parser": "^8.26.0",
|
|
35
35
|
"@vitest/eslint-plugin": "^1.1.36",
|
|
36
36
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
37
37
|
"eslint-config-prettier": "^10.0.2",
|
|
38
38
|
"eslint-plugin-import-x": "^4.6.1",
|
|
39
39
|
"eslint-plugin-jsdoc": "^50.6.3",
|
|
40
40
|
"eslint-plugin-jsonc": "^2.19.1",
|
|
41
|
-
"eslint-plugin-n": "^17.16.
|
|
41
|
+
"eslint-plugin-n": "^17.16.2",
|
|
42
42
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
43
43
|
"eslint-plugin-perfectionist": "^4.9.0",
|
|
44
44
|
"eslint-plugin-prettier": "^5.2.3",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@eslint/config-inspector": "^1.0.1",
|
|
65
65
|
"@types/eslint": "^9.6.1",
|
|
66
66
|
"@types/fs-extra": "^11.0.4",
|
|
67
|
-
"@types/node": "^22.13.
|
|
67
|
+
"@types/node": "^22.13.9",
|
|
68
68
|
"@types/react": "^19.0.10",
|
|
69
69
|
"bumpp": "^10.0.3",
|
|
70
70
|
"eslint": "^9.21.0",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"scripts": {
|
|
81
81
|
"build": "tsup",
|
|
82
82
|
"stub": "tsup --format esm",
|
|
83
|
-
"dev": "pnpm build && pnpm
|
|
84
|
-
"build:inspector": "pnpm build &&
|
|
83
|
+
"dev": "pnpm build && pnpm exec eslint-config-inspector --config eslint.config.js",
|
|
84
|
+
"build:inspector": "pnpm build && pnpm exec eslint-config-inspector build",
|
|
85
85
|
"watch": "tsup --format esm,cjs --watch",
|
|
86
86
|
"test": "vitest",
|
|
87
87
|
"typecheck": "tsc --noEmit",
|