This repository was archived by the owner on Mar 7, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ module.exports = defineConfig({
92
92
'browserify' ,
93
93
'cjs' ,
94
94
'commonjs' ,
95
+ 'denylist' ,
95
96
'dom' ,
96
97
'ecma' ,
97
98
'embertest' ,
Original file line number Diff line number Diff line change
1
+ import type { RuleConfig } from '../rule-config' ;
2
+
3
+ /**
4
+ * Disallow specified identifiers.
5
+ *
6
+ * @see [id-denylist](https://eslint.org/docs/rules/id-denylist)
7
+ */
8
+ export type IdDenylistRuleConfig = RuleConfig < string [ ] > ;
9
+
10
+ /**
11
+ * Disallow specified identifiers.
12
+ *
13
+ * @see [id-denylist](https://eslint.org/docs/rules/id-denylist)
14
+ */
15
+ export interface IdDenylistRule {
16
+ /**
17
+ * Disallow specified identifiers.
18
+ *
19
+ * @see [id-denylist](https://eslint.org/docs/rules/id-denylist)
20
+ */
21
+ 'id-denylist' : IdDenylistRuleConfig ;
22
+ /**
23
+ * @deprecated Use `id-denylist` instead.
24
+ */
25
+ 'id-blacklist' ?: IdDenylistRuleConfig ;
26
+ }
Original file line number Diff line number Diff line change 1
1
import type { CommaDangleRule } from './comma-dangle' ;
2
2
import type { CurlyRule } from './curly' ;
3
3
import type { GroupedAccessorPairsRule } from './grouped-accessor-pairs' ;
4
+ import type { IdDenylistRule } from './id-denylist' ;
4
5
import type { LinebreakStyleRule } from './linebreak-style' ;
5
6
import type { MaxClassesPerFileRule } from './max-classes-per-file' ;
6
7
import type { MaxLenRule } from './max-len' ;
@@ -21,6 +22,7 @@ import type { SemiRule } from './semi';
21
22
export type EslintRules = CommaDangleRule &
22
23
CurlyRule &
23
24
GroupedAccessorPairsRule &
25
+ IdDenylistRule &
24
26
LinebreakStyleRule &
25
27
MaxClassesPerFileRule &
26
28
MaxLenRule &
You can’t perform that action at this time.
0 commit comments