Skip to content

[T] LinterRuleEnableValue

type LinterRuleEnableValue = boolean | Record<string, unknown>;

Value for enabling a linter rule.

  • true enables the rule with default options.
  • false skips enabling the rule; it does not disable a rule enabled by an extended preset.
  • An object enables the rule with its properties shallowly merged over default options.