Skip to content

Commit

Permalink
docs: remove remaining duplicate rule descriptions (#16093)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed Jul 5, 2022
1 parent 32a6b2a commit f5db264
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/src/rules/arrow-body-style.md
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions docs/src/rules/constructor-super.md
Expand Up @@ -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.
Expand Down

0 comments on commit f5db264

Please sign in to comment.