Skip to content
This repository has been archived by the owner on Mar 7, 2019. It is now read-only.

7.8.0

Compare
Choose a tag to compare
@robertrossmann robertrossmann released this 17 Oct 08:38
· 122 commits to master since this release
d562c97

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 to 2017 in react ruleset (#25 🍻 @petrhanak)
  • (react): Warn on console.log() usage (#26 🍻 @petrhanak)

New rules

  • Enable array-bracket-newline to require consistent array bracket placement (6721fd4)
  • Enable lines-between-class-members to require empty lines between class members (52a2dd0)
  • Enable multiline-comment-style to prefer separate comment lines for multiline comment blocks (77fe967)