@alextheman/eslint-plugin 5.11.0 → 5.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/README.md +1 -1
- package/dist/index.cjs +46 -163
- package/dist/index.d.cts +1 -11
- package/dist/index.d.ts +1 -11
- package/dist/index.js +41 -159
- package/dist/internal/index.cjs +10 -79
- package/dist/internal/index.d.cts +1 -15
- package/dist/internal/index.d.ts +1 -15
- package/dist/internal/index.js +10 -75
- package/dist/utility/index.cjs +8 -22
- package/dist/utility/index.js +1 -10
- package/package.json +28 -32
package/dist/index.d.cts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { Linter } from "eslint";
|
|
2
2
|
import { Config } from "prettier";
|
|
3
|
-
import { TypeDocOptions } from "typedoc";
|
|
4
|
-
import { PluginOptions } from "typedoc-plugin-markdown";
|
|
5
|
-
import * as vite from "vite";
|
|
6
|
-
import { VitestEnvironment } from "vitest/node";
|
|
7
3
|
import { TSESTree } from "@typescript-eslint/utils";
|
|
8
4
|
import z from "zod";
|
|
9
5
|
import { JSONSchema4 } from "@typescript-eslint/utils/json-schema";
|
|
@@ -62,12 +58,6 @@ declare const alexPlugin: AlexPlugin;
|
|
|
62
58
|
//#region src/configs/external/prettierConfig.d.ts
|
|
63
59
|
declare const prettierConfig: Config;
|
|
64
60
|
//#endregion
|
|
65
|
-
//#region src/configs/external/typeDocConfig.d.ts
|
|
66
|
-
declare function typeDocConfig(entryPoints?: Array<string>): TypeDocOptions & PluginOptions;
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/configs/external/vitestConfig.d.ts
|
|
69
|
-
declare function vitestConfig(environment?: VitestEnvironment): vite.UserConfig;
|
|
70
|
-
//#endregion
|
|
71
61
|
//#region src/utility/public/checkCallExpression.d.ts
|
|
72
62
|
/**
|
|
73
63
|
* Checks if a given node matches the expected object and property names.
|
|
@@ -250,4 +240,4 @@ declare function flattenConfigs<ConfigObject extends { [K in keyof ConfigObject]
|
|
|
250
240
|
*/
|
|
251
241
|
declare function getImportSpecifiersAfterRemoving<RuleOptions>(context: Readonly<RuleContext<"message", [RuleOptions]>>, specifiers: Array<TSESTree.ImportClause>, importToRemove: string): string;
|
|
252
242
|
//#endregion
|
|
253
|
-
export { AlexConfigGroupName, AlexFlattenedConfigName, type AlexPlugin, AlexPluginConfigFlattened, AlexPluginConfigObject, CombinedConfig, GeneralConfig, type GetFlattenedConfigNames, InternalConfig, type NoRestrictedImportsOptions, PluginConfig, checkCallExpression, combineRestrictedImports, createRuleSchemaFromZodSchema, alexPlugin as default, fixOnCondition, flattenConfigs, getImportSpecifiersAfterRemoving, prettierConfig
|
|
243
|
+
export { AlexConfigGroupName, AlexFlattenedConfigName, type AlexPlugin, AlexPluginConfigFlattened, AlexPluginConfigObject, CombinedConfig, GeneralConfig, type GetFlattenedConfigNames, InternalConfig, type NoRestrictedImportsOptions, PluginConfig, checkCallExpression, combineRestrictedImports, createRuleSchemaFromZodSchema, alexPlugin as default, fixOnCondition, flattenConfigs, getImportSpecifiersAfterRemoving, prettierConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,6 @@ import { TSESTree } from "@typescript-eslint/utils";
|
|
|
2
2
|
import z from "zod";
|
|
3
3
|
import { Linter } from "eslint";
|
|
4
4
|
import { Config } from "prettier";
|
|
5
|
-
import { TypeDocOptions } from "typedoc";
|
|
6
|
-
import { PluginOptions } from "typedoc-plugin-markdown";
|
|
7
|
-
import * as vite from "vite";
|
|
8
|
-
import { VitestEnvironment } from "vitest/node";
|
|
9
5
|
import { JSONSchema4 } from "@typescript-eslint/utils/json-schema";
|
|
10
6
|
import { RuleContext, RuleFix, RuleFixer } from "@typescript-eslint/utils/ts-eslint";
|
|
11
7
|
|
|
@@ -62,12 +58,6 @@ declare const alexPlugin: AlexPlugin;
|
|
|
62
58
|
//#region src/configs/external/prettierConfig.d.ts
|
|
63
59
|
declare const prettierConfig: Config;
|
|
64
60
|
//#endregion
|
|
65
|
-
//#region src/configs/external/typeDocConfig.d.ts
|
|
66
|
-
declare function typeDocConfig(entryPoints?: Array<string>): TypeDocOptions & PluginOptions;
|
|
67
|
-
//#endregion
|
|
68
|
-
//#region src/configs/external/vitestConfig.d.ts
|
|
69
|
-
declare function vitestConfig(environment?: VitestEnvironment): vite.UserConfig;
|
|
70
|
-
//#endregion
|
|
71
61
|
//#region src/utility/public/checkCallExpression.d.ts
|
|
72
62
|
/**
|
|
73
63
|
* Checks if a given node matches the expected object and property names.
|
|
@@ -250,4 +240,4 @@ declare function flattenConfigs<ConfigObject extends { [K in keyof ConfigObject]
|
|
|
250
240
|
*/
|
|
251
241
|
declare function getImportSpecifiersAfterRemoving<RuleOptions>(context: Readonly<RuleContext<"message", [RuleOptions]>>, specifiers: Array<TSESTree.ImportClause>, importToRemove: string): string;
|
|
252
242
|
//#endregion
|
|
253
|
-
export { AlexConfigGroupName, AlexFlattenedConfigName, type AlexPlugin, AlexPluginConfigFlattened, AlexPluginConfigObject, CombinedConfig, GeneralConfig, type GetFlattenedConfigNames, InternalConfig, type NoRestrictedImportsOptions, PluginConfig, checkCallExpression, combineRestrictedImports, createRuleSchemaFromZodSchema, alexPlugin as default, fixOnCondition, flattenConfigs, getImportSpecifiersAfterRemoving, prettierConfig
|
|
243
|
+
export { AlexConfigGroupName, AlexFlattenedConfigName, type AlexPlugin, AlexPluginConfigFlattened, AlexPluginConfigObject, CombinedConfig, GeneralConfig, type GetFlattenedConfigNames, InternalConfig, type NoRestrictedImportsOptions, PluginConfig, checkCallExpression, combineRestrictedImports, createRuleSchemaFromZodSchema, alexPlugin as default, fixOnCondition, flattenConfigs, getImportSpecifiersAfterRemoving, prettierConfig };
|