This commit is contained in:
Alex
2023-11-13 18:23:25 -05:00
parent 60b1b8fde3
commit a022050ab4
9 changed files with 518 additions and 408 deletions

View File

@ -32,6 +32,8 @@ export interface LocalRuleOptions {
* @see [restrict-template-expressions](https://typescript-eslint.io/rules/restrict-template-expressions)
*/
'rules/restrict-template-expressions': RuleEntry<{ allow: string[] }>;
/** Ban assignment of empty object literals `{}` and replace them with `Object.create(null)` */
'rules/no-empty-object-literal': RuleEntry<unknown>;
}
export type RuleOptions = Rules & Partial<LocalRuleOptions>;