-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
no-restricted-disable.d.ts
33 lines (29 loc) · 1014 Bytes
/
no-restricted-disable.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import type { RuleConfig } from '../rule-config';
/**
* Option.
*/
export type NoRestrictedDisableOption = string[];
/**
* Options.
*/
export type NoRestrictedDisableOptions = NoRestrictedDisableOption;
/**
* Disallow `eslint-disable` comments about specific rules.
*
* @see [no-restricted-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html)
*/
export type NoRestrictedDisableRuleConfig =
RuleConfig<NoRestrictedDisableOptions>;
/**
* Disallow `eslint-disable` comments about specific rules.
*
* @see [no-restricted-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html)
*/
export interface NoRestrictedDisableRule {
/**
* Disallow `eslint-disable` comments about specific rules.
*
* @see [no-restricted-disable](https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html)
*/
'eslint-comments/no-restricted-disable': NoRestrictedDisableRuleConfig;
}