@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 664 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Disallow `then` property.
*
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-thenable.md)
*/
export type NoThenableRuleConfig = RuleConfig<[]>;
/**
* Disallow `then` property.
*
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-thenable.md)
*/
export interface NoThenableRule {
/**
* Disallow `then` property.
*
* @see [no-thenable](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/no-thenable.md)
*/
'unicorn/no-thenable': NoThenableRuleConfig;
}