[no-void-expression] Invalid entry on ROADMAP #1871
Labels
documentation
Documentation ("docs") that needs adding/updating
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Hey guys
I just noticed that the alternative listed for the
no-void-expression
, which, according to theROADMAP.md
-file, isno-void
doesn't do the same thing like it'stslint
-counterpart.While
tslint
'sno-void-expression
tries to prevent users from assigning, returning or using the result of a void expression,eslint
'sno-void
bans thevoid
-keyword.tslint
'sno-void-expression
tslint.json:
Example of bad code for
tslint
'sno-void-expression
tes.ts:
Example for good code for
tslint
'sno-void-expression
test.ts:
eslint
'sno-void
Example of bad code for
eslint
'sno-void
Example of good code for
eslint
'sno-void
The text was updated successfully, but these errors were encountered: