This repository was archived by the owner on Mar 7, 2019. It is now read-only.
6.1.0
New rulesets
- Ruleset for Node.js v7 has been added
New rules
capitalized-comments: Optional, warnsrequire-await: Recommended, warnsno-return-await: Recommended, warns
Rule changes
func-names: Relaxed, now requires function names only when no name can be inferred automatically from the codenewline-after-var: Has been disabled. The rule was enabled due to variable hoisting forvarstatements -varsshould be placed on top of the function and separating these statements from the rest of the code made it better readable. Now that we haveletandconst, it's generally better to declare them as needed, then use them right away. Therefore, this rule made such code harder to read.