UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 694 B
import type { RuleConfig } from '../rule-config'; /** * Enforce "for" loop update clause moving the counter in the right direction. * * @see [for-direction](https://eslint.org/docs/latest/rules/for-direction) */ export type ForDirectionRuleConfig = RuleConfig<[]>; /** * Enforce "for" loop update clause moving the counter in the right direction. * * @see [for-direction](https://eslint.org/docs/latest/rules/for-direction) */ export interface ForDirectionRule { /** * Enforce "for" loop update clause moving the counter in the right direction. * * @see [for-direction](https://eslint.org/docs/latest/rules/for-direction) */ 'for-direction': ForDirectionRuleConfig; }