Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add rule no-unused-expressions #272

Merged
merged 1 commit into from Sep 25, 2017
Merged

feat: add rule no-unused-expressions #272

merged 1 commit into from Sep 25, 2017

Conversation

mkscrg
Copy link
Contributor

@mkscrg mkscrg commented Sep 16, 2017

This rule extends the ESLint's no-unused-expressions to ignore type cast expressions.

ESLint's no-unused-expressions catches some likely mistakes, but it also complains about bare type cast expressions. These are unlikely to be mistakes and are useful in several situations. See .README/rules/no-unused-expressions.md for an example.

This rule extends the ESLint's no-unused-expressions to ignore type cast
expressions.

ESLint's no-unused-expressions catches some likely mistakes, but it also
complains about bare type cast expressions. These are unlikely to be
mistakes and are useful in several situations.
@mkscrg
Copy link
Contributor Author

mkscrg commented Sep 24, 2017

@gajus what do you think?

@gajus gajus merged commit de617ac into gajus:master Sep 25, 2017
@gajus
Copy link
Owner

gajus commented Sep 25, 2017

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants