UNPKG

@antfu/eslint-define-config

Version:

Provide a defineConfig function for .eslintrc.js files

23 lines (20 loc) 639 B
import type { RuleConfig } from '../rule-config'; /** * Disallow awaiting a value that is not a Thenable. * * @see [await-thenable](https://typescript-eslint.io/rules/await-thenable) */ export type AwaitThenableRuleConfig = RuleConfig<[]>; /** * Disallow awaiting a value that is not a Thenable. * * @see [await-thenable](https://typescript-eslint.io/rules/await-thenable) */ export interface AwaitThenableRule { /** * Disallow awaiting a value that is not a Thenable. * * @see [await-thenable](https://typescript-eslint.io/rules/await-thenable) */ '@typescript-eslint/await-thenable': AwaitThenableRuleConfig; }