Skip to content

Commit

Permalink
feat!: @typescript-eslint/prefer-namespace-keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Oct 26, 2024
1 parent 15d56be commit 2c6cae5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ export const tseslintRules: Record<string, TSESLint.SharedConfig.RuleEntry> = {
'error',
{ allowBitwiseExpressions: true },
],
'@typescript-eslint/prefer-namespace-keyword': ['error'],
'@typescript-eslint/prefer-nullish-coalescing': [
'error',
{ ignoreConditionalTests: false, ignoreMixedLogicalExpressions: false },
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 @@ -409,6 +409,7 @@ export const expectedTseslintRules: Record<
'error',
{ allowBitwiseExpressions: true },
],
'@typescript-eslint/prefer-namespace-keyword': ['error'],
'@typescript-eslint/prefer-nullish-coalescing': [
'error',
{ ignoreConditionalTests: false, ignoreMixedLogicalExpressions: false },
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 @@ -181,7 +181,6 @@ export const promiseRulesToConsider = [
]

export const tseslintRulesToConsider = [
'@typescript-eslint/prefer-namespace-keyword',
'@typescript-eslint/prefer-readonly-parameter-types',
'@typescript-eslint/prefer-regexp-exec',
'@typescript-eslint/prefer-string-starts-ends-with',
Expand Down

0 comments on commit 2c6cae5

Please sign in to comment.