Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Direct use of booleans in conditions #13

Open
eugene-sy opened this issue Jan 10, 2014 · 0 comments
Open

Direct use of booleans in conditions #13

eugene-sy opened this issue Jan 10, 2014 · 0 comments

Comments

@eugene-sy
Copy link

looks like linter do not find conditions like

if (false) "not linted"
if (true) { "not linted" } else { "not linted" }

Here should be a warning, that conditional expression should be omitted.

My stack is:
Scala 2.10.2, sbt 0.13.0, Play 2.2.1
Linter is added as jar and scalacOpt to Build.scala file.

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

No branches or pull requests

2 participants