@alextheman/eslint-plugin 5.3.0 → 5.4.1

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
@@ -3759,26 +3759,28 @@ var prettierConfig_default = prettierConfig;
3759
3759
 
3760
3760
  //#endregion
3761
3761
  //#region src/configs/external/typeDocConfig.ts
3762
- const typeDocConfig = {
3763
- disableSources: true,
3764
- entryPoints: ["./src/index.ts"],
3765
- excludeNotDocumented: true,
3766
- includeVersion: true,
3767
- outputs: [{
3768
- name: "html",
3769
- options: { navigation: {
3770
- excludeReferences: false,
3771
- includeCategories: true,
3772
- includeFolders: true,
3773
- includeGroups: true
3774
- } },
3775
- path: "docs/features/html"
3776
- }, {
3777
- name: "markdown",
3778
- path: "docs/features/markdown"
3779
- }],
3780
- plugin: ["typedoc-plugin-markdown", "typedoc-rhineai-theme"]
3781
- };
3762
+ function typeDocConfig(entryPoints = ["./src/index.ts"]) {
3763
+ return {
3764
+ disableSources: true,
3765
+ entryPoints,
3766
+ excludeNotDocumented: true,
3767
+ includeVersion: true,
3768
+ outputs: [{
3769
+ name: "html",
3770
+ options: { navigation: {
3771
+ excludeReferences: false,
3772
+ includeCategories: true,
3773
+ includeFolders: true,
3774
+ includeGroups: true
3775
+ } },
3776
+ path: "docs/features/html"
3777
+ }, {
3778
+ name: "markdown",
3779
+ path: "docs/features/markdown"
3780
+ }],
3781
+ plugin: ["typedoc-plugin-markdown", "typedoc-rhineai-theme"]
3782
+ };
3783
+ }
3782
3784
  var typeDocConfig_default = typeDocConfig;
3783
3785
 
3784
3786
  //#endregion
@@ -4255,7 +4257,11 @@ var neurosongsBackEndRestrictedImports_default = neurosongsBackEndRestrictedImpo
4255
4257
  const personalNeurosongsBackEnd = [
4256
4258
  {
4257
4259
  name: "@alextheman/personal/neurosongs-back-end",
4258
- rules: { "no-restricted-imports": ["error", neurosongsBackEndRestrictedImports_default] }
4260
+ plugins: { n: eslint_plugin_n.default },
4261
+ rules: {
4262
+ "n/no-extraneous-import": "off",
4263
+ "no-restricted-imports": ["error", neurosongsBackEndRestrictedImports_default]
4264
+ }
4259
4265
  },
4260
4266
  {
4261
4267
  files: ["src/database/**/*.ts", "tests/test-utilities/setup.ts"],
@@ -4297,7 +4303,11 @@ var neurosongsFrontEndRestrictedImports_default = neurosongsFrontEndRestrictedIm
4297
4303
  //#region src/configs/personal/neurosongsFrontEnd.ts
4298
4304
  const personalNeurosongsFrontEnd = [{
4299
4305
  name: "@alextheman/personal/neurosongs-front-end",
4300
- rules: { "no-restricted-imports": ["error", neurosongsFrontEndRestrictedImports_default] }
4306
+ plugins: { n: eslint_plugin_n.default },
4307
+ rules: {
4308
+ "n/no-extraneous-import": "off",
4309
+ "no-restricted-imports": ["error", neurosongsFrontEndRestrictedImports_default]
4310
+ }
4301
4311
  }];
4302
4312
  var neurosongsFrontEnd_default = personalNeurosongsFrontEnd;
4303
4313
 
@@ -4819,7 +4829,7 @@ var rules_default = {
4819
4829
  //#endregion
4820
4830
  //#region package.json
4821
4831
  var name = "@alextheman/eslint-plugin";
4822
- var version = "5.3.0";
4832
+ var version = "5.4.1";
4823
4833
 
4824
4834
  //#endregion
4825
4835
  //#region src/alexPlugin.ts
package/dist/index.d.cts CHANGED
@@ -63,7 +63,7 @@ declare const alexPlugin: AlexPlugin;
63
63
  declare const prettierConfig: Config;
64
64
  //#endregion
65
65
  //#region src/configs/external/typeDocConfig.d.ts
66
- declare const typeDocConfig: TypeDocOptions & PluginOptions;
66
+ declare function typeDocConfig(entryPoints?: string[]): TypeDocOptions & PluginOptions;
67
67
  //#endregion
68
68
  //#region src/configs/external/vitestConfig.d.ts
69
69
  declare function vitestConfig(environment?: VitestEnvironment): vite0.UserConfig;
package/dist/index.d.ts CHANGED
@@ -63,7 +63,7 @@ declare const alexPlugin: AlexPlugin;
63
63
  declare const prettierConfig: Config;
64
64
  //#endregion
65
65
  //#region src/configs/external/typeDocConfig.d.ts
66
- declare const typeDocConfig: TypeDocOptions & PluginOptions;
66
+ declare function typeDocConfig(entryPoints?: string[]): TypeDocOptions & PluginOptions;
67
67
  //#endregion
68
68
  //#region src/configs/external/vitestConfig.d.ts
69
69
  declare function vitestConfig(environment?: VitestEnvironment): vite0.UserConfig;
package/dist/index.js CHANGED
@@ -3743,26 +3743,28 @@ var prettierConfig_default = prettierConfig$1;
3743
3743
 
3744
3744
  //#endregion
3745
3745
  //#region src/configs/external/typeDocConfig.ts
3746
- const typeDocConfig = {
3747
- disableSources: true,
3748
- entryPoints: ["./src/index.ts"],
3749
- excludeNotDocumented: true,
3750
- includeVersion: true,
3751
- outputs: [{
3752
- name: "html",
3753
- options: { navigation: {
3754
- excludeReferences: false,
3755
- includeCategories: true,
3756
- includeFolders: true,
3757
- includeGroups: true
3758
- } },
3759
- path: "docs/features/html"
3760
- }, {
3761
- name: "markdown",
3762
- path: "docs/features/markdown"
3763
- }],
3764
- plugin: ["typedoc-plugin-markdown", "typedoc-rhineai-theme"]
3765
- };
3746
+ function typeDocConfig(entryPoints = ["./src/index.ts"]) {
3747
+ return {
3748
+ disableSources: true,
3749
+ entryPoints,
3750
+ excludeNotDocumented: true,
3751
+ includeVersion: true,
3752
+ outputs: [{
3753
+ name: "html",
3754
+ options: { navigation: {
3755
+ excludeReferences: false,
3756
+ includeCategories: true,
3757
+ includeFolders: true,
3758
+ includeGroups: true
3759
+ } },
3760
+ path: "docs/features/html"
3761
+ }, {
3762
+ name: "markdown",
3763
+ path: "docs/features/markdown"
3764
+ }],
3765
+ plugin: ["typedoc-plugin-markdown", "typedoc-rhineai-theme"]
3766
+ };
3767
+ }
3766
3768
  var typeDocConfig_default = typeDocConfig;
3767
3769
 
3768
3770
  //#endregion
@@ -4239,7 +4241,11 @@ var neurosongsBackEndRestrictedImports_default = neurosongsBackEndRestrictedImpo
4239
4241
  const personalNeurosongsBackEnd = [
4240
4242
  {
4241
4243
  name: "@alextheman/personal/neurosongs-back-end",
4242
- rules: { "no-restricted-imports": ["error", neurosongsBackEndRestrictedImports_default] }
4244
+ plugins: { n: nodePlugin },
4245
+ rules: {
4246
+ "n/no-extraneous-import": "off",
4247
+ "no-restricted-imports": ["error", neurosongsBackEndRestrictedImports_default]
4248
+ }
4243
4249
  },
4244
4250
  {
4245
4251
  files: ["src/database/**/*.ts", "tests/test-utilities/setup.ts"],
@@ -4281,7 +4287,11 @@ var neurosongsFrontEndRestrictedImports_default = neurosongsFrontEndRestrictedIm
4281
4287
  //#region src/configs/personal/neurosongsFrontEnd.ts
4282
4288
  const personalNeurosongsFrontEnd = [{
4283
4289
  name: "@alextheman/personal/neurosongs-front-end",
4284
- rules: { "no-restricted-imports": ["error", neurosongsFrontEndRestrictedImports_default] }
4290
+ plugins: { n: nodePlugin },
4291
+ rules: {
4292
+ "n/no-extraneous-import": "off",
4293
+ "no-restricted-imports": ["error", neurosongsFrontEndRestrictedImports_default]
4294
+ }
4285
4295
  }];
4286
4296
  var neurosongsFrontEnd_default = personalNeurosongsFrontEnd;
4287
4297
 
@@ -4803,7 +4813,7 @@ var rules_default = {
4803
4813
  //#endregion
4804
4814
  //#region package.json
4805
4815
  var name = "@alextheman/eslint-plugin";
4806
- var version = "5.3.0";
4816
+ var version = "5.4.1";
4807
4817
 
4808
4818
  //#endregion
4809
4819
  //#region src/alexPlugin.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "5.3.0",
3
+ "version": "5.4.1",
4
4
  "description": "A package to provide custom ESLint rules and configs",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,8 +29,8 @@
29
29
  "dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@alextheman/utility": "^4.1.0",
33
- "@typescript-eslint/utils": "^8.50.0",
32
+ "@alextheman/utility": "^4.3.5",
33
+ "@typescript-eslint/utils": "^8.50.1",
34
34
  "common-tags": "^1.8.2",
35
35
  "zod": "^4.2.1"
36
36
  },
@@ -40,9 +40,9 @@
40
40
  "@types/eslint": "^9.6.1",
41
41
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
42
42
  "@types/node": "^25.0.3",
43
- "@typescript-eslint/rule-tester": "^8.50.0",
44
- "@typescript-eslint/types": "^8.50.0",
45
- "alex-c-line": "^1.10.0",
43
+ "@typescript-eslint/rule-tester": "^8.50.1",
44
+ "@typescript-eslint/types": "^8.50.1",
45
+ "alex-c-line": "^1.10.2",
46
46
  "dotenv-cli": "^11.0.0",
47
47
  "eslint": "^9.39.2",
48
48
  "eslint-config-prettier": "^10.1.8",
@@ -52,7 +52,7 @@
52
52
  "eslint-plugin-jsx-a11y": "^6.10.2",
53
53
  "eslint-plugin-n": "^17.23.1",
54
54
  "eslint-plugin-package-json": "^0.85.0",
55
- "eslint-plugin-perfectionist": "^5.0.0",
55
+ "eslint-plugin-perfectionist": "^5.1.0",
56
56
  "eslint-plugin-prettier": "^5.5.4",
57
57
  "eslint-plugin-react": "^7.37.5",
58
58
  "eslint-plugin-react-hooks": "^7.0.1",
@@ -60,15 +60,15 @@
60
60
  "eslint-vitest-rule-tester": "^3.0.1",
61
61
  "globals": "^16.5.0",
62
62
  "husky": "^9.1.7",
63
- "jsdom": "^27.3.0",
63
+ "jsdom": "^27.4.0",
64
64
  "prettier": "^3.7.4",
65
- "tsdown": "^0.18.1",
65
+ "tsdown": "^0.18.3",
66
66
  "tsx": "^4.21.0",
67
67
  "typedoc": "^0.28.15",
68
68
  "typedoc-plugin-markdown": "^4.9.0",
69
69
  "typedoc-rhineai-theme": "^1.2.0",
70
70
  "typescript": "^5.9.3",
71
- "typescript-eslint": "^8.50.0",
71
+ "typescript-eslint": "^8.50.1",
72
72
  "vite-tsconfig-paths": "^6.0.3",
73
73
  "vitest": "^4.0.16"
74
74
  },
@@ -96,6 +96,7 @@
96
96
  },
97
97
  "scripts": {
98
98
  "build": "tsdown",
99
+ "create-feature-docs": "typedoc",
99
100
  "create-local-package": "pnpm run build && rm -f alextheman-eslint-plugin-*.tgz && pnpm pack",
100
101
  "create-release-note-major": "git pull origin main && alex-c-line create-release-note major",
101
102
  "create-release-note-minor": "git pull origin main && alex-c-line create-release-note minor",