Skip to content

Commit

Permalink
Revert "chore: add static frontmatter to no-constant-binary-expressio…
Browse files Browse the repository at this point in the history
…n docs (eslint#15798)"

This reverts commit 6e5f65a.
  • Loading branch information
srijan-deepsource committed May 30, 2022
1 parent c264caf commit a474e15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions docs/src/rules/no-constant-binary-expression.md
@@ -1,9 +1,4 @@
---
title: no-constant-binary-expression
layout: doc
edit_link: https://github.com/eslint/eslint/edit/main/docs/src/rules/no-constant-binary-expression.md
rule_type: problem
---
# no-constant-binary-expression

Disallows expressions where the operation doesn't affect the value.

Expand Down Expand Up @@ -72,4 +67,4 @@ const arrIsEmpty = someArr.length === 0;
Related Rules:
* [no-constant-condition](no-constant-condition)
* [no-constant-condition](no-constant-condition.md)
2 changes: 1 addition & 1 deletion docs/src/rules/no-constant-condition.md
Expand Up @@ -135,4 +135,4 @@ do {

## Related Rules

* [no-constant-binary-expression](no-constant-binary-expression)
* [no-constant-binary-expression](no-constant-binary-expression.md)

0 comments on commit a474e15

Please sign in to comment.