Yeah we don't have a strong opinion on the matter. The lack of braces can lead to bugs when attempting to expanding the code in the conditional, as has been the case since the C days IIRC.
The linting is configurable to projects preferences, by checking in a .jshintrc file.
Comments
Many of the complaints are due to the opinion that the braceless if is bad:
I understand why you may think is better, but it's unnatural for most peopleYeah we don't have a strong opinion on the matter. The lack of braces can lead to bugs when attempting to expanding the code in the conditional, as has been the case since the C days IIRC.
The linting is configurable to projects preferences, by checking in a .jshintrc file.
Speak for yourself, I find the absence of braces to be very unnatural.