From b386d8af688dd3244d3594df723a7df0d6421c44 Mon Sep 17 00:00:00 2001 From: Masafumi Koba <473530+ybiquitous@users.noreply.github.com> Date: Thu, 26 Dec 2019 16:48:03 +0900 Subject: [PATCH] feat: turn off `no-extra-semi` rule (#545) `eslint-config-prettier` disables them instead. See below: - https://github.com/prettier/eslint-config-prettier/blob/4fdaa044ca252f2f6360dba9d6ef1e43bf03b59a/index.js#L52 - https://github.com/prettier/eslint-config-prettier/blob/4d16ebc6fcd7f87711ab945c41d0ae70d269bdaf/%40typescript-eslint.js#L12 --- rules/core/possible-errors.js | 1 - rules/plugins/typescript.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/rules/core/possible-errors.js b/rules/core/possible-errors.js index 45b32419..9fb29523 100644 --- a/rules/core/possible-errors.js +++ b/rules/core/possible-errors.js @@ -18,7 +18,6 @@ module.exports = { "no-ex-assign": "error", "no-extra-boolean-cast": "error", "no-extra-parens": "error", - "no-extra-semi": "error", "no-func-assign": "error", "no-import-assign": "error", "no-inner-declarations": "error", diff --git a/rules/plugins/typescript.js b/rules/plugins/typescript.js index 408c9577..6159c305 100644 --- a/rules/plugins/typescript.js +++ b/rules/plugins/typescript.js @@ -16,8 +16,6 @@ module.exports = { "@typescript-eslint/member-ordering": "off", "@typescript-eslint/no-dynamic-delete": "warn", "@typescript-eslint/no-extra-non-null-assertion": "error", - "no-extra-semi": "off", - "@typescript-eslint/no-extra-semi": "error", // eslint-disable-line sort-keys "@typescript-eslint/no-extraneous-class": "error", "@typescript-eslint/no-floating-promises": "off", "@typescript-eslint/no-for-in-array": "off",