@alint-js/plugin-js 0.0.37 → 0.0.38
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 +52 -35
- package/dist/{effect-Df2gY8Wx-sZLnuFMr.mjs → effect-Df2gY8Wx--neAnU0X.mjs} +1 -1
- package/dist/{esm-F2YJn-T8.mjs → esm-GXtgvsKv.mjs} +2 -13
- package/dist/index.d.mts +21 -1
- package/dist/index.mjs +3567 -174
- package/dist/rolldown-runtime-B-1-B7_t.mjs +33 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -2,76 +2,93 @@
|
|
|
2
2
|
|
|
3
3
|
Model-backed JavaScript and TypeScript review rules for `alint`.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The package default export is the plugin definition. Individual rule definitions are also available as named exports.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Rules
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
- `example/no-mixed-layers-without-abstraction` drafts declaration-level findings from complementary data-flow and ownership perspectives, then independently decides which candidates to report for consuming features that own independently reusable external-integration responsibilities without a stable interface.
|
|
11
|
-
- `example/no-private-schema-toolkit` reports clusters of local helpers that form an ad hoc schema or payload-normalization toolkit.
|
|
12
|
-
- `example/no-redundant-binding` reports local bindings that only rename an unchanged value or reference without adding a useful boundary.
|
|
13
|
-
- `example/no-redundant-jsdoc` reports JSDoc that mostly restates the documented declaration, signature, or implementation.
|
|
14
|
-
- `example/no-trivial-wrapper-stack` reports chains of shallow wrappers that add no meaningful policy or runtime boundary.
|
|
15
|
-
- `example/no-vacuous-function` reports functions whose shallow implementation does not earn a separate runtime boundary.
|
|
9
|
+
The bundled `recommended` config enables these rules under the `js` plugin name:
|
|
16
10
|
|
|
17
|
-
|
|
11
|
+
- `js/inline-miniature-normalizer` reports clusters of local helpers that form a private reader or narrowing toolkit.
|
|
12
|
+
- `js/no-mixed-layers-without-abstraction` reports consuming features that own independently reusable external-integration responsibilities without a stable interface.
|
|
13
|
+
- `js/no-private-schema-toolkit` reports clusters of local helpers that form an ad hoc schema or payload-normalization toolkit.
|
|
14
|
+
- `js/no-redundant-binding` reports local bindings that only rename an unchanged value or reference without adding a useful boundary.
|
|
15
|
+
- `js/no-redundant-jsdoc` reports JSDoc that mostly restates the documented declaration, signature, or implementation.
|
|
16
|
+
- `js/no-trivial-wrapper-stack` reports chains of shallow wrappers that add no meaningful policy or runtime boundary.
|
|
17
|
+
- `js/no-vacuous-function` reports functions whose shallow implementation does not earn a separate runtime boundary.
|
|
18
18
|
|
|
19
|
-
`
|
|
19
|
+
`js/no-vacuous-function` remains a local, cacheable model review. Repository-wide test usage is handled by a separate opt-in rule so enabling an agent does not change the recommended rule's behavior or cacheability.
|
|
20
|
+
|
|
21
|
+
Five repository-aware rules are registered but intentionally not enabled by `recommended`:
|
|
22
|
+
|
|
23
|
+
- `js/no-duplicated-knowledge` finds policy or mechanism knowledge duplicated across files when both locations encode one decision that must change together. A small, whole-helper clone is usually a better fit for `simplicity/no-duplicated-helper`.
|
|
24
|
+
- `js/no-redundant-catch` finds an outer error-normalization catch that is made redundant by a callee's proven domain-error postcondition.
|
|
25
|
+
- `js/no-single-use-materialization` finds a collection produced once and consumed once immediately when the producer and consumer can be fused safely. It is broader than the local `js/no-redundant-binding` check for unchanged aliases.
|
|
26
|
+
- `js/no-test-only-production-wrapper` finds a shallow wrapper declared in production but referenced only by tests and unreachable through package exports.
|
|
27
|
+
- `js/no-overlapping-entrypoints` finds competing package public entrypoints that expose materially the same symbol surface and have unclear canonical ownership. It is not a replacement for `js/no-trivial-wrapper-stack`, which reviews shallow local call chains.
|
|
28
|
+
|
|
29
|
+
## Repository-aware review requirements
|
|
30
|
+
|
|
31
|
+
The five opt-in rules require both a configured model and an agent adapter capable of tool calls. They reuse the standard `@alint-js/tools-fs` list, search, and read tools, and ask the agent to include repository evidence with each finding.
|
|
20
32
|
|
|
21
33
|
## How to use
|
|
22
34
|
|
|
23
|
-
|
|
35
|
+
Use the default export with the `js` plugin name because the bundled preset refers to `js/*` rule IDs.
|
|
36
|
+
|
|
37
|
+
### Recommended preset
|
|
24
38
|
|
|
25
39
|
```ts
|
|
40
|
+
import jsPlugin from '@alint-js/plugin-js'
|
|
41
|
+
|
|
26
42
|
import { defineConfig } from '@alint-js/cli'
|
|
27
|
-
import { examplePlugin } from '@alint-js/plugin-js'
|
|
28
43
|
|
|
29
44
|
export default defineConfig([
|
|
30
45
|
{
|
|
46
|
+
extends: ['js/recommended'],
|
|
31
47
|
files: ['**/*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}'],
|
|
32
48
|
plugins: {
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
rules: {
|
|
36
|
-
'example/inline-miniature-normalizer': 'warn',
|
|
37
|
-
'example/no-mixed-layers-without-abstraction': 'warn',
|
|
38
|
-
'example/no-private-schema-toolkit': 'warn',
|
|
39
|
-
'example/no-redundant-binding': 'warn',
|
|
40
|
-
'example/no-redundant-jsdoc': 'warn',
|
|
41
|
-
'example/no-trivial-wrapper-stack': 'warn',
|
|
42
|
-
'example/no-vacuous-function': 'warn',
|
|
49
|
+
js: jsPlugin,
|
|
43
50
|
},
|
|
44
51
|
},
|
|
45
52
|
])
|
|
46
53
|
```
|
|
47
54
|
|
|
48
|
-
|
|
55
|
+
### Opt in to repository-aware rules
|
|
56
|
+
|
|
57
|
+
Configure an agent and tool-call-capable model in your `alint` runtime, then enable the repository-aware rules explicitly:
|
|
49
58
|
|
|
50
59
|
```ts
|
|
51
|
-
import
|
|
60
|
+
import jsPlugin from '@alint-js/plugin-js'
|
|
52
61
|
|
|
53
62
|
import { defineConfig } from '@alint-js/cli'
|
|
54
63
|
|
|
55
64
|
export default defineConfig([
|
|
56
65
|
{
|
|
66
|
+
files: ['**/*.{js,jsx,ts,tsx,mjs,cjs,mts,cts}'],
|
|
57
67
|
plugins: {
|
|
58
|
-
|
|
68
|
+
js: jsPlugin,
|
|
69
|
+
},
|
|
70
|
+
rules: {
|
|
71
|
+
'js/no-duplicated-knowledge': 'warn',
|
|
72
|
+
'js/no-overlapping-entrypoints': 'warn',
|
|
73
|
+
'js/no-redundant-catch': 'warn',
|
|
74
|
+
'js/no-single-use-materialization': 'warn',
|
|
75
|
+
'js/no-test-only-production-wrapper': 'warn',
|
|
59
76
|
},
|
|
60
77
|
},
|
|
61
|
-
examplePlugin.configs?.recommended ?? [],
|
|
62
78
|
])
|
|
63
79
|
```
|
|
64
80
|
|
|
65
81
|
## When to use
|
|
66
82
|
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
- To review consuming services that directly own several independently evolving layers of an external integration.
|
|
83
|
+
- Use the recommended preset for model-assisted JavaScript and TypeScript design review.
|
|
84
|
+
- Opt in to repository-aware rules when cross-file ownership, package surfaces, or control/data-flow contracts need investigation.
|
|
85
|
+
- Use the named rule exports when composing another plugin definition programmatically.
|
|
71
86
|
|
|
72
87
|
## When not to use
|
|
73
88
|
|
|
74
|
-
- Do not use
|
|
75
|
-
- Do not
|
|
76
|
-
-
|
|
77
|
-
-
|
|
89
|
+
- Do not use model-backed rules as a deterministic replacement for syntax-aware lint.
|
|
90
|
+
- Do not enable repository-aware rules with a generation-only model or without an agent adapter.
|
|
91
|
+
- Do not use `js/no-duplicated-knowledge` for coincidental literals or clones that do not encode one shared decision.
|
|
92
|
+
- Do not use `js/no-overlapping-entrypoints` for documented compatibility aliases or conditional/type-only exports.
|
|
93
|
+
- Do not use `js/no-redundant-catch` when the outer catch changes cleanup, observability, error metadata, cause, identity, or cancellation behavior.
|
|
94
|
+
- Do not use `js/no-single-use-materialization` when fusion would change validation ordering, evaluation, identity, side effects, concurrency, or another observable behavior.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as tryImport } from "./index-DoHiaFQM-9scNuUlY.mjs";
|
|
2
2
|
//#region ../../node_modules/.pnpm/xsschema@0.5.0-beta.7_@valibot+to-json-schema@1.7.1_valibot@1.4.2_typescript@6.0.3___ef_dd15987b5d347427ac15b31bb7305983/node_modules/xsschema/dist/effect-Df2gY8Wx.js
|
|
3
3
|
const getToJsonSchemaFn = async () => {
|
|
4
|
-
const { JSONSchema } = await tryImport(import("./esm-
|
|
4
|
+
const { JSONSchema } = await tryImport(import("./esm-GXtgvsKv.mjs"), "effect");
|
|
5
5
|
return (schema) => JSONSchema.make(schema);
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __exportAll = (all, no_symbols) => {
|
|
4
|
-
let target = {};
|
|
5
|
-
for (var name in all) __defProp(target, name, {
|
|
6
|
-
get: all[name],
|
|
7
|
-
enumerable: true
|
|
8
|
-
});
|
|
9
|
-
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
|
-
return target;
|
|
11
|
-
};
|
|
12
|
-
//#endregion
|
|
1
|
+
import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.mjs";
|
|
13
2
|
//#region ../../node_modules/.pnpm/effect@3.22.0/node_modules/effect/dist/esm/Function.js
|
|
14
3
|
var Function_exports = /* @__PURE__ */ __exportAll({
|
|
15
4
|
SK: () => SK,
|
|
@@ -111808,4 +111797,4 @@ const isPullAfterAllEnqueued = isPullAfterAllEnqueued$1;
|
|
|
111808
111797
|
*/
|
|
111809
111798
|
const match = match$19;
|
|
111810
111799
|
//#endregion
|
|
111811
|
-
export { Arbitrary_exports as Arbitrary, Array_exports as Array, BigDecimal_exports as BigDecimal, BigInt_exports as BigInt, Boolean_exports as Boolean, Brand_exports as Brand, Cache_exports as Cache, Cause_exports as Cause, Channel_exports as Channel, ChildExecutorDecision_exports as ChildExecutorDecision, Chunk_exports as Chunk, Clock_exports as Clock, Config_exports as Config, ConfigError_exports as ConfigError, ConfigProvider_exports as ConfigProvider, ConfigProviderPathPatch_exports as ConfigProviderPathPatch, Console_exports as Console, Context_exports as Context, Cron_exports as Cron, Data_exports as Data, DateTime_exports as DateTime, DefaultServices_exports as DefaultServices, Deferred_exports as Deferred, Differ_exports as Differ, Duration_exports as Duration, Effect_exports as Effect, Effectable_exports as Effectable, Either_exports as Either, Encoding_exports as Encoding, Equal_exports as Equal, Equivalence_exports as Equivalence, ExecutionPlan_exports as ExecutionPlan, ExecutionStrategy_exports as ExecutionStrategy, Exit_exports as Exit, FastCheck_exports as FastCheck, Fiber_exports as Fiber, FiberHandle_exports as FiberHandle, FiberId_exports as FiberId, FiberMap_exports as FiberMap, FiberRef_exports as FiberRef, FiberRefs_exports as FiberRefs, FiberRefsPatch_exports as FiberRefsPatch, FiberSet_exports as FiberSet, FiberStatus_exports as FiberStatus, Function_exports as Function, GlobalValue_exports as GlobalValue, Graph_exports as Graph, GroupBy_exports as GroupBy, HKT_exports as HKT, Hash_exports as Hash, HashMap_exports as HashMap, HashRing_exports as HashRing, HashSet_exports as HashSet, Inspectable_exports as Inspectable, Iterable_exports as Iterable, JSONSchema_exports as JSONSchema, KeyedPool_exports as KeyedPool, Layer_exports as Layer, LayerMap_exports as LayerMap, List_exports as List, LogLevel_exports as LogLevel, LogSpan_exports as LogSpan, Logger_exports as Logger, Mailbox_exports as Mailbox, ManagedRuntime_exports as ManagedRuntime, Match_exports as Match, MergeDecision_exports as MergeDecision, MergeState_exports as MergeState, MergeStrategy_exports as MergeStrategy, Metric_exports as Metric, MetricBoundaries_exports as MetricBoundaries, MetricHook_exports as MetricHook, MetricKey_exports as MetricKey, MetricKeyType_exports as MetricKeyType, MetricLabel_exports as MetricLabel, MetricPair_exports as MetricPair, MetricPolling_exports as MetricPolling, MetricRegistry_exports as MetricRegistry, MetricState_exports as MetricState, Micro_exports as Micro, ModuleVersion_exports as ModuleVersion, MutableHashMap_exports as MutableHashMap, MutableHashSet_exports as MutableHashSet, MutableList_exports as MutableList, MutableQueue_exports as MutableQueue, MutableRef_exports as MutableRef, NonEmptyIterable_exports as NonEmptyIterable, Number_exports as Number, Option_exports as Option, Order_exports as Order, Ordering_exports as Ordering, ParseResult_exports as ParseResult, PartitionedSemaphore_exports as PartitionedSemaphore, Pipeable_exports as Pipeable, Pool_exports as Pool, Predicate_exports as Predicate, Pretty_exports as Pretty, PrimaryKey_exports as PrimaryKey, PubSub_exports as PubSub, Queue_exports as Queue, Random_exports as Random, RateLimiter_exports as RateLimiter, RcMap_exports as RcMap, RcRef_exports as RcRef, Readable_exports as Readable, Record_exports as Record, RedBlackTree_exports as RedBlackTree, Redacted_exports as Redacted, Ref_exports as Ref, RegExp_exports as RegExp, Reloadable_exports as Reloadable, Request_exports as Request, RequestBlock_exports as RequestBlock, RequestResolver_exports as RequestResolver, Resource_exports as Resource, Runtime_exports as Runtime, RuntimeFlags_exports as RuntimeFlags, RuntimeFlagsPatch_exports as RuntimeFlagsPatch, STM_exports as STM, Schedule_exports as Schedule, ScheduleDecision_exports as ScheduleDecision, ScheduleInterval_exports as ScheduleInterval, ScheduleIntervals_exports as ScheduleIntervals, Scheduler_exports as Scheduler, Schema_exports as Schema, SchemaAST_exports as SchemaAST, Scope_exports as Scope, ScopedCache_exports as ScopedCache, ScopedRef_exports as ScopedRef, Secret_exports as Secret, SingleProducerAsyncInput_exports as SingleProducerAsyncInput, Sink_exports as Sink, SortedMap_exports as SortedMap, SortedSet_exports as SortedSet, Stream_exports as Stream, StreamEmit_exports as StreamEmit, StreamHaltStrategy_exports as StreamHaltStrategy, Streamable_exports as Streamable, String_exports as String, Struct_exports as Struct, Subscribable_exports as Subscribable, SubscriptionRef_exports as SubscriptionRef, Supervisor_exports as Supervisor, Symbol_exports as Symbol, SynchronizedRef_exports as SynchronizedRef, TArray_exports as TArray, TDeferred_exports as TDeferred, TMap_exports as TMap, TPriorityQueue_exports as TPriorityQueue, TPubSub_exports as TPubSub, TQueue_exports as TQueue, TRandom_exports as TRandom, TReentrantLock_exports as TReentrantLock, TRef_exports as TRef, TSemaphore_exports as TSemaphore, TSet_exports as TSet, TSubscriptionRef_exports as TSubscriptionRef, Take_exports as Take, TestAnnotation_exports as TestAnnotation, TestAnnotationMap_exports as TestAnnotationMap, TestAnnotations_exports as TestAnnotations, TestClock_exports as TestClock, TestConfig_exports as TestConfig, TestContext_exports as TestContext, TestLive_exports as TestLive, TestServices_exports as TestServices, TestSized_exports as TestSized, Tracer_exports as Tracer, Trie_exports as Trie, Tuple_exports as Tuple, Types_exports as Types, Unify_exports as Unify, UpstreamPullRequest_exports as UpstreamPullRequest, UpstreamPullStrategy_exports as UpstreamPullStrategy, Utils_exports as Utils, absurd, flow, hole, identity, pipe,
|
|
111800
|
+
export { Arbitrary_exports as Arbitrary, Array_exports as Array, BigDecimal_exports as BigDecimal, BigInt_exports as BigInt, Boolean_exports as Boolean, Brand_exports as Brand, Cache_exports as Cache, Cause_exports as Cause, Channel_exports as Channel, ChildExecutorDecision_exports as ChildExecutorDecision, Chunk_exports as Chunk, Clock_exports as Clock, Config_exports as Config, ConfigError_exports as ConfigError, ConfigProvider_exports as ConfigProvider, ConfigProviderPathPatch_exports as ConfigProviderPathPatch, Console_exports as Console, Context_exports as Context, Cron_exports as Cron, Data_exports as Data, DateTime_exports as DateTime, DefaultServices_exports as DefaultServices, Deferred_exports as Deferred, Differ_exports as Differ, Duration_exports as Duration, Effect_exports as Effect, Effectable_exports as Effectable, Either_exports as Either, Encoding_exports as Encoding, Equal_exports as Equal, Equivalence_exports as Equivalence, ExecutionPlan_exports as ExecutionPlan, ExecutionStrategy_exports as ExecutionStrategy, Exit_exports as Exit, FastCheck_exports as FastCheck, Fiber_exports as Fiber, FiberHandle_exports as FiberHandle, FiberId_exports as FiberId, FiberMap_exports as FiberMap, FiberRef_exports as FiberRef, FiberRefs_exports as FiberRefs, FiberRefsPatch_exports as FiberRefsPatch, FiberSet_exports as FiberSet, FiberStatus_exports as FiberStatus, Function_exports as Function, GlobalValue_exports as GlobalValue, Graph_exports as Graph, GroupBy_exports as GroupBy, HKT_exports as HKT, Hash_exports as Hash, HashMap_exports as HashMap, HashRing_exports as HashRing, HashSet_exports as HashSet, Inspectable_exports as Inspectable, Iterable_exports as Iterable, JSONSchema_exports as JSONSchema, KeyedPool_exports as KeyedPool, Layer_exports as Layer, LayerMap_exports as LayerMap, List_exports as List, LogLevel_exports as LogLevel, LogSpan_exports as LogSpan, Logger_exports as Logger, Mailbox_exports as Mailbox, ManagedRuntime_exports as ManagedRuntime, Match_exports as Match, MergeDecision_exports as MergeDecision, MergeState_exports as MergeState, MergeStrategy_exports as MergeStrategy, Metric_exports as Metric, MetricBoundaries_exports as MetricBoundaries, MetricHook_exports as MetricHook, MetricKey_exports as MetricKey, MetricKeyType_exports as MetricKeyType, MetricLabel_exports as MetricLabel, MetricPair_exports as MetricPair, MetricPolling_exports as MetricPolling, MetricRegistry_exports as MetricRegistry, MetricState_exports as MetricState, Micro_exports as Micro, ModuleVersion_exports as ModuleVersion, MutableHashMap_exports as MutableHashMap, MutableHashSet_exports as MutableHashSet, MutableList_exports as MutableList, MutableQueue_exports as MutableQueue, MutableRef_exports as MutableRef, NonEmptyIterable_exports as NonEmptyIterable, Number_exports as Number, Option_exports as Option, Order_exports as Order, Ordering_exports as Ordering, ParseResult_exports as ParseResult, PartitionedSemaphore_exports as PartitionedSemaphore, Pipeable_exports as Pipeable, Pool_exports as Pool, Predicate_exports as Predicate, Pretty_exports as Pretty, PrimaryKey_exports as PrimaryKey, PubSub_exports as PubSub, Queue_exports as Queue, Random_exports as Random, RateLimiter_exports as RateLimiter, RcMap_exports as RcMap, RcRef_exports as RcRef, Readable_exports as Readable, Record_exports as Record, RedBlackTree_exports as RedBlackTree, Redacted_exports as Redacted, Ref_exports as Ref, RegExp_exports as RegExp, Reloadable_exports as Reloadable, Request_exports as Request, RequestBlock_exports as RequestBlock, RequestResolver_exports as RequestResolver, Resource_exports as Resource, Runtime_exports as Runtime, RuntimeFlags_exports as RuntimeFlags, RuntimeFlagsPatch_exports as RuntimeFlagsPatch, STM_exports as STM, Schedule_exports as Schedule, ScheduleDecision_exports as ScheduleDecision, ScheduleInterval_exports as ScheduleInterval, ScheduleIntervals_exports as ScheduleIntervals, Scheduler_exports as Scheduler, Schema_exports as Schema, SchemaAST_exports as SchemaAST, Scope_exports as Scope, ScopedCache_exports as ScopedCache, ScopedRef_exports as ScopedRef, Secret_exports as Secret, SingleProducerAsyncInput_exports as SingleProducerAsyncInput, Sink_exports as Sink, SortedMap_exports as SortedMap, SortedSet_exports as SortedSet, Stream_exports as Stream, StreamEmit_exports as StreamEmit, StreamHaltStrategy_exports as StreamHaltStrategy, Streamable_exports as Streamable, String_exports as String, Struct_exports as Struct, Subscribable_exports as Subscribable, SubscriptionRef_exports as SubscriptionRef, Supervisor_exports as Supervisor, Symbol_exports as Symbol, SynchronizedRef_exports as SynchronizedRef, TArray_exports as TArray, TDeferred_exports as TDeferred, TMap_exports as TMap, TPriorityQueue_exports as TPriorityQueue, TPubSub_exports as TPubSub, TQueue_exports as TQueue, TRandom_exports as TRandom, TReentrantLock_exports as TReentrantLock, TRef_exports as TRef, TSemaphore_exports as TSemaphore, TSet_exports as TSet, TSubscriptionRef_exports as TSubscriptionRef, Take_exports as Take, TestAnnotation_exports as TestAnnotation, TestAnnotationMap_exports as TestAnnotationMap, TestAnnotations_exports as TestAnnotations, TestClock_exports as TestClock, TestConfig_exports as TestConfig, TestContext_exports as TestContext, TestLive_exports as TestLive, TestServices_exports as TestServices, TestSized_exports as TestSized, Tracer_exports as Tracer, Trie_exports as Trie, Tuple_exports as Tuple, Types_exports as Types, Unify_exports as Unify, UpstreamPullRequest_exports as UpstreamPullRequest, UpstreamPullStrategy_exports as UpstreamPullStrategy, Utils_exports as Utils, absurd, flow, hole, identity, pipe, unsafeCoerce };
|
package/dist/index.d.mts
CHANGED
|
@@ -2496,18 +2496,33 @@ declare function createReportFindingsToolParameters(): JsonSchema;
|
|
|
2496
2496
|
//#region src/rules/inline-miniature-normalizer/rule.d.ts
|
|
2497
2497
|
declare const inlineMiniatureNormalizerRule: RuleDefinition<[]>;
|
|
2498
2498
|
//#endregion
|
|
2499
|
+
//#region src/rules/no-duplicated-knowledge/rule.d.ts
|
|
2500
|
+
declare const duplicatedKnowledgeRule: RuleDefinition<[]>;
|
|
2501
|
+
//#endregion
|
|
2499
2502
|
//#region src/rules/no-mixed-layers-without-abstraction/rule.d.ts
|
|
2500
2503
|
declare const mixedLayersWithoutAbstractionRule: RuleDefinition<[]>;
|
|
2501
2504
|
//#endregion
|
|
2505
|
+
//#region src/rules/no-overlapping-entrypoints/rule.d.ts
|
|
2506
|
+
declare const overlappingEntrypointsRule: RuleDefinition<[]>;
|
|
2507
|
+
//#endregion
|
|
2502
2508
|
//#region src/rules/no-private-schema-toolkit/rule.d.ts
|
|
2503
2509
|
declare const privateSchemaToolkitRule: RuleDefinition<[]>;
|
|
2504
2510
|
//#endregion
|
|
2505
2511
|
//#region src/rules/no-redundant-binding/rule.d.ts
|
|
2506
2512
|
declare const redundantBindingRule: RuleDefinition<[]>;
|
|
2507
2513
|
//#endregion
|
|
2514
|
+
//#region src/rules/no-redundant-catch/rule.d.ts
|
|
2515
|
+
declare const redundantCatchRule: RuleDefinition<[]>;
|
|
2516
|
+
//#endregion
|
|
2508
2517
|
//#region src/rules/no-redundant-jsdoc/rule.d.ts
|
|
2509
2518
|
declare const redundantJsdocRule: RuleDefinition<[]>;
|
|
2510
2519
|
//#endregion
|
|
2520
|
+
//#region src/rules/no-single-use-materialization/rule.d.ts
|
|
2521
|
+
declare const singleUseMaterializationRule: RuleDefinition<[]>;
|
|
2522
|
+
//#endregion
|
|
2523
|
+
//#region src/rules/no-test-only-production-wrapper/rule.d.ts
|
|
2524
|
+
declare const testOnlyProductionWrapperRule: RuleDefinition<[]>;
|
|
2525
|
+
//#endregion
|
|
2511
2526
|
//#region src/rules/no-trivial-wrapper-stack/rule.d.ts
|
|
2512
2527
|
declare const trivialWrapperStackRule: RuleDefinition<[]>;
|
|
2513
2528
|
//#endregion
|
|
@@ -2517,12 +2532,17 @@ declare const vacuousFunctionRule: RuleDefinition<[]>;
|
|
|
2517
2532
|
//#region src/index.d.ts
|
|
2518
2533
|
declare const _default: PluginDefinition<{
|
|
2519
2534
|
readonly 'inline-miniature-normalizer': RuleDefinition<[]>;
|
|
2535
|
+
readonly 'no-duplicated-knowledge': RuleDefinition<[]>;
|
|
2520
2536
|
readonly 'no-mixed-layers-without-abstraction': RuleDefinition<[]>;
|
|
2537
|
+
readonly 'no-overlapping-entrypoints': RuleDefinition<[]>;
|
|
2521
2538
|
readonly 'no-private-schema-toolkit': RuleDefinition<[]>;
|
|
2522
2539
|
readonly 'no-redundant-binding': RuleDefinition<[]>;
|
|
2540
|
+
readonly 'no-redundant-catch': RuleDefinition<[]>;
|
|
2523
2541
|
readonly 'no-redundant-jsdoc': RuleDefinition<[]>;
|
|
2542
|
+
readonly 'no-single-use-materialization': RuleDefinition<[]>;
|
|
2543
|
+
readonly 'no-test-only-production-wrapper': RuleDefinition<[]>;
|
|
2524
2544
|
readonly 'no-trivial-wrapper-stack': RuleDefinition<[]>;
|
|
2525
2545
|
readonly 'no-vacuous-function': RuleDefinition<[]>;
|
|
2526
2546
|
}>;
|
|
2527
2547
|
//#endregion
|
|
2528
|
-
export { createJudgeMessages, createReportFindingsToolParameters, _default as default, inlineMiniatureNormalizerRule, judgeFindingSchema, judgeResponseSchema, mixedLayersWithoutAbstractionRule, privateSchemaToolkitRule, redundantBindingRule, redundantJsdocRule, trivialWrapperStackRule, vacuousFunctionRule };
|
|
2548
|
+
export { createJudgeMessages, createReportFindingsToolParameters, _default as default, duplicatedKnowledgeRule, inlineMiniatureNormalizerRule, judgeFindingSchema, judgeResponseSchema, mixedLayersWithoutAbstractionRule, overlappingEntrypointsRule, privateSchemaToolkitRule, redundantBindingRule, redundantCatchRule, redundantJsdocRule, singleUseMaterializationRule, testOnlyProductionWrapperRule, trivialWrapperStackRule, vacuousFunctionRule };
|