Skip to content

Commit

Permalink
feat(eslint-plugin): deprecate no-extra-semi in favor of ESLint Styli…
Browse files Browse the repository at this point in the history
…stic equivalent (#8123)

* feat(eslint-plugin): deprecate no-extra-semi in favor of ESLint Stylistic equivalent

* generate:configs

* Fix configs generation
  • Loading branch information
JoshuaKGoldberg committed Dec 25, 2023
1 parent 7ddadda commit 9368bf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/eslint-plugin/src/configs/all.ts
Expand Up @@ -52,8 +52,6 @@ export = {
'@typescript-eslint/no-empty-interface': 'error',
'@typescript-eslint/no-explicit-any': 'error',
'@typescript-eslint/no-extra-non-null-assertion': 'error',
'no-extra-semi': 'off',
'@typescript-eslint/no-extra-semi': 'error',
'@typescript-eslint/no-extraneous-class': 'error',
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/no-for-in-array': 'error',
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-plugin/src/rules/no-extra-semi.ts
Expand Up @@ -13,6 +13,8 @@ type MessageIds = InferMessageIdsTypeFromRule<typeof baseRule>;
export default createRule<Options, MessageIds>({
name: 'no-extra-semi',
meta: {
deprecated: true,
replacedBy: ['@stylistic/ts/no-extra-semi'],
type: 'suggestion',
docs: {
description: 'Disallow unnecessary semicolons',
Expand Down

0 comments on commit 9368bf3

Please sign in to comment.