Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoParamReassignRule = rule.Rule{ Name: "no-param-reassign", Run: func(ctx rule.RuleContext, options any) rule.RuleListeners { opts := parseOptions(options) handler := func(node *ast.Node) { checkFunction(node, opts, ctx) } return rule.RuleListeners{ ast.KindFunctionDeclaration: handler, ast.KindFunctionExpression: handler, ast.KindArrowFunction: handler, ast.KindMethodDeclaration: handler, ast.KindConstructor: handler, ast.KindGetAccessor: handler, ast.KindSetAccessor: handler, } }, }
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.