[strict-boolean-expressions] Add ignore-rhs
option
#755
Labels
enhancement: plugin rule option
New rule option for an existing eslint-plugin rule
has pr
there is a PR raised to close this
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Repro
Expected Result
No error (with an option or options).
Actual Result
Error:
Unexpected non-boolean in conditional.
(twice)Additional Info
TSLint has an
ignore-rhs
option (see documentation).It might make sense to also consider this issue.
#698 would also be required (at least for the first example).
Other links:
Versions
@typescript-eslint/eslint-plugin
1.13.0
@typescript-eslint/parser
1.13.0
TypeScript
3.4.5
ESLint
6.1.0
node
10.16.0
npm
6.9.0
The text was updated successfully, but these errors were encountered: