Documentation
¶
Index ¶
- func DefaultRules() *lint.RuleSet
- type ActionWorkSignalWriteRule
- func (r *ActionWorkSignalWriteRule) CISeverity() lint.Severity
- func (r *ActionWorkSignalWriteRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *ActionWorkSignalWriteRule) Code() string
- func (r *ActionWorkSignalWriteRule) DefaultSeverity() lint.Severity
- func (r *ActionWorkSignalWriteRule) Description() string
- func (r *ActionWorkSignalWriteRule) DocURL() string
- type AppCanonicalVangoImportRule
- func (r *AppCanonicalVangoImportRule) CISeverity() lint.Severity
- func (r *AppCanonicalVangoImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *AppCanonicalVangoImportRule) Code() string
- func (r *AppCanonicalVangoImportRule) DefaultSeverity() lint.Severity
- func (r *AppCanonicalVangoImportRule) Description() string
- func (r *AppCanonicalVangoImportRule) DocURL() string
- type ArrayKeyedRequiredRule
- func (r *ArrayKeyedRequiredRule) CISeverity() lint.Severity
- func (r *ArrayKeyedRequiredRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *ArrayKeyedRequiredRule) Code() string
- func (r *ArrayKeyedRequiredRule) DefaultSeverity() lint.Severity
- func (r *ArrayKeyedRequiredRule) Description() string
- func (r *ArrayKeyedRequiredRule) DocURL() string
- type BadSignatureRule
- func (r *BadSignatureRule) CISeverity() lint.Severity
- func (r *BadSignatureRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *BadSignatureRule) Code() string
- func (r *BadSignatureRule) DefaultSeverity() lint.Severity
- func (r *BadSignatureRule) Description() string
- func (r *BadSignatureRule) DocURL() string
- type ComponentsRoutesImportRule
- func (r *ComponentsRoutesImportRule) CISeverity() lint.Severity
- func (r *ComponentsRoutesImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *ComponentsRoutesImportRule) Code() string
- func (r *ComponentsRoutesImportRule) DefaultSeverity() lint.Severity
- func (r *ComponentsRoutesImportRule) Description() string
- func (r *ComponentsRoutesImportRule) DocURL() string
- type ConditionalAllocRule
- func (r *ConditionalAllocRule) CISeverity() lint.Severity
- func (r *ConditionalAllocRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *ConditionalAllocRule) Code() string
- func (r *ConditionalAllocRule) DefaultSeverity() lint.Severity
- func (r *ConditionalAllocRule) Description() string
- func (r *ConditionalAllocRule) DocURL() string
- type EventBlockingIORule
- func (r *EventBlockingIORule) CISeverity() lint.Severity
- func (r *EventBlockingIORule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *EventBlockingIORule) Code() string
- func (r *EventBlockingIORule) DefaultSeverity() lint.Severity
- func (r *EventBlockingIORule) Description() string
- func (r *EventBlockingIORule) DocURL() string
- type EventGoroutineRule
- func (r *EventGoroutineRule) CISeverity() lint.Severity
- func (r *EventGoroutineRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *EventGoroutineRule) Code() string
- func (r *EventGoroutineRule) DefaultSeverity() lint.Severity
- func (r *EventGoroutineRule) Description() string
- func (r *EventGoroutineRule) DocURL() string
- type FormHTTPFallbackAttrsRule
- func (r *FormHTTPFallbackAttrsRule) CISeverity() lint.Severity
- func (r *FormHTTPFallbackAttrsRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *FormHTTPFallbackAttrsRule) Code() string
- func (r *FormHTTPFallbackAttrsRule) DefaultSeverity() lint.Severity
- func (r *FormHTTPFallbackAttrsRule) Description() string
- func (r *FormHTTPFallbackAttrsRule) DocURL() string
- type InPlaceSignalMutationRule
- func (r *InPlaceSignalMutationRule) CISeverity() lint.Severity
- func (r *InPlaceSignalMutationRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *InPlaceSignalMutationRule) Code() string
- func (r *InPlaceSignalMutationRule) DefaultSeverity() lint.Severity
- func (r *InPlaceSignalMutationRule) Description() string
- func (r *InPlaceSignalMutationRule) DocURL() string
- type InitDependsOnPropsRule
- func (r *InitDependsOnPropsRule) CISeverity() lint.Severity
- func (r *InitDependsOnPropsRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *InitDependsOnPropsRule) Code() string
- func (r *InitDependsOnPropsRule) DefaultSeverity() lint.Severity
- func (r *InitDependsOnPropsRule) Description() string
- func (r *InitDependsOnPropsRule) DocURL() string
- type InternalAppImportRule
- func (r *InternalAppImportRule) CISeverity() lint.Severity
- func (r *InternalAppImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *InternalAppImportRule) Code() string
- func (r *InternalAppImportRule) DefaultSeverity() lint.Severity
- func (r *InternalAppImportRule) Description() string
- func (r *InternalAppImportRule) DocURL() string
- type InvalidChildrenFieldRule
- func (r *InvalidChildrenFieldRule) CISeverity() lint.Severity
- func (r *InvalidChildrenFieldRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *InvalidChildrenFieldRule) Code() string
- func (r *InvalidChildrenFieldRule) DefaultSeverity() lint.Severity
- func (r *InvalidChildrenFieldRule) Description() string
- func (r *InvalidChildrenFieldRule) DocURL() string
- type LoopAllocRule
- func (r *LoopAllocRule) CISeverity() lint.Severity
- func (r *LoopAllocRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *LoopAllocRule) Code() string
- func (r *LoopAllocRule) DefaultSeverity() lint.Severity
- func (r *LoopAllocRule) Description() string
- func (r *LoopAllocRule) DocURL() string
- type MissingListKeyRule
- func (r *MissingListKeyRule) CISeverity() lint.Severity
- func (r *MissingListKeyRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *MissingListKeyRule) Code() string
- func (r *MissingListKeyRule) DefaultSeverity() lint.Severity
- func (r *MissingListKeyRule) Description() string
- func (r *MissingListKeyRule) DocURL() string
- type MissingPropsArgRule
- func (r *MissingPropsArgRule) CISeverity() lint.Severity
- func (r *MissingPropsArgRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *MissingPropsArgRule) Code() string
- func (r *MissingPropsArgRule) DefaultSeverity() lint.Severity
- func (r *MissingPropsArgRule) Description() string
- func (r *MissingPropsArgRule) DocURL() string
- type MultipleSetupCallsRule
- func (r *MultipleSetupCallsRule) CISeverity() lint.Severity
- func (r *MultipleSetupCallsRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *MultipleSetupCallsRule) Code() string
- func (r *MultipleSetupCallsRule) DefaultSeverity() lint.Severity
- func (r *MultipleSetupCallsRule) Description() string
- func (r *MultipleSetupCallsRule) DocURL() string
- type NondeterministicInitRule
- func (r *NondeterministicInitRule) CISeverity() lint.Severity
- func (r *NondeterministicInitRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *NondeterministicInitRule) Code() string
- func (r *NondeterministicInitRule) DefaultSeverity() lint.Severity
- func (r *NondeterministicInitRule) Description() string
- func (r *NondeterministicInitRule) DocURL() string
- type PropsNotPassedRule
- func (r *PropsNotPassedRule) CISeverity() lint.Severity
- func (r *PropsNotPassedRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *PropsNotPassedRule) Code() string
- func (r *PropsNotPassedRule) DefaultSeverity() lint.Severity
- func (r *PropsNotPassedRule) Description() string
- func (r *PropsNotPassedRule) DocURL() string
- type RawStringKeyRule
- func (r *RawStringKeyRule) CISeverity() lint.Severity
- func (r *RawStringKeyRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *RawStringKeyRule) Code() string
- func (r *RawStringKeyRule) DefaultSeverity() lint.Severity
- func (r *RawStringKeyRule) Description() string
- func (r *RawStringKeyRule) DocURL() string
- type RenderAllocRule
- func (r *RenderAllocRule) CISeverity() lint.Severity
- func (r *RenderAllocRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *RenderAllocRule) Code() string
- func (r *RenderAllocRule) DefaultSeverity() lint.Severity
- func (r *RenderAllocRule) Description() string
- func (r *RenderAllocRule) DocURL() string
- type RenderBlockingIORule
- func (r *RenderBlockingIORule) CISeverity() lint.Severity
- func (r *RenderBlockingIORule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *RenderBlockingIORule) Code() string
- func (r *RenderBlockingIORule) DefaultSeverity() lint.Severity
- func (r *RenderBlockingIORule) Description() string
- func (r *RenderBlockingIORule) DocURL() string
- type RenderGoroutineRule
- func (r *RenderGoroutineRule) CISeverity() lint.Severity
- func (r *RenderGoroutineRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *RenderGoroutineRule) Code() string
- func (r *RenderGoroutineRule) DefaultSeverity() lint.Severity
- func (r *RenderGoroutineRule) Description() string
- func (r *RenderGoroutineRule) DocURL() string
- type RenderNondeterministicRule
- func (r *RenderNondeterministicRule) CISeverity() lint.Severity
- func (r *RenderNondeterministicRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *RenderNondeterministicRule) Code() string
- func (r *RenderNondeterministicRule) DefaultSeverity() lint.Severity
- func (r *RenderNondeterministicRule) Description() string
- func (r *RenderNondeterministicRule) DocURL() string
- type RepeatedPropsGetRule
- func (r *RepeatedPropsGetRule) CISeverity() lint.Severity
- func (r *RepeatedPropsGetRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *RepeatedPropsGetRule) Code() string
- func (r *RepeatedPropsGetRule) DefaultSeverity() lint.Severity
- func (r *RepeatedPropsGetRule) Description() string
- func (r *RepeatedPropsGetRule) DocURL() string
- type ResourceLoaderSignalWriteRule
- func (r *ResourceLoaderSignalWriteRule) CISeverity() lint.Severity
- func (r *ResourceLoaderSignalWriteRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *ResourceLoaderSignalWriteRule) Code() string
- func (r *ResourceLoaderSignalWriteRule) DefaultSeverity() lint.Severity
- func (r *ResourceLoaderSignalWriteRule) Description() string
- func (r *ResourceLoaderSignalWriteRule) DocURL() string
- type RoutesInternalBypassRule
- func (r *RoutesInternalBypassRule) CISeverity() lint.Severity
- func (r *RoutesInternalBypassRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *RoutesInternalBypassRule) Code() string
- func (r *RoutesInternalBypassRule) DefaultSeverity() lint.Severity
- func (r *RoutesInternalBypassRule) Description() string
- func (r *RoutesInternalBypassRule) DocURL() string
- type ServicesVangoImportRule
- func (r *ServicesVangoImportRule) CISeverity() lint.Severity
- func (r *ServicesVangoImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *ServicesVangoImportRule) Code() string
- func (r *ServicesVangoImportRule) DefaultSeverity() lint.Severity
- func (r *ServicesVangoImportRule) Description() string
- func (r *ServicesVangoImportRule) DocURL() string
- type SetupBlockingIORule
- func (r *SetupBlockingIORule) CISeverity() lint.Severity
- func (r *SetupBlockingIORule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *SetupBlockingIORule) Code() string
- func (r *SetupBlockingIORule) DefaultSeverity() lint.Severity
- func (r *SetupBlockingIORule) Description() string
- func (r *SetupBlockingIORule) DocURL() string
- type SetupGoroutineRule
- func (r *SetupGoroutineRule) CISeverity() lint.Severity
- func (r *SetupGoroutineRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *SetupGoroutineRule) Code() string
- func (r *SetupGoroutineRule) DefaultSeverity() lint.Severity
- func (r *SetupGoroutineRule) Description() string
- func (r *SetupGoroutineRule) DocURL() string
- type SingletonRiskRule
- func (r *SingletonRiskRule) CISeverity() lint.Severity
- func (r *SingletonRiskRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *SingletonRiskRule) Code() string
- func (r *SingletonRiskRule) DefaultSeverity() lint.Severity
- func (r *SingletonRiskRule) Description() string
- func (r *SingletonRiskRule) DocURL() string
- type StoresRoutesImportRule
- func (r *StoresRoutesImportRule) CISeverity() lint.Severity
- func (r *StoresRoutesImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *StoresRoutesImportRule) Code() string
- func (r *StoresRoutesImportRule) DefaultSeverity() lint.Severity
- func (r *StoresRoutesImportRule) Description() string
- func (r *StoresRoutesImportRule) DocURL() string
- type ThinPageHandlerRule
- func (r *ThinPageHandlerRule) CISeverity() lint.Severity
- func (r *ThinPageHandlerRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *ThinPageHandlerRule) Code() string
- func (r *ThinPageHandlerRule) DefaultSeverity() lint.Severity
- func (r *ThinPageHandlerRule) Description() string
- func (r *ThinPageHandlerRule) DocURL() string
- type ValidatorAsyncRule
- func (r *ValidatorAsyncRule) CISeverity() lint.Severity
- func (r *ValidatorAsyncRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *ValidatorAsyncRule) Code() string
- func (r *ValidatorAsyncRule) DefaultSeverity() lint.Severity
- func (r *ValidatorAsyncRule) Description() string
- func (r *ValidatorAsyncRule) DocURL() string
- type VariadicParamsRule
- func (r *VariadicParamsRule) CISeverity() lint.Severity
- func (r *VariadicParamsRule) Check(node ast.Node, ctx *lint.AnalysisContext)
- func (r *VariadicParamsRule) Code() string
- func (r *VariadicParamsRule) DefaultSeverity() lint.Severity
- func (r *VariadicParamsRule) Description() string
- func (r *VariadicParamsRule) DocURL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRules ¶
DefaultRules returns the default set of all lint rules.
Types ¶
type ActionWorkSignalWriteRule ¶
type ActionWorkSignalWriteRule struct{}
ActionWorkSignalWriteRule detects reactive signal writes inside Action work functions. Action work executes off the session loop and must not write reactive state directly.
func (*ActionWorkSignalWriteRule) CISeverity ¶
func (r *ActionWorkSignalWriteRule) CISeverity() lint.Severity
func (*ActionWorkSignalWriteRule) Check ¶
func (r *ActionWorkSignalWriteRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*ActionWorkSignalWriteRule) Code ¶
func (r *ActionWorkSignalWriteRule) Code() string
func (*ActionWorkSignalWriteRule) DefaultSeverity ¶
func (r *ActionWorkSignalWriteRule) DefaultSeverity() lint.Severity
func (*ActionWorkSignalWriteRule) Description ¶
func (r *ActionWorkSignalWriteRule) Description() string
func (*ActionWorkSignalWriteRule) DocURL ¶
func (r *ActionWorkSignalWriteRule) DocURL() string
type AppCanonicalVangoImportRule ¶
type AppCanonicalVangoImportRule struct{}
AppCanonicalVangoImportRule warns app packages that import the internal core path.
func (*AppCanonicalVangoImportRule) CISeverity ¶
func (r *AppCanonicalVangoImportRule) CISeverity() lint.Severity
func (*AppCanonicalVangoImportRule) Check ¶
func (r *AppCanonicalVangoImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*AppCanonicalVangoImportRule) Code ¶
func (r *AppCanonicalVangoImportRule) Code() string
func (*AppCanonicalVangoImportRule) DefaultSeverity ¶
func (r *AppCanonicalVangoImportRule) DefaultSeverity() lint.Severity
func (*AppCanonicalVangoImportRule) Description ¶
func (r *AppCanonicalVangoImportRule) Description() string
func (*AppCanonicalVangoImportRule) DocURL ¶
func (r *AppCanonicalVangoImportRule) DocURL() string
type ArrayKeyedRequiredRule ¶
type ArrayKeyedRequiredRule struct{}
ArrayKeyedRequiredRule enforces ArrayKeyed for dynamic list operations where per-item identity must be stable (e.g., item.Remove handlers).
func (*ArrayKeyedRequiredRule) CISeverity ¶
func (r *ArrayKeyedRequiredRule) CISeverity() lint.Severity
func (*ArrayKeyedRequiredRule) Check ¶
func (r *ArrayKeyedRequiredRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*ArrayKeyedRequiredRule) Code ¶
func (r *ArrayKeyedRequiredRule) Code() string
func (*ArrayKeyedRequiredRule) DefaultSeverity ¶
func (r *ArrayKeyedRequiredRule) DefaultSeverity() lint.Severity
func (*ArrayKeyedRequiredRule) Description ¶
func (r *ArrayKeyedRequiredRule) Description() string
func (*ArrayKeyedRequiredRule) DocURL ¶
func (r *ArrayKeyedRequiredRule) DocURL() string
type BadSignatureRule ¶
type BadSignatureRule struct{}
BadSignatureRule detects invalid Setup component signatures.
func (*BadSignatureRule) CISeverity ¶
func (r *BadSignatureRule) CISeverity() lint.Severity
func (*BadSignatureRule) Check ¶
func (r *BadSignatureRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*BadSignatureRule) Code ¶
func (r *BadSignatureRule) Code() string
func (*BadSignatureRule) DefaultSeverity ¶
func (r *BadSignatureRule) DefaultSeverity() lint.Severity
func (*BadSignatureRule) Description ¶
func (r *BadSignatureRule) Description() string
func (*BadSignatureRule) DocURL ¶
func (r *BadSignatureRule) DocURL() string
type ComponentsRoutesImportRule ¶
type ComponentsRoutesImportRule struct{}
ComponentsRoutesImportRule prevents app/components -> app/routes edges.
func (*ComponentsRoutesImportRule) CISeverity ¶
func (r *ComponentsRoutesImportRule) CISeverity() lint.Severity
func (*ComponentsRoutesImportRule) Check ¶
func (r *ComponentsRoutesImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*ComponentsRoutesImportRule) Code ¶
func (r *ComponentsRoutesImportRule) Code() string
func (*ComponentsRoutesImportRule) DefaultSeverity ¶
func (r *ComponentsRoutesImportRule) DefaultSeverity() lint.Severity
func (*ComponentsRoutesImportRule) Description ¶
func (r *ComponentsRoutesImportRule) Description() string
func (*ComponentsRoutesImportRule) DocURL ¶
func (r *ComponentsRoutesImportRule) DocURL() string
type ConditionalAllocRule ¶
type ConditionalAllocRule struct{}
ConditionalAllocRule detects allocation inside conditionals.
func (*ConditionalAllocRule) CISeverity ¶
func (r *ConditionalAllocRule) CISeverity() lint.Severity
func (*ConditionalAllocRule) Check ¶
func (r *ConditionalAllocRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*ConditionalAllocRule) Code ¶
func (r *ConditionalAllocRule) Code() string
func (*ConditionalAllocRule) DefaultSeverity ¶
func (r *ConditionalAllocRule) DefaultSeverity() lint.Severity
func (*ConditionalAllocRule) Description ¶
func (r *ConditionalAllocRule) Description() string
func (*ConditionalAllocRule) DocURL ¶
func (r *ConditionalAllocRule) DocURL() string
type EventBlockingIORule ¶
type EventBlockingIORule struct{}
EventBlockingIORule detects blocking I/O in event handlers.
func (*EventBlockingIORule) CISeverity ¶
func (r *EventBlockingIORule) CISeverity() lint.Severity
func (*EventBlockingIORule) Check ¶
func (r *EventBlockingIORule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*EventBlockingIORule) Code ¶
func (r *EventBlockingIORule) Code() string
func (*EventBlockingIORule) DefaultSeverity ¶
func (r *EventBlockingIORule) DefaultSeverity() lint.Severity
func (*EventBlockingIORule) Description ¶
func (r *EventBlockingIORule) Description() string
func (*EventBlockingIORule) DocURL ¶
func (r *EventBlockingIORule) DocURL() string
type EventGoroutineRule ¶
type EventGoroutineRule struct{}
EventGoroutineRule detects goroutine spawning in event handlers.
func (*EventGoroutineRule) CISeverity ¶
func (r *EventGoroutineRule) CISeverity() lint.Severity
func (*EventGoroutineRule) Check ¶
func (r *EventGoroutineRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*EventGoroutineRule) Code ¶
func (r *EventGoroutineRule) Code() string
func (*EventGoroutineRule) DefaultSeverity ¶
func (r *EventGoroutineRule) DefaultSeverity() lint.Severity
func (*EventGoroutineRule) Description ¶
func (r *EventGoroutineRule) Description() string
func (*EventGoroutineRule) DocURL ¶
func (r *EventGoroutineRule) DocURL() string
type FormHTTPFallbackAttrsRule ¶
type FormHTTPFallbackAttrsRule struct{}
FormHTTPFallbackAttrsRule enforces method/action attributes on forms to keep HTTP fallback behavior explicit and deterministic.
func (*FormHTTPFallbackAttrsRule) CISeverity ¶
func (r *FormHTTPFallbackAttrsRule) CISeverity() lint.Severity
func (*FormHTTPFallbackAttrsRule) Check ¶
func (r *FormHTTPFallbackAttrsRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*FormHTTPFallbackAttrsRule) Code ¶
func (r *FormHTTPFallbackAttrsRule) Code() string
func (*FormHTTPFallbackAttrsRule) DefaultSeverity ¶
func (r *FormHTTPFallbackAttrsRule) DefaultSeverity() lint.Severity
func (*FormHTTPFallbackAttrsRule) Description ¶
func (r *FormHTTPFallbackAttrsRule) Description() string
func (*FormHTTPFallbackAttrsRule) DocURL ¶
func (r *FormHTTPFallbackAttrsRule) DocURL() string
type InPlaceSignalMutationRule ¶
type InPlaceSignalMutationRule struct{}
InPlaceSignalMutationRule detects definite in-place mutation patterns where a slice/map signal value is mutated and then written back with Set/Update.
func (*InPlaceSignalMutationRule) CISeverity ¶
func (r *InPlaceSignalMutationRule) CISeverity() lint.Severity
func (*InPlaceSignalMutationRule) Check ¶
func (r *InPlaceSignalMutationRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*InPlaceSignalMutationRule) Code ¶
func (r *InPlaceSignalMutationRule) Code() string
func (*InPlaceSignalMutationRule) DefaultSeverity ¶
func (r *InPlaceSignalMutationRule) DefaultSeverity() lint.Severity
func (*InPlaceSignalMutationRule) Description ¶
func (r *InPlaceSignalMutationRule) Description() string
func (*InPlaceSignalMutationRule) DocURL ¶
func (r *InPlaceSignalMutationRule) DocURL() string
type InitDependsOnPropsRule ¶
type InitDependsOnPropsRule struct{}
InitDependsOnPropsRule detects initializers that depend on props.
func (*InitDependsOnPropsRule) CISeverity ¶
func (r *InitDependsOnPropsRule) CISeverity() lint.Severity
func (*InitDependsOnPropsRule) Check ¶
func (r *InitDependsOnPropsRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*InitDependsOnPropsRule) Code ¶
func (r *InitDependsOnPropsRule) Code() string
func (*InitDependsOnPropsRule) DefaultSeverity ¶
func (r *InitDependsOnPropsRule) DefaultSeverity() lint.Severity
func (*InitDependsOnPropsRule) Description ¶
func (r *InitDependsOnPropsRule) Description() string
func (*InitDependsOnPropsRule) DocURL ¶
func (r *InitDependsOnPropsRule) DocURL() string
type InternalAppImportRule ¶
type InternalAppImportRule struct{}
InternalAppImportRule prevents internal/* -> app/* coupling.
func (*InternalAppImportRule) CISeverity ¶
func (r *InternalAppImportRule) CISeverity() lint.Severity
func (*InternalAppImportRule) Check ¶
func (r *InternalAppImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*InternalAppImportRule) Code ¶
func (r *InternalAppImportRule) Code() string
func (*InternalAppImportRule) DefaultSeverity ¶
func (r *InternalAppImportRule) DefaultSeverity() lint.Severity
func (*InternalAppImportRule) Description ¶
func (r *InternalAppImportRule) Description() string
func (*InternalAppImportRule) DocURL ¶
func (r *InternalAppImportRule) DocURL() string
type InvalidChildrenFieldRule ¶
type InvalidChildrenFieldRule struct{}
InvalidChildrenFieldRule detects non-Slot fields that represent children in props. Per DEVELOPER_GUIDE.md §8.1, Setup component children MUST be represented as vango.Slot fields in the props struct.
func (*InvalidChildrenFieldRule) CISeverity ¶
func (r *InvalidChildrenFieldRule) CISeverity() lint.Severity
func (*InvalidChildrenFieldRule) Check ¶
func (r *InvalidChildrenFieldRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*InvalidChildrenFieldRule) Code ¶
func (r *InvalidChildrenFieldRule) Code() string
func (*InvalidChildrenFieldRule) DefaultSeverity ¶
func (r *InvalidChildrenFieldRule) DefaultSeverity() lint.Severity
func (*InvalidChildrenFieldRule) Description ¶
func (r *InvalidChildrenFieldRule) Description() string
func (*InvalidChildrenFieldRule) DocURL ¶
func (r *InvalidChildrenFieldRule) DocURL() string
type LoopAllocRule ¶
type LoopAllocRule struct{}
LoopAllocRule detects allocation inside loops.
func (*LoopAllocRule) CISeverity ¶
func (r *LoopAllocRule) CISeverity() lint.Severity
func (*LoopAllocRule) Check ¶
func (r *LoopAllocRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*LoopAllocRule) Code ¶
func (r *LoopAllocRule) Code() string
func (*LoopAllocRule) DefaultSeverity ¶
func (r *LoopAllocRule) DefaultSeverity() lint.Severity
func (*LoopAllocRule) Description ¶
func (r *LoopAllocRule) Description() string
func (*LoopAllocRule) DocURL ¶
func (r *LoopAllocRule) DocURL() string
type MissingListKeyRule ¶
type MissingListKeyRule struct{}
MissingListKeyRule detects dynamic lists without stable keys. It checks: 1. Native for...range statements that produce VNodes without Key() 2. Range/RangeMap/Repeat helper calls where the callback lacks Key() 3. Manual slice building via append of VNodes without keys 4. Key usage that is present but unstable (index-based or nondeterministic)
func (*MissingListKeyRule) CISeverity ¶
func (r *MissingListKeyRule) CISeverity() lint.Severity
func (*MissingListKeyRule) Check ¶
func (r *MissingListKeyRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*MissingListKeyRule) Code ¶
func (r *MissingListKeyRule) Code() string
func (*MissingListKeyRule) DefaultSeverity ¶
func (r *MissingListKeyRule) DefaultSeverity() lint.Severity
func (*MissingListKeyRule) Description ¶
func (r *MissingListKeyRule) Description() string
func (*MissingListKeyRule) DocURL ¶
func (r *MissingListKeyRule) DocURL() string
type MissingPropsArgRule ¶
type MissingPropsArgRule struct{}
MissingPropsArgRule detects vango.Setup calls missing props argument.
func (*MissingPropsArgRule) CISeverity ¶
func (r *MissingPropsArgRule) CISeverity() lint.Severity
func (*MissingPropsArgRule) Check ¶
func (r *MissingPropsArgRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*MissingPropsArgRule) Code ¶
func (r *MissingPropsArgRule) Code() string
func (*MissingPropsArgRule) DefaultSeverity ¶
func (r *MissingPropsArgRule) DefaultSeverity() lint.Severity
func (*MissingPropsArgRule) Description ¶
func (r *MissingPropsArgRule) Description() string
func (*MissingPropsArgRule) DocURL ¶
func (r *MissingPropsArgRule) DocURL() string
type MultipleSetupCallsRule ¶
type MultipleSetupCallsRule struct{}
MultipleSetupCallsRule detects multiple Setup calls in one function.
func (*MultipleSetupCallsRule) CISeverity ¶
func (r *MultipleSetupCallsRule) CISeverity() lint.Severity
func (*MultipleSetupCallsRule) Check ¶
func (r *MultipleSetupCallsRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*MultipleSetupCallsRule) Code ¶
func (r *MultipleSetupCallsRule) Code() string
func (*MultipleSetupCallsRule) DefaultSeverity ¶
func (r *MultipleSetupCallsRule) DefaultSeverity() lint.Severity
func (*MultipleSetupCallsRule) Description ¶
func (r *MultipleSetupCallsRule) Description() string
func (*MultipleSetupCallsRule) DocURL ¶
func (r *MultipleSetupCallsRule) DocURL() string
type NondeterministicInitRule ¶
type NondeterministicInitRule struct{}
NondeterministicInitRule detects non-deterministic initializers.
func (*NondeterministicInitRule) CISeverity ¶
func (r *NondeterministicInitRule) CISeverity() lint.Severity
func (*NondeterministicInitRule) Check ¶
func (r *NondeterministicInitRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*NondeterministicInitRule) Code ¶
func (r *NondeterministicInitRule) Code() string
func (*NondeterministicInitRule) DefaultSeverity ¶
func (r *NondeterministicInitRule) DefaultSeverity() lint.Severity
func (*NondeterministicInitRule) Description ¶
func (r *NondeterministicInitRule) Description() string
func (*NondeterministicInitRule) DocURL ¶
func (r *NondeterministicInitRule) DocURL() string
type PropsNotPassedRule ¶
type PropsNotPassedRule struct{}
PropsNotPassedRule detects when props parameter is not passed to Setup.
func (*PropsNotPassedRule) CISeverity ¶
func (r *PropsNotPassedRule) CISeverity() lint.Severity
func (*PropsNotPassedRule) Check ¶
func (r *PropsNotPassedRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*PropsNotPassedRule) Code ¶
func (r *PropsNotPassedRule) Code() string
func (*PropsNotPassedRule) DefaultSeverity ¶
func (r *PropsNotPassedRule) DefaultSeverity() lint.Severity
func (*PropsNotPassedRule) Description ¶
func (r *PropsNotPassedRule) Description() string
func (*PropsNotPassedRule) DocURL ¶
func (r *PropsNotPassedRule) DocURL() string
type RawStringKeyRule ¶
type RawStringKeyRule struct{}
RawStringKeyRule detects usage of raw string session keys.
func (*RawStringKeyRule) CISeverity ¶
func (r *RawStringKeyRule) CISeverity() lint.Severity
func (*RawStringKeyRule) Check ¶
func (r *RawStringKeyRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*RawStringKeyRule) Code ¶
func (r *RawStringKeyRule) Code() string
func (*RawStringKeyRule) DefaultSeverity ¶
func (r *RawStringKeyRule) DefaultSeverity() lint.Severity
func (*RawStringKeyRule) Description ¶
func (r *RawStringKeyRule) Description() string
func (*RawStringKeyRule) DocURL ¶
func (r *RawStringKeyRule) DocURL() string
type RenderAllocRule ¶
type RenderAllocRule struct{}
RenderAllocRule detects allocation inside render closure.
func (*RenderAllocRule) CISeverity ¶
func (r *RenderAllocRule) CISeverity() lint.Severity
func (*RenderAllocRule) Check ¶
func (r *RenderAllocRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*RenderAllocRule) Code ¶
func (r *RenderAllocRule) Code() string
func (*RenderAllocRule) DefaultSeverity ¶
func (r *RenderAllocRule) DefaultSeverity() lint.Severity
func (*RenderAllocRule) Description ¶
func (r *RenderAllocRule) Description() string
func (*RenderAllocRule) DocURL ¶
func (r *RenderAllocRule) DocURL() string
type RenderBlockingIORule ¶
type RenderBlockingIORule struct{}
RenderBlockingIORule detects blocking I/O in render closures.
func (*RenderBlockingIORule) CISeverity ¶
func (r *RenderBlockingIORule) CISeverity() lint.Severity
func (*RenderBlockingIORule) Check ¶
func (r *RenderBlockingIORule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*RenderBlockingIORule) Code ¶
func (r *RenderBlockingIORule) Code() string
func (*RenderBlockingIORule) DefaultSeverity ¶
func (r *RenderBlockingIORule) DefaultSeverity() lint.Severity
func (*RenderBlockingIORule) Description ¶
func (r *RenderBlockingIORule) Description() string
func (*RenderBlockingIORule) DocURL ¶
func (r *RenderBlockingIORule) DocURL() string
type RenderGoroutineRule ¶
type RenderGoroutineRule struct{}
RenderGoroutineRule detects goroutine spawning in render.
func (*RenderGoroutineRule) CISeverity ¶
func (r *RenderGoroutineRule) CISeverity() lint.Severity
func (*RenderGoroutineRule) Check ¶
func (r *RenderGoroutineRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*RenderGoroutineRule) Code ¶
func (r *RenderGoroutineRule) Code() string
func (*RenderGoroutineRule) DefaultSeverity ¶
func (r *RenderGoroutineRule) DefaultSeverity() lint.Severity
func (*RenderGoroutineRule) Description ¶
func (r *RenderGoroutineRule) Description() string
func (*RenderGoroutineRule) DocURL ¶
func (r *RenderGoroutineRule) DocURL() string
type RenderNondeterministicRule ¶
type RenderNondeterministicRule struct{}
RenderNondeterministicRule detects nondeterminism in render closures.
func (*RenderNondeterministicRule) CISeverity ¶
func (r *RenderNondeterministicRule) CISeverity() lint.Severity
func (*RenderNondeterministicRule) Check ¶
func (r *RenderNondeterministicRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*RenderNondeterministicRule) Code ¶
func (r *RenderNondeterministicRule) Code() string
func (*RenderNondeterministicRule) DefaultSeverity ¶
func (r *RenderNondeterministicRule) DefaultSeverity() lint.Severity
func (*RenderNondeterministicRule) Description ¶
func (r *RenderNondeterministicRule) Description() string
func (*RenderNondeterministicRule) DocURL ¶
func (r *RenderNondeterministicRule) DocURL() string
type RepeatedPropsGetRule ¶
type RepeatedPropsGetRule struct{}
RepeatedPropsGetRule detects multiple props.Get() calls in render.
func (*RepeatedPropsGetRule) CISeverity ¶
func (r *RepeatedPropsGetRule) CISeverity() lint.Severity
func (*RepeatedPropsGetRule) Check ¶
func (r *RepeatedPropsGetRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*RepeatedPropsGetRule) Code ¶
func (r *RepeatedPropsGetRule) Code() string
func (*RepeatedPropsGetRule) DefaultSeverity ¶
func (r *RepeatedPropsGetRule) DefaultSeverity() lint.Severity
func (*RepeatedPropsGetRule) Description ¶
func (r *RepeatedPropsGetRule) Description() string
func (*RepeatedPropsGetRule) DocURL ¶
func (r *RepeatedPropsGetRule) DocURL() string
type ResourceLoaderSignalWriteRule ¶
type ResourceLoaderSignalWriteRule struct{}
ResourceLoaderSignalWriteRule detects reactive signal writes inside Resource loader functions. Resource loaders execute off the session loop and must not write reactive state directly.
func (*ResourceLoaderSignalWriteRule) CISeverity ¶
func (r *ResourceLoaderSignalWriteRule) CISeverity() lint.Severity
func (*ResourceLoaderSignalWriteRule) Check ¶
func (r *ResourceLoaderSignalWriteRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*ResourceLoaderSignalWriteRule) Code ¶
func (r *ResourceLoaderSignalWriteRule) Code() string
func (*ResourceLoaderSignalWriteRule) DefaultSeverity ¶
func (r *ResourceLoaderSignalWriteRule) DefaultSeverity() lint.Severity
func (*ResourceLoaderSignalWriteRule) Description ¶
func (r *ResourceLoaderSignalWriteRule) Description() string
func (*ResourceLoaderSignalWriteRule) DocURL ¶
func (r *ResourceLoaderSignalWriteRule) DocURL() string
type RoutesInternalBypassRule ¶
type RoutesInternalBypassRule struct{}
RoutesInternalBypassRule prevents app/routes from bypassing internal/services.
func (*RoutesInternalBypassRule) CISeverity ¶
func (r *RoutesInternalBypassRule) CISeverity() lint.Severity
func (*RoutesInternalBypassRule) Check ¶
func (r *RoutesInternalBypassRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*RoutesInternalBypassRule) Code ¶
func (r *RoutesInternalBypassRule) Code() string
func (*RoutesInternalBypassRule) DefaultSeverity ¶
func (r *RoutesInternalBypassRule) DefaultSeverity() lint.Severity
func (*RoutesInternalBypassRule) Description ¶
func (r *RoutesInternalBypassRule) Description() string
func (*RoutesInternalBypassRule) DocURL ¶
func (r *RoutesInternalBypassRule) DocURL() string
type ServicesVangoImportRule ¶
type ServicesVangoImportRule struct{}
ServicesVangoImportRule prevents framework coupling in internal/services.
func (*ServicesVangoImportRule) CISeverity ¶
func (r *ServicesVangoImportRule) CISeverity() lint.Severity
func (*ServicesVangoImportRule) Check ¶
func (r *ServicesVangoImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*ServicesVangoImportRule) Code ¶
func (r *ServicesVangoImportRule) Code() string
func (*ServicesVangoImportRule) DefaultSeverity ¶
func (r *ServicesVangoImportRule) DefaultSeverity() lint.Severity
func (*ServicesVangoImportRule) Description ¶
func (r *ServicesVangoImportRule) Description() string
func (*ServicesVangoImportRule) DocURL ¶
func (r *ServicesVangoImportRule) DocURL() string
type SetupBlockingIORule ¶
type SetupBlockingIORule struct{}
SetupBlockingIORule detects blocking I/O in Setup callbacks.
func (*SetupBlockingIORule) CISeverity ¶
func (r *SetupBlockingIORule) CISeverity() lint.Severity
func (*SetupBlockingIORule) Check ¶
func (r *SetupBlockingIORule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*SetupBlockingIORule) Code ¶
func (r *SetupBlockingIORule) Code() string
func (*SetupBlockingIORule) DefaultSeverity ¶
func (r *SetupBlockingIORule) DefaultSeverity() lint.Severity
func (*SetupBlockingIORule) Description ¶
func (r *SetupBlockingIORule) Description() string
func (*SetupBlockingIORule) DocURL ¶
func (r *SetupBlockingIORule) DocURL() string
type SetupGoroutineRule ¶
type SetupGoroutineRule struct{}
SetupGoroutineRule detects goroutine spawning in Setup callbacks.
func (*SetupGoroutineRule) CISeverity ¶
func (r *SetupGoroutineRule) CISeverity() lint.Severity
func (*SetupGoroutineRule) Check ¶
func (r *SetupGoroutineRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*SetupGoroutineRule) Code ¶
func (r *SetupGoroutineRule) Code() string
func (*SetupGoroutineRule) DefaultSeverity ¶
func (r *SetupGoroutineRule) DefaultSeverity() lint.Severity
func (*SetupGoroutineRule) Description ¶
func (r *SetupGoroutineRule) Description() string
func (*SetupGoroutineRule) DocURL ¶
func (r *SetupGoroutineRule) DocURL() string
type SingletonRiskRule ¶
type SingletonRiskRule struct{}
SingletonRiskRule detects Shared/Global primitives in parameterized components.
func (*SingletonRiskRule) CISeverity ¶
func (r *SingletonRiskRule) CISeverity() lint.Severity
func (*SingletonRiskRule) Check ¶
func (r *SingletonRiskRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*SingletonRiskRule) Code ¶
func (r *SingletonRiskRule) Code() string
func (*SingletonRiskRule) DefaultSeverity ¶
func (r *SingletonRiskRule) DefaultSeverity() lint.Severity
func (*SingletonRiskRule) Description ¶
func (r *SingletonRiskRule) Description() string
func (*SingletonRiskRule) DocURL ¶
func (r *SingletonRiskRule) DocURL() string
type StoresRoutesImportRule ¶
type StoresRoutesImportRule struct{}
StoresRoutesImportRule prevents app/stores -> app/routes edges.
func (*StoresRoutesImportRule) CISeverity ¶
func (r *StoresRoutesImportRule) CISeverity() lint.Severity
func (*StoresRoutesImportRule) Check ¶
func (r *StoresRoutesImportRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*StoresRoutesImportRule) Code ¶
func (r *StoresRoutesImportRule) Code() string
func (*StoresRoutesImportRule) DefaultSeverity ¶
func (r *StoresRoutesImportRule) DefaultSeverity() lint.Severity
func (*StoresRoutesImportRule) Description ¶
func (r *StoresRoutesImportRule) Description() string
func (*StoresRoutesImportRule) DocURL ¶
func (r *StoresRoutesImportRule) DocURL() string
type ThinPageHandlerRule ¶
type ThinPageHandlerRule struct{}
ThinPageHandlerRule enforces the "thin page handler" contract for app/routes handlers.
func (*ThinPageHandlerRule) CISeverity ¶
func (r *ThinPageHandlerRule) CISeverity() lint.Severity
func (*ThinPageHandlerRule) Check ¶
func (r *ThinPageHandlerRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*ThinPageHandlerRule) Code ¶
func (r *ThinPageHandlerRule) Code() string
func (*ThinPageHandlerRule) DefaultSeverity ¶
func (r *ThinPageHandlerRule) DefaultSeverity() lint.Severity
func (*ThinPageHandlerRule) Description ¶
func (r *ThinPageHandlerRule) Description() string
func (*ThinPageHandlerRule) DocURL ¶
func (r *ThinPageHandlerRule) DocURL() string
type ValidatorAsyncRule ¶
type ValidatorAsyncRule struct{}
ValidatorAsyncRule discourages async validators so validation remains pure and I/O-backed checks move into Action handlers.
func (*ValidatorAsyncRule) CISeverity ¶
func (r *ValidatorAsyncRule) CISeverity() lint.Severity
func (*ValidatorAsyncRule) Check ¶
func (r *ValidatorAsyncRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*ValidatorAsyncRule) Code ¶
func (r *ValidatorAsyncRule) Code() string
func (*ValidatorAsyncRule) DefaultSeverity ¶
func (r *ValidatorAsyncRule) DefaultSeverity() lint.Severity
func (*ValidatorAsyncRule) Description ¶
func (r *ValidatorAsyncRule) Description() string
func (*ValidatorAsyncRule) DocURL ¶
func (r *ValidatorAsyncRule) DocURL() string
type VariadicParamsRule ¶
type VariadicParamsRule struct{}
VariadicParamsRule detects variadic parameters in Setup components.
func (*VariadicParamsRule) CISeverity ¶
func (r *VariadicParamsRule) CISeverity() lint.Severity
func (*VariadicParamsRule) Check ¶
func (r *VariadicParamsRule) Check(node ast.Node, ctx *lint.AnalysisContext)
func (*VariadicParamsRule) Code ¶
func (r *VariadicParamsRule) Code() string
func (*VariadicParamsRule) DefaultSeverity ¶
func (r *VariadicParamsRule) DefaultSeverity() lint.Severity
func (*VariadicParamsRule) Description ¶
func (r *VariadicParamsRule) Description() string
func (*VariadicParamsRule) DocURL ¶
func (r *VariadicParamsRule) DocURL() string