@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
20 lines (17 loc) • 662 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
*
* @see [prefer-await-to-then](https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-then.md)
*/
export type PreferAwaitToThenRuleConfig = RuleConfig<[]>;
/**
*
* @see [prefer-await-to-then](https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-then.md)
*/
export interface PreferAwaitToThenRule {
/**
*
* @see [prefer-await-to-then](https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-then.md)
*/
'promise/prefer-await-to-then': PreferAwaitToThenRuleConfig;
}