Skip to content

Commit

Permalink
feat!: no-constructor-return
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Dec 21, 2024
1 parent 2ee4130 commit fb328d4
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 @@ -56,6 +56,7 @@ const usage: PluginUsage = {
'no-const-assign': ['error'],
'no-constant-binary-expression': ['error'],
'no-constant-condition': ['error', { checkLoops: false }],
'no-constructor-return': ['error'],
'no-control-regex': ['error'],
'no-debugger': ['error'],
'no-delete-var': ['error'],
Expand Down
1 change: 1 addition & 0 deletions src/test/_expected-exported-value.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export const expectedEslintRules: Record<
'no-const-assign': ['error'],
'no-constant-binary-expression': ['error'],
'no-constant-condition': ['error', { checkLoops: false }],
'no-constructor-return': ['error'],
'no-control-regex': ['error'],
'no-debugger': ['error'],
'no-delete-var': ['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
Expand Up @@ -13,7 +13,6 @@ export const rulesToConsider: Record<string, string[]> = {
'no-alert',
'no-await-in-loop',
'no-console',
'no-constructor-return',
'no-continue',
'no-div-regex',
'no-dupe-else-if',
Expand Down

0 comments on commit fb328d4

Please sign in to comment.