Open greenkeeper[bot] opened 7 years ago
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
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
Update to this version instead 🚀
jsx-one-expression-per-line
rule (#1497 @TSMMark)destructuring-assignment
rule (#1462 @DianaSuvorova)no-access-state-in-setstate
rule (#1374 @jaaberg)button-has-type
rule (#1525 @Hypnosphi)React.DOM
factories in no-deprecated
(#1530 @backjo)sortShapeProp
option to sort-prop-types
(#1476 @jomasti)parens-new-line
option to jsx-wrap-multilines
(#1475 @jomasti)checkContextTypes
and checkChildContextTypes
options to forbid-prop-types
(#1533 @jomasti)forbidDefaultForRequired
option to require-default-props
(#1524 @jomasti)jsx-wrap-multilines
(#1384 @evgeny-petukhov)jsx-curly-brace-presence
auto fix by bailing out when some chars exist (#1479 #1449 @jackyho112)boolean-prop-naming
crash with Object spread (#1485 @track0x1)no-unused-state
to correctly handle arrow function class method (#1363 @jackyho112)typescript-eslint-parser
(#1496 @timothykang)jsx-no-bind
to only warn for props and account for variable declaration (#1444 #1395 #1417 @jackyho112)no-props-unused-props
to handle props usage in custom prop validators (#1518 @petersendidit)prefer-stateless-function
to account for contextTypes
and defaultProps
(#1521 @jomasti)jsx-no-comment-textnodes
to not warn when using two slashes via html entities at the beginning of a literal (#1517 @jomasti)default-props-match-prop-types
crash (#1499 @jomasti)no-unused-prop-types
to handle props used in the setState
update callback (#1507 @petersendidit)jsx-indent
(#1246 @jseminck)The new version differs by 176 commits.
c148893
Update CHANGELOG and bump version
f746d68
Update dependencies
771f534
Merge pull request #1539 from jseminck/jsx-indent-bug
acc4f24
Use the new function also in jsx-indent-props
c51087c
Extract isNodeFirstInLine to astUtil function
6d50fb6
Fix test by using the same isNodeFirstInLine function found in jsx-closing-tag-location rule
8f3dc55
Add failing test
27b8279
Merge pull request #1532 from jomasti/issue-1524
24190c6
Merge pull request #1398 from jseminck/components-as-class
cf2d6f6
Keep existing API of exporting Components
04a42a9
Move private functions out of the class
a0d47cf
Export an object with a single detect() function, removing the static class property
e3638ab
Remove @class jsdoc
c379156
Move detect to a static class property
8d66521
Re-write Components as a class
There are 176 commits in total.
See the full diff
Update to this version instead 🚀
The new version differs by 7 commits.
3a94a95
Update CHANGELOG and bump version
32a050a
Merge pull request #1549 from jseminck/documentation-fix-2
31bfdf7
Add button-has-type to readme
56c0a0b
Merge pull request #1545 from jomasti/issue-1542
3c6d571
Fix crash in no-unused-prop-types
e0bae03
Merge pull request #1544 from jomasti/issue-1543
51ffcd0
Prevent jsx-no-bind crash
See the full diff
Update to this version instead 🚀
The new version differs by 106 commits.
7b742d0
Update CHANGELOG and bump version
692cdc8
Merge pull request #1643 from ljharb/fix_crossorigin
c558451
Merge pull request #1651 from xjmdoo/master
f4cab9a
Merge pull request #1652 from lfades/fix/no-typos
20dff22
Adds more checks to MethodDefinition case and adds new test case for default parser
942a92c
merged one of the previous tests and added 2 new tests for the default parser
1d12044
Merge pull request #1650 from xinminlabs/add-missing-meta-to-jsx-tag-spacing
8360ffa
support isRequired for custom props and call expressions
f9cc10d
prop-types doesn't check nextProps of componentWillReceiveProps
d3840a5
add missing meta to jsx-tag-spacing
36beb6d
Merge pull request #1483 from b0gok/jsx-sort-default-props
c2c7a2a
Merge pull request #1616 from jaaberg/jsx-no-literals-binary
e24b53f
Add tests and examples with multiple spreads
558576c
Add more tests with spread, add examples
8237551
Merge pull request #1645 from nirnaor/master
There are 106 commits in total.
See the full diff
Update to this version instead 🚀
The new version differs by 11 commits.
f7441bb
Update CHANGELOG and bump version
e56376e
[Fix] no-access-state-in-setstate
: handle object spread
d060041
Merge pull request #1659 from jzDev/jzDev/flip-crossorigin-rule
1d13218
Restore tests and crossorigin attribute map
843d71a
Merge pull request #1653 from jetpacmonkey/master
d64a16b
Added the missing tagName, link, to support the crossOrigin property.
a19b2ad
Removed unnecessary mapping and tests handled by React's existing warnings.
f947536
Fixed crossorigin naming convention to match React's supported HTML attributes.
509f2cb
Use typeof === 'undefined' instead of void 0
e4f7e30
Mark all recursive proptypes as acceptable with {}, not true
614d3bd
Support recursive type annotations, fixes #913
See the full diff
Update to this version instead 🚀
The new version differs by 29 commits.
abe8381
Update CHANGELOG and bump version
0e2e046
[Dev Deps] update babel-eslint
, eslint
, istanbul
, mocha
34f83a5
[New] Add jsx-max-depth
e4de360
[Fix] jsx-curly-spacing problem in new tests, fixes #1414
a2764d9
[Tests] number comments to more easily locate failures
b4141d8
[Tests] Added tests for jsx-curly-spacing that deal with comments in children.
c996740
Merge pull request #1690 from mindspacepdx/am-should-component-update
e26b7e2
[Tests] clean up some formatting
8ca344a
Rearranged tests to be at the bottom of componentWillReceiveProps tests. Added a default parser test.
3ac7943
[docs] add missing rule to readme
0fa0761
Added test & working
e77c97f
Test
fb2fefd
Merge pull request #1675 from yuri-sakharov/fix/react-no-unused-prop-types
3d83d13
Added more tests
24658b5
Added more valid tests
There are 29 commits in total.
See the full diff
Update to this version instead 🚀
react-in-jsx-scope
(#1758)require-default-props
(#1724 @Miziak)forbid-component-props
(#1732 @ThiefMaster)no-unused-prop-types
(#1681 @bvaughn)sort-comp
(#1767 @joe-denea)no-typos
prevState
and nextState
to no-unused-state
(#1759)componentWillMount
, componentWillReceiveProps
and componentWillUpdate
lifecycle methods in no-deprecated
(#1750 @sergei-startsev)no-typos
false positive on custom PropType
classes (#1389 @brettdh)boolean-prop-naming
to handle required props (#1389 @louisscruz)jsx-curly-brace-presence
to allow whitespace JSX container (#1717 @sharmilajesupaul)jsx-no-bind
to handle ternary conditions (#1722 @gwenaellarmet)The new version differs by 65 commits.
fb7411d
Update CHANGELOG and bump version
b5865e8
Replace static status badge by a dynamic one
79f32b1
Fix Code Climate badge in README
ab803e5
Update CHANGELOG and bump version
b26d1cc
Add prevState and nextState support to no-unused-state (fixes #1759)
3aac310
Add support for React 16.3 lifecycle methods to no-typos
5f3f04f
Merge pull request #1783 from chentsulin/patch-1
26dc5a6
fix typo containing
9519938
Add getSnapshotBeforeUpdate support to no-unused-prop-types (fixes #1751)
d51b0cc
Add fragment support to react-in-jsx-scope (fixes #1758)
fb7ce94
Merge pull request #1771 from joe-denea/master
230b0ad
[Tests] fix appveyor
768013e
Add support for React 16.3 lifecycle methods
d68ef96
Merge pull request #1750 from sergei-startsev/no-deprecated
8973758
[Tests] fix linting errors
There are 65 commits in total.
See the full diff
Update to this version instead 🚀
jsx-props-no-multi-spaces
rule (#1755 @ThiefMaster)first
option to jsx-indent-props
(#398 @ThiefMaster)enforceDynamicLinks
option to jsx-no-target-blank
(#1737 @kenearley)sort-comp
(#1793 @lynxtaa)no-typos
when encountering anonymous react imports (#1796 @jsg2021)The new version differs by 41 commits.
0d34198
Update CHANGELOG and bump version
ab6b41a
Remove deprecated experimentalObjectRestSpread option from tests configuration
9d4e27a
Ignore no-typos test that only works with ESLint 5
f2d8729
Add SpreadElement support to sort-prop-types
29c248d
Add JSXText support to self-closing-comp
632941c
Add SpreadElement support to require-default-props
b3ed9d6
Add SpreadElement and RestElement support to no-unused-state
ce1fec7
Add JSXText support to no-unescaped-entities
ed3370b
Add SpreadElement and JSXText support to no-danger-with-children
0a028e4
Add JSXText support to jsx-one-expression-per-line
bd6caf0
Add JSXText support to jsx-no-literals
0a6cb51
Add JSXText support to jsx-indent
c734901
Add JSXText support to jsx-curly-brace-presence
3762258
Add JSXText support to jsx-child-element-spacing
e6e8955
Add SpreadElement support to default-props-match-prop-types
There are 41 commits in total.
See the full diff
Update to this version instead 🚀
The new version differs by 23 commits.
157cc93
Update CHANGELOG and bump version
7c5a16f
[Deps] update has
, prop-types
93ce3c5
[Dev Deps] update babel-eslint
5186b16
Merge pull request #1845 from alexzherdev/1844-no-set-state-unsafe-will-update
8122c8b
Account for UNSAFE_ method in no-will-update-set-state
c6cc4ab
[New] Allow eslint ^5
4121b59
[Tests] clean up test matrix
7869530
Merge pull request #1831 from sergei-startsev/no-unsafe-rule
0285eef
Excluded no-unsafe
from the recommended for now to avoid breaking changes
e41500a
Added early termination for no-unsafe, adjusted tests to support ESLint3
5e17159
Added missed position details for no-unsafe
5b08a1e
Adjusted no-unsafe
rule
b5e86bf
Added no-unsafe
rule
48e386d
Merge pull request #1827 from alexzherdev/1677-no-typos-static-proptypes
d68b9e8
Remove unnecessary babel-eslint and fix typo
There are 23 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 206 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 206 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: