@alextheman/eslint-plugin 4.5.1 → 4.6.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
@@ -61,7 +61,7 @@ eslint_plugin_jsdoc = __toESM(eslint_plugin_jsdoc);
61
61
 
62
62
  //#region package.json
63
63
  var name = "@alextheman/eslint-plugin";
64
- var version = "4.5.1";
64
+ var version = "4.6.0";
65
65
 
66
66
  //#endregion
67
67
  //#region node_modules/.pnpm/globals@16.5.0/node_modules/globals/globals.json
@@ -3907,6 +3907,28 @@ const personalAlexCLine = [{
3907
3907
  }];
3908
3908
  var alexCLine_default = personalAlexCLine;
3909
3909
 
3910
+ //#endregion
3911
+ //#region src/configs/helpers/requireJsdocOptions.ts
3912
+ const requireJsdocOptions = {
3913
+ enableFixer: false,
3914
+ publicOnly: true,
3915
+ require: {
3916
+ ClassDeclaration: true,
3917
+ MethodDefinition: true
3918
+ }
3919
+ };
3920
+ var requireJsdocOptions_default = requireJsdocOptions;
3921
+
3922
+ //#endregion
3923
+ //#region src/configs/personal/typeScriptPackage.ts
3924
+ const personalTypeScriptPackage = [eslint_plugin_jsdoc.default.configs["flat/recommended-typescript-error"], { rules: { "jsdoc/require-jsdoc": ["warn", requireJsdocOptions_default] } }];
3925
+ var typeScriptPackage_default$1 = personalTypeScriptPackage;
3926
+
3927
+ //#endregion
3928
+ //#region src/configs/personal/components.ts
3929
+ const personalComponents = [...typeScriptPackage_default$1, { rules: { "jsdoc/require-returns": "off" } }];
3930
+ var components_default = personalComponents;
3931
+
3910
3932
  //#endregion
3911
3933
  //#region src/configs/helpers/restrictedImports/eslintPluginRestrictedImports.ts
3912
3934
  const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [
@@ -3957,13 +3979,7 @@ function personalEslintPlugin(plugin) {
3957
3979
  },
3958
3980
  {
3959
3981
  files: ["src/utility/public/**"],
3960
- rules: { "jsdoc/require-jsdoc": ["warn", {
3961
- enableFixer: false,
3962
- require: {
3963
- ClassDeclaration: true,
3964
- MethodDefinition: true
3965
- }
3966
- }] }
3982
+ rules: { "jsdoc/require-jsdoc": ["warn", requireJsdocOptions_default] }
3967
3983
  }
3968
3984
  ];
3969
3985
  }
@@ -4064,17 +4080,6 @@ function personalTypeScript(plugin) {
4064
4080
  }
4065
4081
  var typeScript_default$2 = personalTypeScript;
4066
4082
 
4067
- //#endregion
4068
- //#region src/configs/personal/typeScriptPackage.ts
4069
- const personalTypeScriptPackage = [eslint_plugin_jsdoc.default.configs["flat/recommended-typescript-error"], { rules: { "jsdoc/require-jsdoc": ["warn", {
4070
- enableFixer: false,
4071
- require: {
4072
- ClassDeclaration: true,
4073
- MethodDefinition: true
4074
- }
4075
- }] } }];
4076
- var typeScriptPackage_default$1 = personalTypeScriptPackage;
4077
-
4078
4083
  //#endregion
4079
4084
  //#region src/configs/personal/utility.ts
4080
4085
  const personalUtility = [{
@@ -4164,6 +4169,7 @@ function createAlexPluginConfigs(plugin) {
4164
4169
  },
4165
4170
  personal: {
4166
4171
  alexCLine: alexCLine_default,
4172
+ components: components_default,
4167
4173
  eslintPlugin: eslintPlugin_default(plugin),
4168
4174
  javaScript: javaScriptBase_default(plugin),
4169
4175
  neurosongsBackEnd: neurosongsBackEnd_default,
package/dist/index.d.cts CHANGED
@@ -18,7 +18,7 @@ type CamelToKebab<S extends string> = S extends `${IgnoreCase<"J">}avaScript${in
18
18
  //#region src/configs/AlexPluginConfigGroup.d.ts
19
19
  type GeneralConfig = "javaScript" | "typeScript" | "react" | "packageJson";
20
20
  type PluginConfig = "base" | "tests";
21
- type PersonalConfig = "javaScript" | "typeScript" | "react" | "tests" | "eslintPlugin" | "neurosongsBackEnd" | "neurosongsFrontEnd" | "utility" | "alexCLine" | "typeScriptPackage";
21
+ type PersonalConfig = "javaScript" | "typeScript" | "react" | "tests" | "eslintPlugin" | "neurosongsBackEnd" | "neurosongsFrontEnd" | "utility" | "alexCLine" | "typeScriptPackage" | "components";
22
22
  type CombinedConfig = "javaScript" | "typeScript" | "react" | "tests" | "typeScriptReact" | "javaScriptReact" | "typeScriptPackage";
23
23
  interface AlexPluginConfigGroup {
24
24
  general: Record<GeneralConfig, Linter.Config[]>;
package/dist/index.d.ts CHANGED
@@ -18,7 +18,7 @@ type CamelToKebab<S extends string> = S extends `${IgnoreCase<"J">}avaScript${in
18
18
  //#region src/configs/AlexPluginConfigGroup.d.ts
19
19
  type GeneralConfig = "javaScript" | "typeScript" | "react" | "packageJson";
20
20
  type PluginConfig = "base" | "tests";
21
- type PersonalConfig = "javaScript" | "typeScript" | "react" | "tests" | "eslintPlugin" | "neurosongsBackEnd" | "neurosongsFrontEnd" | "utility" | "alexCLine" | "typeScriptPackage";
21
+ type PersonalConfig = "javaScript" | "typeScript" | "react" | "tests" | "eslintPlugin" | "neurosongsBackEnd" | "neurosongsFrontEnd" | "utility" | "alexCLine" | "typeScriptPackage" | "components";
22
22
  type CombinedConfig = "javaScript" | "typeScript" | "react" | "tests" | "typeScriptReact" | "javaScriptReact" | "typeScriptPackage";
23
23
  interface AlexPluginConfigGroup {
24
24
  general: Record<GeneralConfig, Linter.Config[]>;
package/dist/index.js CHANGED
@@ -46,7 +46,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
46
46
  //#endregion
47
47
  //#region package.json
48
48
  var name = "@alextheman/eslint-plugin";
49
- var version = "4.5.1";
49
+ var version = "4.6.0";
50
50
 
51
51
  //#endregion
52
52
  //#region node_modules/.pnpm/globals@16.5.0/node_modules/globals/globals.json
@@ -3892,6 +3892,28 @@ const personalAlexCLine = [{
3892
3892
  }];
3893
3893
  var alexCLine_default = personalAlexCLine;
3894
3894
 
3895
+ //#endregion
3896
+ //#region src/configs/helpers/requireJsdocOptions.ts
3897
+ const requireJsdocOptions = {
3898
+ enableFixer: false,
3899
+ publicOnly: true,
3900
+ require: {
3901
+ ClassDeclaration: true,
3902
+ MethodDefinition: true
3903
+ }
3904
+ };
3905
+ var requireJsdocOptions_default = requireJsdocOptions;
3906
+
3907
+ //#endregion
3908
+ //#region src/configs/personal/typeScriptPackage.ts
3909
+ const personalTypeScriptPackage = [jsdoc.configs["flat/recommended-typescript-error"], { rules: { "jsdoc/require-jsdoc": ["warn", requireJsdocOptions_default] } }];
3910
+ var typeScriptPackage_default$1 = personalTypeScriptPackage;
3911
+
3912
+ //#endregion
3913
+ //#region src/configs/personal/components.ts
3914
+ const personalComponents = [...typeScriptPackage_default$1, { rules: { "jsdoc/require-returns": "off" } }];
3915
+ var components_default = personalComponents;
3916
+
3895
3917
  //#endregion
3896
3918
  //#region src/configs/helpers/restrictedImports/eslintPluginRestrictedImports.ts
3897
3919
  const eslintPluginRestrictedImports = combineRestrictedImports_default(generalRestrictedImports_default, { paths: [
@@ -3942,13 +3964,7 @@ function personalEslintPlugin(plugin) {
3942
3964
  },
3943
3965
  {
3944
3966
  files: ["src/utility/public/**"],
3945
- rules: { "jsdoc/require-jsdoc": ["warn", {
3946
- enableFixer: false,
3947
- require: {
3948
- ClassDeclaration: true,
3949
- MethodDefinition: true
3950
- }
3951
- }] }
3967
+ rules: { "jsdoc/require-jsdoc": ["warn", requireJsdocOptions_default] }
3952
3968
  }
3953
3969
  ];
3954
3970
  }
@@ -4049,17 +4065,6 @@ function personalTypeScript(plugin) {
4049
4065
  }
4050
4066
  var typeScript_default$2 = personalTypeScript;
4051
4067
 
4052
- //#endregion
4053
- //#region src/configs/personal/typeScriptPackage.ts
4054
- const personalTypeScriptPackage = [jsdoc.configs["flat/recommended-typescript-error"], { rules: { "jsdoc/require-jsdoc": ["warn", {
4055
- enableFixer: false,
4056
- require: {
4057
- ClassDeclaration: true,
4058
- MethodDefinition: true
4059
- }
4060
- }] } }];
4061
- var typeScriptPackage_default$1 = personalTypeScriptPackage;
4062
-
4063
4068
  //#endregion
4064
4069
  //#region src/configs/personal/utility.ts
4065
4070
  const personalUtility = [{
@@ -4149,6 +4154,7 @@ function createAlexPluginConfigs(plugin) {
4149
4154
  },
4150
4155
  personal: {
4151
4156
  alexCLine: alexCLine_default,
4157
+ components: components_default,
4152
4158
  eslintPlugin: eslintPlugin_default(plugin),
4153
4159
  javaScript: javaScriptBase_default(plugin),
4154
4160
  neurosongsBackEnd: neurosongsBackEnd_default,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "4.5.1",
3
+ "version": "4.6.0",
4
4
  "description": "A package to provide custom ESLint rules and configs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,8 +15,8 @@
15
15
  "dist"
16
16
  ],
17
17
  "dependencies": {
18
- "@alextheman/utility": "^3.4.2",
19
- "@typescript-eslint/utils": "^8.48.1",
18
+ "@alextheman/utility": "^3.5.5",
19
+ "@typescript-eslint/utils": "^8.49.0",
20
20
  "common-tags": "^1.8.2",
21
21
  "zod": "^4.1.13"
22
22
  },
@@ -25,8 +25,8 @@
25
25
  "@types/common-tags": "^1.8.4",
26
26
  "@types/eslint": "^9.6.1",
27
27
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
28
- "@types/node": "^24.10.1",
29
- "@typescript-eslint/rule-tester": "^8.48.1",
28
+ "@types/node": "^25.0.1",
29
+ "@typescript-eslint/rule-tester": "^8.49.0",
30
30
  "dotenv-cli": "^11.0.0",
31
31
  "eslint": "^9.39.1",
32
32
  "eslint-config-prettier": "^10.1.8",
@@ -43,12 +43,12 @@
43
43
  "eslint-vitest-rule-tester": "^3.0.0",
44
44
  "globals": "^16.5.0",
45
45
  "husky": "^9.1.7",
46
- "jsdom": "^27.2.0",
46
+ "jsdom": "^27.3.0",
47
47
  "prettier": "^3.7.4",
48
- "tsdown": "^0.17.0",
48
+ "tsdown": "^0.17.3",
49
49
  "tsx": "^4.21.0",
50
50
  "typescript": "^5.9.3",
51
- "typescript-eslint": "^8.48.1",
51
+ "typescript-eslint": "^8.49.0",
52
52
  "vite-tsconfig-paths": "^5.1.4",
53
53
  "vitest": "^4.0.15"
54
54
  },