Closed greenkeeper[bot] closed 6 years ago
Update to this version instead π
jsx-curly-spacing
allowMultiline
option being undefined in some cases (#1179 @fatfisz)jsx-curly-spacing
newline with object literals bug (#1180 @fatfisz)prop-types
to not mark class static function as valid propTypes definition (#1174)prop-types
crash with Flow spread operator (#1178)void-dom-elements-no-children
crash on faulty createElement
detection (#1101)require-default-props
error message for quoted props (#1161)The new version differs by 22 commits0.
7ca9841
Update CHANGELOG and bump version
9ce4d85
Merge pull request #1192 from markus-willems/pr/prop-types-docs
660790b
fix for wrong rule syntax. no-unused-prop-types instead of react/no-unused-prop-types in docs
227fcf3
fix for wrong rule syntax. prop-types instead of react/prop-types in docs
af68f88
Fix require-default-props error message for quoted props (fixes #1161)
f7fb96b
Fix void-dom-elements-no-children crash on faulty createElement detection (fixes #1101)
f111e45
Merge pull request #1180 from fatfisz/fix-newline-with-object-literals
3743e6d
Add additional test with flow annotations to prop-types
1ced710
Fix no-unused-prop-types crash with Flow spread operator (fixes #1178
1534bdb
Fix the newline with object literals bug
159d0e5
Update rules to match changes in comments attachement in ESLint 4.0.0
1b5743f
Update tests to pass parserOptions globally
0a2c510
Fix indent errors
1bcaee0
Update .eslintrc config for ESLint 4.0.0
dd10133
Fix prop-types crash with Flow spread operator (fixes #1178)
There are 22 commits in total.
See the full diff
Update to this version instead π
default-props-match-prop-types
rule (#1022 @webOS101)no-redundant-should-component-update
rule (#985 @jomasti)jsx-closing-tag-location
rule (#1206 @rsolomon)jsx-max-props-per-line
(#949 @snowypowers)nextProps
/prevProps
in no-unused-prop-types
(#1213 @jseminck)prop-types
(#1236 @gpeal)children
option to jsx-curly-spacing
(#857 @fatfisz)prefer-stateless-function
ignorePureComponents
option when using class expressions (#1122 @dreid)void-dom-elements-no-children
crash (#1195 @oliviertassinari)require-default-props
quoted defaultProps
detection (#1201)jsx-sort-props
bug with ignoreCase
and callbacksLast
options set to true
(#1175 @jseminck)no-unused-proptype
false positive (#1183 #1135 @jseminck)jsx-no-target-blank
to not issue errors for non-external URLs (#1216 @gfx)prop-types
quoted Flow types detection (#1132 @ethanjgoldberg)no-array-index-key
crash with key
without value (#1242 @jseminck)The new version differs by 105 commits.
cdfa56f
Update CHANGELOG and bump version
8bdb6a4
Update dependencies
5be0be3
Remove re-added require-extension rule documentation
e7836b5
Add ESLint 4.0.0 to peerDependencies
7cc380a
Fix indent errors
32bcb48
Merge pull request #1177 from fatfisz/curly-spacing-for-children
d57c115
Update the docs
6903f18
Add back the support for the previous config
5515130
Add more mixed tests
408e1b1
Add the "children" property of the config
65135b8
Fix the behavior of the boolean "attributes"
7b9d9ad
Change "spaces" to "when"
c9e9ded
Allow attributes to have their own config
9a8f800
Add a test case for a fixed bug
0f0ab21
Move the first option into the config object
There are 105 commits in total.
See the full diff
Update to this version instead π
no-unused-state
rule (#1103 @wbinnssmith)boolean-prop-naming
rule (#1264 @EvHaus)no-typos
rule (#1189 @jseminck, #1294 @haridusenadeera)sort-props
(#1273 @Overload119)getters
and setters
groups to sort-comp
(#100 @RDGthree)noStrings
option to no-literals
(#1202 @deecewan)always
/never
to jsx-boolean-value
(#1249 @ljharb)no-direct-mutation-state
to disallow this.state
mutation in constructor (#832 @burabure)jsx-no-target-blank
crash on empty rel
attribute (#1269 @dustinsoftware)sort-comp
component detection with ClassExpression
(#1076 @webOS101)no-unused-prop-types
detection with async class properties and methods (#1053 @benstepp)void-dom-elements-no-children
crash (#1226 @kokobeware)no-danger-with-children
to ignore line breaks (#1262)no-danger-with-children
crash with undefined (#1287)jsx-no-target-blank
crash (#1296 @jseminck)no-unused-props
to no longer ignore components with no used props (#1303 @DianaSuvorova)jsx-no-duplicate-props
crash (#969 @marcelmokos)no-literals
false positives (#1301 @davidyorr)no-find-dom-node
detection with named imports (#785 @Hypnosphi)no-unused-prop-types
detection with propTypes wrapped in a function (#1253 @dustinsoftware)no-unused-prop-types
detection with destructured use of properties (#816 @DianaSuvorova)no-unused-prop-types
detection with inline functions (#1309 @DianaSuvorova)no-unused-prop-types
skipShapeProps
option with Flow annotations (#1335 @DianaSuvorova)jsx-curly-spacing
schema incompatibility with ESLint 4.2.0 (#1290 @jseminck)The new version differs by 153 commits.
73abadb
Update CHANGELOG and bump version
1a622ea
Merge pull request #1343 from DianaSuvorova/unusedPropsFlow
f9c22ef
Merge pull request #1273 from Overload119/master
d66808b
Modernize to use let and const
e305279
Merge pull request #1344 from DianaSuvorova/docs
15d0f74
[no-unused-prop-types] test from #933
f446335
[no-unused-prop-types] known false positives doc
95acd93
Merge pull request #1341 from DianaSuvorova/flowShape
942e594
flow should respect skipShapeProps
f0487f2
Merge pull request #1338 from DianaSuvorova/graphql
b6bd2da
[no-unused-prop-types] graphql issue #1097
df84876
Update dependencies
a19eec6
Merge pull request #1294 from haridusenadeera/master
ed72341
Merge pull request #1329 from DianaSuvorova/docs
3195805
Merge pull request #1302 from davidyorr/master
There are 153 commits in total.
See the full diff
Version 7.0.0 of eslint-plugin-react just got published.
The version 7.0.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of eslint-plugin-react. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
v7.0.0Added
no-will-update-set-state
rule (#1139 @ManThursday)no-deprecated
reservedFirst
option tojsx-sort-props
(#1134 @MatthewHerbst)Breaking
React.PropTypes
andReact.createClass
inno-deprecated
(#1148 @Calyhre)createClass
component factory tocreateReactClass
. This is used for React component detection, if you still usingReact.createClass
use the shared settings to specifycreateClass
as component factoryno-danger-with-children
rule to recommended rules (#748 @ljharb)no-string-refs
rule to recommended rules (#749 @ljharb)jsx-key
rule to recommended rules (#750 @ljharb)jsx-no-comment-textnodes
rule to recommended rules (#751 @ljharb)jsx-no-target-blank
rule to recommended rules (#752 @ljharb)no-unescaped-entities
rule to recommended rules (#841 @ljharb)no-children-prop
rule to recommended rules (#842 @ljharb)wrap-multilines
rule, usejsx-wrap-multilines
insteadno-comment-textnodes
rule, usejsx-no-comment-textnodes
insteadrequire-extension
rule, use the eslint-plugin-importextensions
rule insteadjsx-space-before-closing
rule, use thejsx-tag-spacing
rule instead.jsx-space-before-closing
still works but will trigger a warning (#1070 @afairb)jsx-first-prop-new-line
default is nowmultiline-multiprop
(#802 @kokarn)jsx-wrap-multilines
now checks arrow functions without block body. It can be deactivated in rule options (#790 @ColCh)jsx-no-undef
will not check the global scope by default. You can force it with theallowGlobals
option (#1013 @jomasti)Fixed
no-unused-prop-types
false positive withnextProps
(#1079 @Kerumen)prefer-stateless-function
to not warn on classes with decorators (#1034 @benstepp)Changed
Commits
The new version differs by 58 commits0.
d335b1f
Update CHANGELOG and bump version
d97e5f0
Merge pull request #1167 from Slumber86/master
79415f1
Wrong import
48a397e
Fix syntax error
2cd9e5e
Update docs for deprecated prop-types
4d5faee
Update CHANGELOG and bump version
dfe190b
Merge pull request #1134 from MatthewHerbst/jsx-sort-props/new-rule-option--reservedFirst
14dbf99
Merge pull request #802 from kokarn/master
7d08955
Add default for jsx-first-prop-new-line
21ed801
Fix lint errors
b5856ca
Merge pull request #791 from Lingvokot/790-stateless-multiline-wrap
77048c8
Remove deprecated wrap-multilines rule
6d6d24a
Remove deprecated no-comment-textnodes rule
229cc21
Remove deprecated require-extension rule
ed928c2
Merge pull request #1013 from jomasti/jsx-no-undef-imported-only
There are 58 commits in total.
See the full diff
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: