From f5db264931fd6259e064b5cf24b4233f5aaa4c7d Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Tue, 5 Jul 2022 21:50:29 +0200 Subject: [PATCH] docs: remove remaining duplicate rule descriptions (#16093) --- docs/src/rules/arrow-body-style.md | 2 -- docs/src/rules/constructor-super.md | 2 -- 2 files changed, 4 deletions(-) diff --git a/docs/src/rules/arrow-body-style.md b/docs/src/rules/arrow-body-style.md index 1234a4250fa..050d4b11b76 100644 --- a/docs/src/rules/arrow-body-style.md +++ b/docs/src/rules/arrow-body-style.md @@ -5,8 +5,6 @@ edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/arrow-body- rule_type: suggestion --- -Requires braces in arrow function bodies. - Arrow functions have two syntactic forms for their function bodies. They may be defined with a *block* body (denoted by curly braces) `() => { ... }` or with a single expression `() => ...`, whose value is implicitly returned. ## Rule Details diff --git a/docs/src/rules/constructor-super.md b/docs/src/rules/constructor-super.md index c83cc34ac02..1497b0188fb 100644 --- a/docs/src/rules/constructor-super.md +++ b/docs/src/rules/constructor-super.md @@ -5,8 +5,6 @@ edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/constructor rule_type: problem --- -Verifies calls of `super()` in constructors. - Constructors of derived classes must call `super()`. Constructors of non derived classes must not call `super()`. If this is not observed, the JavaScript engine will raise a runtime error.