Skip to content

Commit

Permalink
feat!: no-alert
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Jan 11, 2025
1 parent c65c9a8 commit e76b272
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/plugin-usage/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const usage: PluginUsage = {
{ max: 3 },
],
'new-cap': ['error', { newIsCap: true, capIsNew: false, properties: true }],
'no-alert': ['error'],
'no-async-promise-executor': ['error'],
'no-caller': ['error'],
'no-case-declarations': ['error'],
Expand Down
1 change: 0 additions & 1 deletion src/test/_rules_to_consider.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const rulesToConsider: Record<string, string[]> = {
'eslint-comments': [],
'': [
'no-alert',
'no-await-in-loop',
'no-console',
'no-div-regex',
Expand Down
1 change: 1 addition & 0 deletions src/test/expected-exported-value/_eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export const expectedEslintRules: Record<
{ max: 3 },
],
'new-cap': ['error', { newIsCap: true, capIsNew: false, properties: true }],
'no-alert': ['error'],
'no-async-promise-executor': ['error'],
'no-caller': ['error'],
'no-case-declarations': ['error'],
Expand Down

0 comments on commit e76b272

Please sign in to comment.