Closed greenkeeper[bot] closed 5 years ago
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
Update to this version instead π
jsx-one-expression-per-line
: add "allow" option (#1924, @alexzherdev)sort-prop-types
: add autofix (#1891, @finnp)jsx-no-bind
: Add ignoreDOMComponents option (#1868, @alexzherdev)destructuring-assignment
: Ignore class properties (#1909, @alexzherdev)destructuring-assignment
, component detection: ignore components with confidence = 0 (#1907, @alexzherdev)boolean-prop-naming
: Handle inline Flow type (#1905, @alexzherdev)jsx-props-no-multi-spaces
: Handle member expressions ([#1890][], @alexzherdev)sort-comp
: Allow methods to belong to any matching group (#1858, @nosilleg)jsx-sort-props
: Fix reservedFirst
(#1883, @fleischie)prop-types
: (flow) Stop crashing on undefined or null properties (#1860, @nicholas-l)no-unknown-property
: Make attribute "charset" valid (#1863, @silvenon)no-deprecated
: report identifier AST node instead of the class node (#1854, @jsnajdr)button-has-type
: Account for pragma (#1851, @alexzherdev)button-has-type
: improve error message when an identifier is used as the value (#1874, @ljharb)no-unused-state
: combine spread visitors (@ljharb)jsx-one-expression-per-line
: Fix JSX Syntax in docs (#1867, @peter-mouland)jsx-max-depth
, jsx-sort-default-props
: add missing docs urls (#1880, @flyerhzm)jsx-indent
: add test cases (#1892, @alexzherdev)prop-types
: add test cases (#1898, @alexzherdev)jsx-props-no-multi-spaces
: update docs (#1918, @ BenRichter)The new version differs by 65 commits.
599c028
Update CHANGELOG and bump version
1eccf7f
Merge pull request #1924 from alexzherdev/1775-one-expression-options
c1c3d19
Merge pull request #1911 from alexzherdev/1674-prop-types-refactoring
3567c5b
[New] Add allow option to jsx-one-expression-per-line
9258d79
Merge pull request #1918 from BenRichter/patch-1
bc9a8ea
Update jsx-props-no-multi-spaces.md
a466a77
Merge pull request #1909 from alexandernanberg/fix/class-property-destructure-assignment
50cd5a6
Clean up and code review
5b5ebfa
Made prop-types pass
f2fdaa3
Extract declared propTypes detection code
9dbb834
Merge pull request #1914 from alexzherdev/is-function-helper
7edc982
Fix lint error
ef36ba9
Add a helper function for determining function-like expressions
4382aa5
fix: destructuring-assignment ignore class properties
efe0c0c
Merge pull request #1907 from alexzherdev/1637-destructuring-assignment-greedy
There are 65 commits in total.
See the full diff
Update to this version instead π
The new version differs by 11 commits.
fb745ab
Update CHANGELOG and bump version
27f9e08
Merge pull request #1932 from alexzherdev/1928-fix-assignment-handling
44a3bf6
[Fix] stop crashing when assigning to propTypes
a33384d
Merge pull request #1929 from alexzherdev/patch-1
d78819d
Fix link in changelog
8a9d938
Merge pull request #1926 from ferhatelmas/fix-changelog
b812416
Update changelog
564107c
Merge pull request #1897 from christophehurpeau/patch-1
622470f
Update sort-prop-types.js
fa90fe5
Update sort-prop-types.md
6e8dadb
Rule sort-prop-types add noSortAlphabetically
See the full diff
Version 7.4.0 of eslint-plugin-react just got published.
The version 7.4.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.4.0Added
jsx-curly-brace-presence
rule (#1310 @jackyho112)prop-types
andno-unused-prop-types
(#1364 #1323 @jseminck)no-unused-prop-types
(#1412 @jseminck)prop-types
(#1400 @jseminck)no-unused-prop-types
(#1388 @jseminck)prop-types
andno-unused-prop-types
(#1381 @DianaSuvorova)no-direct-mutation-state
(#1386 @zpao)Fixed
no-unused-state
to ignore computed property keys (#1361 @jackyho112)no-typos
crash (#1406 @jseminck)boolean-prop-naming
crash (#1409 @EvHaus)prop-types
andno-unused-prop-types
crash with IntersectionTypeAnnotation (#1413 @jseminck)Changed
Commits
The new version differs by 472 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 250 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: