This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
7.8.0
New rulesets
- Added react v16 ruleset! 🎉 Probably nothing will change at the moment but it opens up an upgrade path in the future and brings consistency to all projects using React 16 and linting with the react/v15 ruleset. (d48b56a)
Changes / fixes
- Now requires ESLint 4.9 - you may need to drop your node_modules folder and reinstall all deps again if you are getting weird errors 🤔
- Support test files in any level of nested test/ directory (9c09a01)
comma-dangle
is now enforced for multiline function parameters (cffa40d)- (flow) Return types are not needed if they can be inferred (05b0539)
- (react): Properly set
ecmaVersion
to2017
in react ruleset (#25 🍻 @petrhanak) - (react): Warn on
console.log()
usage (#26 🍻 @petrhanak)