Skip to content

Commit

Permalink
docs(eslint-plugin): document as related to strict-boolean-expressions
Browse files Browse the repository at this point in the history
Since no-unnecessary-conditions and strict-boolean-expressions play similar roles but with different levels of strictness, mark them as related to each other in their docs
  • Loading branch information
Retsam committed Aug 6, 2019
1 parent f995acd commit 1b869b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/eslint-plugin/docs/rules/no-unnecessary-condition.md
Expand Up @@ -55,3 +55,5 @@ The main downside to using this rule is the need for type information.
## Related To

- ESLint: [no-constant-condition](https://eslint.org/docs/rules/no-constant-condition) - this rule is essentially a stronger versison

- [strict-boolean-expression](./strict-boolean-expressions.md) - a stricter alternative to this rule.
Expand Up @@ -61,3 +61,5 @@ Options may be provided as an object with:
## Related To

- TSLint: [strict-boolean-expressions](https://palantir.github.io/tslint/rules/strict-boolean-expressions)

- [no-unnecessary-condition](./no-unnecessary-condition.md) - a looser alternative to this rule.

0 comments on commit 1b869b4

Please sign in to comment.