This repository has been archived by the owner on Mar 7, 2019. It is now read-only.
7.2.0
Changes
- Add autofix configuration tutorial for WebStorm (thanks @polacekpavel ❤️)
- Upgrade ESLint to 4.2.0
- Upgrade eslint-config-import to 2.7.0
- Upgrade eslint-plugin-react to 7.1.0
New rules
- react/jsx-closing-tag-location:
warn
- react/default-props-match-prop-types:
warn
- react/no-redundant-should-component-update:
warn
- getter-return:
error
Changed rules
- multiline-ternary: Now the ternary must either be completely on a single line or each part must be on its own line
- no-sync: Now you can
require()
modules anywhere at the module scope (in other words, as long as ESLint can clearly detect that therequire
call is executed as part of the module loading process it will not complain)