@alextheman/eslint-plugin 1.12.1 → 1.13.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 CHANGED
@@ -3706,14 +3706,14 @@ module.exports = __toCommonJS(index_exports);
3706
3706
 
3707
3707
  // package.json
3708
3708
  var name = "@alextheman/eslint-plugin";
3709
- var version = "1.12.1";
3709
+ var version = "1.13.0";
3710
3710
 
3711
3711
  // src/configs/alexPluginBase.ts
3712
- function createAlexPluginBaseConfig(plugin2) {
3712
+ function createAlexPluginBaseConfig(plugin) {
3713
3713
  return [
3714
3714
  {
3715
3715
  plugins: {
3716
- "@alextheman": plugin2
3716
+ "@alextheman": plugin
3717
3717
  },
3718
3718
  rules: {
3719
3719
  "@alextheman/no-namespace-imports": "error",
@@ -3739,6 +3739,7 @@ var import_eslint_plugin = __toESM(require("@typescript-eslint/eslint-plugin"),
3739
3739
  var import_parser = __toESM(require("@typescript-eslint/parser"), 1);
3740
3740
  var import_eslint_config_prettier = __toESM(require("eslint-config-prettier"), 1);
3741
3741
  var import_eslint_plugin_import = __toESM(require("eslint-plugin-import"), 1);
3742
+ var import_eslint_plugin_package_json = __toESM(require("eslint-plugin-package-json"), 1);
3742
3743
  var import_eslint_plugin_perfectionist = __toESM(require("eslint-plugin-perfectionist"), 1);
3743
3744
  var import_eslint_plugin_prettier = __toESM(require("eslint-plugin-prettier"), 1);
3744
3745
  var import_globals = __toESM(require_globals2(), 1);
@@ -3753,6 +3754,7 @@ var prettierRules_default = prettierRules;
3753
3754
  var typeScriptBase = [
3754
3755
  import_js.default.configs.recommended,
3755
3756
  import_eslint_config_prettier.default,
3757
+ import_eslint_plugin_package_json.default.configs.recommended,
3756
3758
  {
3757
3759
  name: "@alextheman/eslint-config-typescript-base",
3758
3760
  files: ["**/*.ts", "**/*.tsx"],
@@ -3852,8 +3854,8 @@ var typeScriptBase = [
3852
3854
  var typeScriptBase_default = typeScriptBase;
3853
3855
 
3854
3856
  // src/configs/alexTypeScriptBase.ts
3855
- function createAlexTypeScriptBaseConfig(plugin2) {
3856
- return [...alexPluginBase_default(plugin2), ...typeScriptBase_default];
3857
+ function createAlexTypeScriptBaseConfig(plugin) {
3858
+ return [...alexPluginBase_default(plugin), ...typeScriptBase_default];
3857
3859
  }
3858
3860
  var alexTypeScriptBase_default = createAlexTypeScriptBaseConfig;
3859
3861
 
@@ -3895,8 +3897,8 @@ var typeScriptReactBase = [
3895
3897
  var typeScriptReactBase_default = typeScriptReactBase;
3896
3898
 
3897
3899
  // src/configs/alexTypeScriptReactBase.ts
3898
- function createAlexTypeScriptReactBaseConfig(plugin2) {
3899
- return [...alexTypeScriptBase_default(plugin2), ...typeScriptReactBase_default];
3900
+ function createAlexTypeScriptReactBaseConfig(plugin) {
3901
+ return [...alexTypeScriptBase_default(plugin), ...typeScriptReactBase_default];
3900
3902
  }
3901
3903
  var alexTypeScriptReactBase_default = createAlexTypeScriptReactBaseConfig;
3902
3904
 
@@ -3904,12 +3906,12 @@ var alexTypeScriptReactBase_default = createAlexTypeScriptReactBaseConfig;
3904
3906
  var import_utils2 = require("@typescript-eslint/utils");
3905
3907
  var import_zod = __toESM(require("zod"), 1);
3906
3908
 
3907
- // src/create-rule.ts
3909
+ // src/createRule.ts
3908
3910
  var import_utils = require("@typescript-eslint/utils");
3909
3911
  var createRule = import_utils.ESLintUtils.RuleCreator((ruleName) => {
3910
3912
  return `https://github.com/AlexMan123456/eslint-plugin/${ruleName}`;
3911
3913
  });
3912
- var create_rule_default = createRule;
3914
+ var createRule_default = createRule;
3913
3915
 
3914
3916
  // src/utility/getImportSpecifiersAfterRemoving.ts
3915
3917
  function getImportSpecifiersAfterRemoving(context, specifiers, importToRemove) {
@@ -3923,7 +3925,7 @@ var getImportSpecifiersAfterRemoving_default = getImportSpecifiersAfterRemoving;
3923
3925
 
3924
3926
  // src/rules/consistent-test-function.ts
3925
3927
  var validTestFunctionsSchema = import_zod.default.enum(["test", "it"]);
3926
- var consistentTestFunction = create_rule_default({
3928
+ var consistentTestFunction = createRule_default({
3927
3929
  name: "consistent-test-function",
3928
3930
  meta: {
3929
3931
  docs: {
@@ -4063,7 +4065,7 @@ function checkCallExpression(node, objectName, propertyName) {
4063
4065
  var checkCallExpression_default = checkCallExpression;
4064
4066
 
4065
4067
  // src/rules/no-isolated-tests.ts
4066
- var noIsolatedTests = create_rule_default({
4068
+ var noIsolatedTests = createRule_default({
4067
4069
  name: "no-isolated-tests",
4068
4070
  meta: {
4069
4071
  docs: {
@@ -4095,7 +4097,7 @@ var noIsolatedTests = create_rule_default({
4095
4097
  var no_isolated_tests_default = noIsolatedTests;
4096
4098
 
4097
4099
  // src/rules/no-namespace-imports.ts
4098
- var noNamespaceImports = create_rule_default({
4100
+ var noNamespaceImports = createRule_default({
4099
4101
  name: "no-namespace-imports",
4100
4102
  meta: {
4101
4103
  docs: {
@@ -4147,7 +4149,7 @@ var noNamespaceImports = create_rule_default({
4147
4149
  var no_namespace_imports_default = noNamespaceImports;
4148
4150
 
4149
4151
  // src/rules/no-plugin-configs-access-from-src-configs.ts
4150
- var noPluginConfigAccessFromSrcConfigs = create_rule_default({
4152
+ var noPluginConfigAccessFromSrcConfigs = createRule_default({
4151
4153
  name: "no-plugin-configs-access-from-src-configs",
4152
4154
  meta: {
4153
4155
  docs: {
@@ -4183,7 +4185,7 @@ var noPluginConfigAccessFromSrcConfigs = create_rule_default({
4183
4185
  var no_plugin_configs_access_from_src_configs_default = noPluginConfigAccessFromSrcConfigs;
4184
4186
 
4185
4187
  // src/rules/no-relative-imports.ts
4186
- var noRelativeImports = create_rule_default({
4188
+ var noRelativeImports = createRule_default({
4187
4189
  name: "no-relative-imports",
4188
4190
  meta: {
4189
4191
  docs: { description: "Forbid the use of relative imports" },
@@ -4274,7 +4276,7 @@ var noRelativeImports = create_rule_default({
4274
4276
  var no_relative_imports_default = noRelativeImports;
4275
4277
 
4276
4278
  // src/rules/no-skipped-tests.ts
4277
- var noSkippedTests = create_rule_default({
4279
+ var noSkippedTests = createRule_default({
4278
4280
  name: "no-skipped-tests",
4279
4281
  meta: {
4280
4282
  docs: {
@@ -4307,7 +4309,7 @@ var no_skipped_tests_default = noSkippedTests;
4307
4309
 
4308
4310
  // src/rules/use-object-shorthand.ts
4309
4311
  var import_utils4 = require("@typescript-eslint/utils");
4310
- var useObjectShorthand = create_rule_default({
4312
+ var useObjectShorthand = createRule_default({
4311
4313
  name: "use-object-shorthand",
4312
4314
  meta: {
4313
4315
  docs: {
@@ -4354,13 +4356,8 @@ var rules_default = {
4354
4356
  "use-object-shorthand": use_object_shorthand_default
4355
4357
  };
4356
4358
 
4357
- // src/index.ts
4358
- if (process.env.ESLINT_MODE) {
4359
- console.warn(
4360
- "ESLINT_MODE is now deprecated. Please use eslint --fix --suppress-all when running the fixer instead."
4361
- );
4362
- }
4363
- var plugin = {
4359
+ // src/alexPlugin.ts
4360
+ var alexPlugin = {
4364
4361
  meta: {
4365
4362
  name,
4366
4363
  version,
@@ -4375,14 +4372,17 @@ var plugin = {
4375
4372
  },
4376
4373
  rules: rules_default
4377
4374
  };
4378
- plugin.configs = {
4379
- alexPluginBase: alexPluginBase_default(plugin),
4380
- alexTypeScriptBase: alexTypeScriptBase_default(plugin),
4381
- alexTypeScriptReactBase: alexTypeScriptReactBase_default(plugin),
4375
+ alexPlugin.configs = {
4376
+ alexPluginBase: alexPluginBase_default(alexPlugin),
4377
+ alexTypeScriptBase: alexTypeScriptBase_default(alexPlugin),
4378
+ alexTypeScriptReactBase: alexTypeScriptReactBase_default(alexPlugin),
4382
4379
  typeScriptBase: typeScriptBase_default,
4383
4380
  typeScriptReactBase: typeScriptReactBase_default
4384
4381
  };
4385
- var index_default = plugin;
4382
+ var alexPlugin_default = alexPlugin;
4383
+
4384
+ // src/index.ts
4385
+ var index_default = alexPlugin_default;
4386
4386
  // Annotate the CommonJS export names for ESM import in node:
4387
4387
  0 && (module.exports = {
4388
4388
  prettierRules
package/dist/index.d.cts CHANGED
@@ -1,17 +1,9 @@
1
1
  import { Linter } from 'eslint';
2
- import { Config } from 'prettier';
3
2
  import z from 'zod';
3
+ import { Config } from 'prettier';
4
4
 
5
5
  var name = "@alextheman/eslint-plugin";
6
- var version = "1.12.1";
7
-
8
- declare const prettierRules: Config;
9
-
10
- declare const validTestFunctionsSchema: z.ZodEnum<{
11
- test: "test";
12
- it: "it";
13
- }>;
14
- type ValidTestFunctions = z.infer<typeof validTestFunctionsSchema>;
6
+ var version = "1.13.0";
15
7
 
16
8
  interface AlexPlugin {
17
9
  meta: {
@@ -28,7 +20,14 @@ interface AlexPlugin {
28
20
  };
29
21
  rules: Record<string, any>;
30
22
  }
23
+ declare const alexPlugin: AlexPlugin;
24
+
25
+ declare const prettierRules: Config;
31
26
 
32
- declare const plugin: AlexPlugin;
27
+ declare const validTestFunctionsSchema: z.ZodEnum<{
28
+ test: "test";
29
+ it: "it";
30
+ }>;
31
+ type ValidTestFunctions = z.infer<typeof validTestFunctionsSchema>;
33
32
 
34
- export { type AlexPlugin, type ValidTestFunctions, plugin as default, prettierRules };
33
+ export { type AlexPlugin, type ValidTestFunctions, alexPlugin as default, prettierRules };
package/dist/index.d.ts CHANGED
@@ -1,17 +1,9 @@
1
1
  import { Linter } from 'eslint';
2
- import { Config } from 'prettier';
3
2
  import z from 'zod';
3
+ import { Config } from 'prettier';
4
4
 
5
5
  var name = "@alextheman/eslint-plugin";
6
- var version = "1.12.1";
7
-
8
- declare const prettierRules: Config;
9
-
10
- declare const validTestFunctionsSchema: z.ZodEnum<{
11
- test: "test";
12
- it: "it";
13
- }>;
14
- type ValidTestFunctions = z.infer<typeof validTestFunctionsSchema>;
6
+ var version = "1.13.0";
15
7
 
16
8
  interface AlexPlugin {
17
9
  meta: {
@@ -28,7 +20,14 @@ interface AlexPlugin {
28
20
  };
29
21
  rules: Record<string, any>;
30
22
  }
23
+ declare const alexPlugin: AlexPlugin;
24
+
25
+ declare const prettierRules: Config;
31
26
 
32
- declare const plugin: AlexPlugin;
27
+ declare const validTestFunctionsSchema: z.ZodEnum<{
28
+ test: "test";
29
+ it: "it";
30
+ }>;
31
+ type ValidTestFunctions = z.infer<typeof validTestFunctionsSchema>;
33
32
 
34
- export { type AlexPlugin, type ValidTestFunctions, plugin as default, prettierRules };
33
+ export { type AlexPlugin, type ValidTestFunctions, alexPlugin as default, prettierRules };
package/dist/index.js CHANGED
@@ -3692,14 +3692,14 @@ var require_globals2 = __commonJS({
3692
3692
 
3693
3693
  // package.json
3694
3694
  var name = "@alextheman/eslint-plugin";
3695
- var version = "1.12.1";
3695
+ var version = "1.13.0";
3696
3696
 
3697
3697
  // src/configs/alexPluginBase.ts
3698
- function createAlexPluginBaseConfig(plugin2) {
3698
+ function createAlexPluginBaseConfig(plugin) {
3699
3699
  return [
3700
3700
  {
3701
3701
  plugins: {
3702
- "@alextheman": plugin2
3702
+ "@alextheman": plugin
3703
3703
  },
3704
3704
  rules: {
3705
3705
  "@alextheman/no-namespace-imports": "error",
@@ -3726,6 +3726,7 @@ import eslintPlugin from "@typescript-eslint/eslint-plugin";
3726
3726
  import tsparser from "@typescript-eslint/parser";
3727
3727
  import prettierConfig from "eslint-config-prettier";
3728
3728
  import importPlugin from "eslint-plugin-import";
3729
+ import packageJson from "eslint-plugin-package-json";
3729
3730
  import perfectionist from "eslint-plugin-perfectionist";
3730
3731
  import prettierPlugin from "eslint-plugin-prettier";
3731
3732
 
@@ -3739,6 +3740,7 @@ var prettierRules_default = prettierRules;
3739
3740
  var typeScriptBase = [
3740
3741
  import_js.default.configs.recommended,
3741
3742
  prettierConfig,
3743
+ packageJson.configs.recommended,
3742
3744
  {
3743
3745
  name: "@alextheman/eslint-config-typescript-base",
3744
3746
  files: ["**/*.ts", "**/*.tsx"],
@@ -3838,8 +3840,8 @@ var typeScriptBase = [
3838
3840
  var typeScriptBase_default = typeScriptBase;
3839
3841
 
3840
3842
  // src/configs/alexTypeScriptBase.ts
3841
- function createAlexTypeScriptBaseConfig(plugin2) {
3842
- return [...alexPluginBase_default(plugin2), ...typeScriptBase_default];
3843
+ function createAlexTypeScriptBaseConfig(plugin) {
3844
+ return [...alexPluginBase_default(plugin), ...typeScriptBase_default];
3843
3845
  }
3844
3846
  var alexTypeScriptBase_default = createAlexTypeScriptBaseConfig;
3845
3847
 
@@ -3881,8 +3883,8 @@ var typeScriptReactBase = [
3881
3883
  var typeScriptReactBase_default = typeScriptReactBase;
3882
3884
 
3883
3885
  // src/configs/alexTypeScriptReactBase.ts
3884
- function createAlexTypeScriptReactBaseConfig(plugin2) {
3885
- return [...alexTypeScriptBase_default(plugin2), ...typeScriptReactBase_default];
3886
+ function createAlexTypeScriptReactBaseConfig(plugin) {
3887
+ return [...alexTypeScriptBase_default(plugin), ...typeScriptReactBase_default];
3886
3888
  }
3887
3889
  var alexTypeScriptReactBase_default = createAlexTypeScriptReactBaseConfig;
3888
3890
 
@@ -3890,12 +3892,12 @@ var alexTypeScriptReactBase_default = createAlexTypeScriptReactBaseConfig;
3890
3892
  import { AST_NODE_TYPES } from "@typescript-eslint/utils";
3891
3893
  import z from "zod";
3892
3894
 
3893
- // src/create-rule.ts
3895
+ // src/createRule.ts
3894
3896
  import { ESLintUtils } from "@typescript-eslint/utils";
3895
3897
  var createRule = ESLintUtils.RuleCreator((ruleName) => {
3896
3898
  return `https://github.com/AlexMan123456/eslint-plugin/${ruleName}`;
3897
3899
  });
3898
- var create_rule_default = createRule;
3900
+ var createRule_default = createRule;
3899
3901
 
3900
3902
  // src/utility/getImportSpecifiersAfterRemoving.ts
3901
3903
  function getImportSpecifiersAfterRemoving(context, specifiers, importToRemove) {
@@ -3909,7 +3911,7 @@ var getImportSpecifiersAfterRemoving_default = getImportSpecifiersAfterRemoving;
3909
3911
 
3910
3912
  // src/rules/consistent-test-function.ts
3911
3913
  var validTestFunctionsSchema = z.enum(["test", "it"]);
3912
- var consistentTestFunction = create_rule_default({
3914
+ var consistentTestFunction = createRule_default({
3913
3915
  name: "consistent-test-function",
3914
3916
  meta: {
3915
3917
  docs: {
@@ -4049,7 +4051,7 @@ function checkCallExpression(node, objectName, propertyName) {
4049
4051
  var checkCallExpression_default = checkCallExpression;
4050
4052
 
4051
4053
  // src/rules/no-isolated-tests.ts
4052
- var noIsolatedTests = create_rule_default({
4054
+ var noIsolatedTests = createRule_default({
4053
4055
  name: "no-isolated-tests",
4054
4056
  meta: {
4055
4057
  docs: {
@@ -4081,7 +4083,7 @@ var noIsolatedTests = create_rule_default({
4081
4083
  var no_isolated_tests_default = noIsolatedTests;
4082
4084
 
4083
4085
  // src/rules/no-namespace-imports.ts
4084
- var noNamespaceImports = create_rule_default({
4086
+ var noNamespaceImports = createRule_default({
4085
4087
  name: "no-namespace-imports",
4086
4088
  meta: {
4087
4089
  docs: {
@@ -4133,7 +4135,7 @@ var noNamespaceImports = create_rule_default({
4133
4135
  var no_namespace_imports_default = noNamespaceImports;
4134
4136
 
4135
4137
  // src/rules/no-plugin-configs-access-from-src-configs.ts
4136
- var noPluginConfigAccessFromSrcConfigs = create_rule_default({
4138
+ var noPluginConfigAccessFromSrcConfigs = createRule_default({
4137
4139
  name: "no-plugin-configs-access-from-src-configs",
4138
4140
  meta: {
4139
4141
  docs: {
@@ -4169,7 +4171,7 @@ var noPluginConfigAccessFromSrcConfigs = create_rule_default({
4169
4171
  var no_plugin_configs_access_from_src_configs_default = noPluginConfigAccessFromSrcConfigs;
4170
4172
 
4171
4173
  // src/rules/no-relative-imports.ts
4172
- var noRelativeImports = create_rule_default({
4174
+ var noRelativeImports = createRule_default({
4173
4175
  name: "no-relative-imports",
4174
4176
  meta: {
4175
4177
  docs: { description: "Forbid the use of relative imports" },
@@ -4260,7 +4262,7 @@ var noRelativeImports = create_rule_default({
4260
4262
  var no_relative_imports_default = noRelativeImports;
4261
4263
 
4262
4264
  // src/rules/no-skipped-tests.ts
4263
- var noSkippedTests = create_rule_default({
4265
+ var noSkippedTests = createRule_default({
4264
4266
  name: "no-skipped-tests",
4265
4267
  meta: {
4266
4268
  docs: {
@@ -4293,7 +4295,7 @@ var no_skipped_tests_default = noSkippedTests;
4293
4295
 
4294
4296
  // src/rules/use-object-shorthand.ts
4295
4297
  import { AST_NODE_TYPES as AST_NODE_TYPES3 } from "@typescript-eslint/utils";
4296
- var useObjectShorthand = create_rule_default({
4298
+ var useObjectShorthand = createRule_default({
4297
4299
  name: "use-object-shorthand",
4298
4300
  meta: {
4299
4301
  docs: {
@@ -4340,13 +4342,8 @@ var rules_default = {
4340
4342
  "use-object-shorthand": use_object_shorthand_default
4341
4343
  };
4342
4344
 
4343
- // src/index.ts
4344
- if (process.env.ESLINT_MODE) {
4345
- console.warn(
4346
- "ESLINT_MODE is now deprecated. Please use eslint --fix --suppress-all when running the fixer instead."
4347
- );
4348
- }
4349
- var plugin = {
4345
+ // src/alexPlugin.ts
4346
+ var alexPlugin = {
4350
4347
  meta: {
4351
4348
  name,
4352
4349
  version,
@@ -4361,14 +4358,17 @@ var plugin = {
4361
4358
  },
4362
4359
  rules: rules_default
4363
4360
  };
4364
- plugin.configs = {
4365
- alexPluginBase: alexPluginBase_default(plugin),
4366
- alexTypeScriptBase: alexTypeScriptBase_default(plugin),
4367
- alexTypeScriptReactBase: alexTypeScriptReactBase_default(plugin),
4361
+ alexPlugin.configs = {
4362
+ alexPluginBase: alexPluginBase_default(alexPlugin),
4363
+ alexTypeScriptBase: alexTypeScriptBase_default(alexPlugin),
4364
+ alexTypeScriptReactBase: alexTypeScriptReactBase_default(alexPlugin),
4368
4365
  typeScriptBase: typeScriptBase_default,
4369
4366
  typeScriptReactBase: typeScriptReactBase_default
4370
4367
  };
4371
- var index_default = plugin;
4368
+ var alexPlugin_default = alexPlugin;
4369
+
4370
+ // src/index.ts
4371
+ var index_default = alexPlugin_default;
4372
4372
  export {
4373
4373
  index_default as default,
4374
4374
  prettierRules_default as prettierRules
package/package.json CHANGED
@@ -1,40 +1,31 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "1.12.1",
4
- "description": "",
3
+ "version": "1.13.0",
4
+ "description": "A package to provide custom ESLint rules and configs",
5
+ "license": "ISC",
6
+ "author": "alextheman",
7
+ "type": "module",
5
8
  "main": "dist/index.js",
6
9
  "types": "dist/index.d.ts",
7
10
  "files": [
8
11
  "dist"
9
12
  ],
10
13
  "scripts": {
11
- "test": "vitest run",
12
- "test-watch": "vitest",
13
- "format": "npm run build && prettier --write --parser typescript \"src/**/*.ts\" \"tests/**/*.ts\" && eslint --fix --suppress-all \"src/**/*.ts\" \"tests/**/*.ts\" && rm -f eslint-suppressions.json",
14
- "lint": "npm run build && tsc --noEmit && eslint \"src/**/*.ts\" \"tests/**/*.ts\" && prettier --check --parser typescript \"src/**/*.ts\" \"tests/**/*.ts\"",
15
- "update-dependencies": "bash -c 'npx npm-check-updates -u \"$@\" && npm install' --",
16
- "prepare": "husky",
17
14
  "build": "tsup",
18
15
  "change-major": "npm version major -m \"Change version number to v%s\"",
19
16
  "change-minor": "npm version minor -m \"Change version number to v%s\"",
20
- "change-patch": "npm version patch -m \"Change version number to v%s\""
17
+ "change-patch": "npm version patch -m \"Change version number to v%s\"",
18
+ "format": "npm run build && prettier --write --parser typescript \"src/**/*.ts\" \"tests/**/*.ts\" && eslint --fix --suppress-all \"src/**/*.ts\" \"tests/**/*.ts\" \"package.json\" && rm -f eslint-suppressions.json",
19
+ "lint": "npm run build && tsc --noEmit && eslint \"src/**/*.ts\" \"tests/**/*.ts\" \"package.json\" && prettier --check --parser typescript \"src/**/*.ts\" \"tests/**/*.ts\"",
20
+ "prepare": "husky",
21
+ "test": "vitest run",
22
+ "test-watch": "vitest",
23
+ "update-dependencies": "bash -c 'npx npm-check-updates -u \"$@\" && npm install' --"
21
24
  },
22
- "keywords": [],
23
- "author": "",
24
- "license": "ISC",
25
- "type": "module",
26
- "peerDependencies": {
27
- "@typescript-eslint/eslint-plugin": "^8.37.0",
28
- "@typescript-eslint/parser": "^8.37.0",
29
- "eslint": "^9.31.0",
30
- "eslint-config-prettier": "^10.1.8",
31
- "eslint-import-resolver-typescript": "^4.4.4",
32
- "eslint-plugin-import": "^2.32.0",
33
- "eslint-plugin-perfectionist": "^4.15.0",
34
- "eslint-plugin-prettier": "^5.5.3",
35
- "eslint-plugin-react": "^7.37.5",
36
- "eslint-plugin-react-hooks": "^5.2.0",
37
- "eslint-plugin-react-refresh": "^0.4.20"
25
+ "dependencies": {
26
+ "common-tags": "^1.8.2",
27
+ "eslint-plugin-package-json": "^0.56.1",
28
+ "zod": "^4.1.5"
38
29
  },
39
30
  "devDependencies": {
40
31
  "@types/common-tags": "^1.8.4",
@@ -52,8 +43,17 @@
52
43
  "vite-tsconfig-paths": "^5.1.4",
53
44
  "vitest": "^3.2.4"
54
45
  },
55
- "dependencies": {
56
- "common-tags": "^1.8.2",
57
- "zod": "^4.1.5"
46
+ "peerDependencies": {
47
+ "@typescript-eslint/eslint-plugin": "^8.37.0",
48
+ "@typescript-eslint/parser": "^8.37.0",
49
+ "eslint": "^9.31.0",
50
+ "eslint-config-prettier": "^10.1.8",
51
+ "eslint-import-resolver-typescript": "^4.4.4",
52
+ "eslint-plugin-import": "^2.32.0",
53
+ "eslint-plugin-perfectionist": "^4.15.0",
54
+ "eslint-plugin-prettier": "^5.5.3",
55
+ "eslint-plugin-react": "^7.37.5",
56
+ "eslint-plugin-react-hooks": "^5.2.0",
57
+ "eslint-plugin-react-refresh": "^0.4.20"
58
58
  }
59
59
  }