Skip to main content

eslint

API > @betterer/eslint

ESLint test for Betterer.

Functions

FunctionDescription
eslint(rules)Use this test to incrementally introduce new ESLint rules to your codebase. You can pass as many ESLint rule configurations as you like:

Type Aliases

Type AliasDescription
BettererESLintRulesConfigThe eslint test factory takes a map of rule names and the rule's configuration.The configuration options are defined by each rule, but will be either a RuleLevel or RuleLevelAndOptions.