@antfu/eslint-define-config
Version:
Provide a defineConfig function for .eslintrc.js files
23 lines (20 loc) • 832 B
TypeScript
import type { RuleConfig } from '../rule-config';
/**
* Enforce non-null assertions over explicit type casts.
*
* @see [non-nullable-type-assertion-style](https://typescript-eslint.io/rules/non-nullable-type-assertion-style)
*/
export type NonNullableTypeAssertionStyleRuleConfig = RuleConfig<[]>;
/**
* Enforce non-null assertions over explicit type casts.
*
* @see [non-nullable-type-assertion-style](https://typescript-eslint.io/rules/non-nullable-type-assertion-style)
*/
export interface NonNullableTypeAssertionStyleRule {
/**
* Enforce non-null assertions over explicit type casts.
*
* @see [non-nullable-type-assertion-style](https://typescript-eslint.io/rules/non-nullable-type-assertion-style)
*/
'@typescript-eslint/non-nullable-type-assertion-style': NonNullableTypeAssertionStyleRuleConfig;
}