Variable: rules
ts
const rules: {
artifact-tool-forbids-artifact-constructor: RuleModuleWithName<"forbidArtifactConstructor", [], unknown, RuleListener>;
no-model-in-tool-handler: RuleModuleWithName<"noModelInHandler", [], unknown, RuleListener>;
require-validator-any-required: RuleModuleWithName<"declareIntent", [], unknown, RuleListener>;
thought-payload-requires-replay-tag: RuleModuleWithName<"requireReplayTag", [], unknown, RuleListener>;
token-encoding-requires-context-window: RuleModuleWithName<"requireContextWindow", [], unknown, RuleListener>;
};Defined in: eslint/index.ts:36
Map of rule id (without the adk/ plugin prefix) to its rule object. Registered on the plugin as rules, so configs reference them as adk/<id>.
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
artifact-tool-forbids-artifact-constructor | RuleModuleWithName<"forbidArtifactConstructor", [], unknown, RuleListener> | artifactToolForbidsArtifactConstructor | eslint/index.ts:41 |
no-model-in-tool-handler | RuleModuleWithName<"noModelInHandler", [], unknown, RuleListener> | noModelInToolHandler | eslint/index.ts:38 |
require-validator-any-required | RuleModuleWithName<"declareIntent", [], unknown, RuleListener> | requireValidatorAnyRequired | eslint/index.ts:37 |
thought-payload-requires-replay-tag | RuleModuleWithName<"requireReplayTag", [], unknown, RuleListener> | thoughtPayloadRequiresReplayTag | eslint/index.ts:39 |
token-encoding-requires-context-window | RuleModuleWithName<"requireContextWindow", [], unknown, RuleListener> | tokenEncodingRequiresContextWindow | eslint/index.ts:40 |