Closed greenkeeper[bot] closed 7 years ago
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
Update to this version instead 🚀
forbid-prop-types
crash on identifiers (#1352 @ljharb)boolean-prop-naming
crash with propTypes wrapper (#1354 @dustinsoftware)prop-types
false positive with local variable props
(#1288 @DianaSuvorova)The new version differs by 11 commits.
8511835
Update CHANGELOG and bump version
0f6688b
Merge pull request #1124 from penx/patch-1
ecc5d89
Fix wrapped propTypes detection (fixes #1366)
4724d48
Merge pull request #1365 from DianaSuvorova/i1288
6272a1d
[prop types] fix an assignment to prop
b9bb564
Merge pull request #1358 from dustinsoftware/issue1354
99fd813
Fix propTypes wrapper crash in boolean-prop-naming
dae6574
[Tests] use pretest
to run the linter
2dcb73b
[Tests] fixup previous linter error
5ad93b4
[Fix] forbid-prop-types
: propWrapperFunctions breaks on identifiers.
08f451f
Update no-array-index-key.md to address issue 1123
See the full diff
Update to this version instead 🚀
propTypes
, contextTypes
and childContextTypes
to no-typos
(#213 @DianaSuvorova)boolean-prop-naming
crash (#1369 @EvHaus)no-typos
crash (#1353 @jseminck)require-default-props
stopping when it finds a component without props (#1380 @brgibson)no-direct-mutation-state
detection with nested components (#1382)The new version differs by 25 commits.
162b92b
Update CHANGELOG and bump version
686ab89
Merge pull request #1375 from jseminck/more-robust-no-typos-fix
9805f70
Fix no-direct-mutation-state detection with nested components (fixes #1382)
6af4bca
Merge pull request #1383 from mjomble/patch-1
a05bc0a
Fixed links in changelog
48e8dc1
Merge pull request #1380 from brgibson/master
f371368
require-default-props - fixing an edge case where linting stops when it finds a component without props - should move on to the next component in the file
5e25a5e
Re-add FIXME and disable the warning through eslint-disable-next-line
d00e9e6
Remove FIXME as it fails linting
0cf2415
Add comment to the eslint parent definition issue
02ed7d0
Merge pull request #1371 from DianaSuvorova/i213
1292807
Add comment explaining try/catch
fa890cb
Tests and explaining the case that is currently not supported.
1301fe9
More robust no-typos fix
59a3f6a
[no-typo] rule enhancement checking for a correct prop type spelling
There are 25 commits in total.
See the full diff
Update to this version instead 🚀
jsx-curly-brace-presence
rule (#1310 @jackyho112)prop-types
and no-unused-prop-types
(#1364 #1323 @jseminck)no-unused-prop-types
(#1412 @jseminck)prop-types
(#1400 @jseminck)no-unused-prop-types
(#1388 @jseminck)prop-types
and no-unused-prop-types
(#1381 @DianaSuvorova)no-direct-mutation-state
(#1386 @zpao)no-unused-state
to ignore computed property keys (#1361 @jackyho112)no-typos
crash (#1406 @jseminck)boolean-prop-naming
crash (#1409 @EvHaus)prop-types
and no-unused-prop-types
crash with IntersectionTypeAnnotation (#1413 @jseminck)The new version differs by 112 commits.
dc9f85e
Update CHANGELOG and bump version
99b12a2
Merge pull request #1432 from jneuendorf/master
d2005b1
fixed typos in no-multi-comp
ddd05b1
Update CHANGELOG and bump version
7e336aa
Merge pull request #1415 from jseminck/intersection-imported-type
ad26580
Merge pull request #1387 from zpao/update-expression
09c4ed7
Add tests for {...} & Props in addition to Props & {...}
357dcda
buildReactDeclarationTypes to always return an object
0ee5e93
Rewrite reduce to ignorePropsValidation as some()
3e9aefe
Make buildTypeAnnotationDeclarationTypes always return an object instead of boolean or an object
3e4d184
Aadd support also for no-unused-prop-types
19a2911
Clean up the code a bit
20f75ee
Add support for TypeA & { ... }
a771125
Add similar supprt for no-used-prop-types
87aca04
Add support for multiple Flow IntersectionTypeAnnotations and skip propTypes when one of the intersected props is not found, e.g. when imported
There are 112 commits in total.
See the full diff
Version 7.0.1 of eslint-plugin-react just got published.
The version 7.0.1 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.1Fixed
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 faultycreateElement
detection (#1101)require-default-props
error message for quoted props (#1161)Changed
Commits
The new version differs by 80 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 80 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: