Open greenkeeper[bot] opened 7 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)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
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
devDependency
eslint-plugin-react was updated from 6.10.3
to 7.12.0
.Update to this version instead π
no-typos
: Support createClass (#1828, @alexzherdev)jsx-indent
: add checkAttributes
option for JSX attribute indentation (#2086, @jomasti)propWrapperFunctions
setting values (#2065, @jomasti)jsx-fragments
rule to enforce fragment syntax (#1994, @alexzherdev)jsx-no-literals
: print node value in warning message (#2008, @jlgonzalezdev)jsx-max-depth
: Fix depth of JSX siblings in a JSXEpressionContainer (#1824, @alexzherdev)no-array-index-key
: fix in React.Children methods (#2085, @himynameisdave)no-unused-state
: handle functional setState (#2084, @jomasti)no-deprecated
: Disable legacy lifecycle methods linting for now (#2069, @sergei-startsev)forbid-foreign-prop-types
: ensure allowInPropTypes
option applies to class fields (#2040, @Sheile)jsx-wrap-multilines
: catch single missing newlines (#1984, @MrHen)jsx-first-prop-new-line
: Fix for parsers (like TypeScript) (#2026, @HauptmannEck)jsx-sort-comp
][]: Fix fixer in case of more than 10 props (#2012, @tihonove)no-unused-state
Don't depend on state parameter name ([#1829][], @alexzherdev)no-this-in-sfc
fix for class properties (#1995, @sergei-startsev)no-this-in-sfc
fix rule behavior for arrow functions inside a class field (#1989, @sergei-startsev)destructuring-assignment
: handle nested props usage (#1983, @alexzherdev)sort-prop-types
: fix string property order (#1977, @metreniuk)jsx-no-target-blank
: donβt crash when thereβs no value (#1949, @ljharb)prop-types
, no-unused-prop-types
: better handle object spread (#1939, @alexzherdev)jsx-fragments
: improve message text (#2032, @alexzherdev)no-unsafe
: handle all unsafe life-cycle methods (#2075, @sergei-startsev)require-default-props
: Change error message naming from singular defaultProp to plural defaultProps (#2064, @jseminck)propTypes
detection (#1946, @alexzherdev)defaultProps
detection (#1942, @alexzherdev)propTypes
detection (#2001, @alexzherdev)no-did-mount-set-state
, no-did-update-set-state
, no-will-update-set-state
: fix docs URLs (#2090, @JBallin)jsx-sort-props
: Fix small mistake (#2044, @dimitarnestorov)no-unescaped-entities
: add more escape examples (#2015, @stevemao)display-name
: mention default ignoreTranspilerName
value (#2002, @OliverJAsh)jsx-no-target-blank
: Add full example (#1988, @atomcorp)jsx-no-target-blank
.md (#1953, @brunocoelho)require('babel-eslint')
from tests (#2004, @sergei-startsev)prop-types
: Add tests for prop-types destructuring (#2029, @sstern6)display-name
: add false positive component detection for destructured createElement (#1098, @arian)The new version differs by 127 commits.
a83d65c
Update CHANGELOG and bump version
0c6160e
[Dev Deps] update coveralls
, babel-eslint
, typescript
cd6c8e6
[Deps] update resolve
d2b5b73
Merge pull request #1828 from alexzherdev/1721-no-typos-create-class
e747459
[Tests] remove node 5/7/9, add node 11
b33ae84
Merge pull request #1098 from arian/createElement-display-test
84be80a
Merge pull request #1824 from alexzherdev/1762-jsx-max-depth-false-positive
a442067
Merge pull request #2029 from sstern6/issue1422
7d07c37
Merge pull request #2032 from alexzherdev/jsx-fragments-message
8c6a8e2
Merge pull request #2089 from jomasti/feature/support-react-forwardref-memo
14451d4
Merge pull request #2085 from himynameisdave/issues/2083
8be52c7
π Addresses CR comments
f7e3121
Merge branch 'master' of https://github.com/yannickcr/eslint-plugin-react into issues/2083
77e3fd0
Merge pull request #2090 from JBallin/no-method-set-state-docs-url
7da9e0d
Fix noMethodSetState docsUrl's
There are 127 commits in total.
See the full diff
devDependency
eslint-plugin-react was updated from 6.10.3
to 7.12.1
.Update to this version instead π
no-unused-state
: Fix crash with class fields (#2098, @jomasti)prop-types
: Fix false positives inside lifecycle methods (#2099, @jomasti)jsx-max-depth
: avoid a crash (#2102, @ljharb)jsx-wrap-multilines
: avoid crash when no trailing newline (#2100, @ljharb)The new version differs by 9 commits.
0202de3
Update CHANGELOG and bump version
6f7cb51
[Tests] fix linter
695e534
[Fix] jsx-wrap-multilines
: avoid crash when no trailing newline
146d8d1
[Fix] jsx-max-depth
: avoid a crash
dfeeb81
Merge pull request #2099 from jomasti/issue-2094
55e5fc1
Fix false positives inside lifecycle methods
254a84a
Merge pull request #2098 from jomasti/issue-2096
72982f6
Fix no-unused-state crash
835fc05
Fix CHANGELOG.md
See the full diff
devDependency
eslint-plugin-react was updated from 6.10.3
to 7.12.2
.Update to this version instead π
prop-types
: avoid crash on used prevProps (#2095, @ljharb)forbid-prop-types
: fix crash with propWrapper check on MemberExpressions (#2104, @ljharb)The new version differs by 5 commits.
c93cbc6
Update CHANGELOG and bump version
e71feb5
[Fix] forbid-prop-types
: fix crash with propWrapper check on MemberExpressions
11a66c0
Merge pull request #2103 from yoyo837/patch-1
e9cfc16
Link does not end with '.'
4da90ea
[Fix] prop-types
: avoid crash on used prevProps
See the full diff
devDependency
eslint-plugin-react was updated from 6.10.3
to 7.12.3
.Update to this version instead π
jsx-indent
: Prevent crash on valueless props (#2120, @jomasti)jsx-fragments
: avoid crashing on self-closing fragments (#2113, @alexzherdev)no-unused-prop-types
: Fix propType detection inside class bodies (#2115, @drx)no-unused-prop-types
: fix issue with propTypes misclassifying props (#2111, @drx)display-name
: fix false positive for React.memo
(#2109, @jomasti)The new version differs by 14 commits.
2f5cec9
Update CHANGELOG and bump version
096161a
Merge pull request #2120 from jomasti/issue-2119
9d3955a
Prevent crash of jsx-indent rule
230c7e0
Merge pull request #2117 from haideralsh/patch-1
b4b0e72
fix: add a missing in the JSON settings
d2aa260
Merge pull request #2115 from drx/class_body_prop_types
41974e5
Fix propType detection inside class bodies
40f2565
[Docs] update README to document React version detection
dd0757f
Merge pull request #2113 from alexzherdev/2112-fix-self-closing-fragments
e997f6c
[Fix] avoid crashing on self-closing fragments
b48b479
Merge pull request #2111 from drx/prop_types_class_properties
e15bafa
[Fix] no-unused-prop-types
: fix issue with propTypes misclassifying props
a86b339
Merge pull request #2109 from jomasti/issue-2105
5f9863e
Fix display-name false positive for React.memo
See the full diff
devDependency
eslint-plugin-react was updated from 6.10.3
to 7.12.4
.Update to this version instead π
no-unused-prop-types
: avoid a crash (#2131, @ljharb)prop-types
: avoid further crashes from nonexistent nodes in unusedPropTypes (#2127, @ljharb)prop-types
: Read name of callee object (#2125, @CrOrc)prop-types
: Ignore reassignments when matching props declarations with components (#2051, #1957, @yannickcr)prop-types
, no-unused-prop-types
, require-default-props
: Detect components with return statement in switch/case (#2118, @yannickcr)The new version differs by 10 commits.
433cc3f
Update CHANGELOG and bump version
536bc35
[Tests] prop-types
: add case from #2134
df7ffc1
[Tests] no-typos
: test case from #2136
c7e5f38
[Tests] improve version detection tests.
2dd2277
[Tests] prop-types
: add now-passing test case
84652b6
[Fix] no-unused-prop-types
: avoid a crash
58ed9e9
[Fix] prop-types
: avoid further crashes from nonexistent nodes in unusedPropTypes
7f7b96d
[Fix] prop-types
: Read name of callee object.
5fc50aa
[Fix] Ignore reassignments when matching props declarations with components
ba80a4c
[Fix] Detect components with return statement in switch/case
See the full diff
devDependency
eslint-plugin-react was updated from 6.10.3
to 7.13.0
.Update to this version instead π
The new version differs by 74 commits.
f39829f
Update CHANGELOG and bump version
9e81dde
[Deps] update jsx-ast-utils
, resolve
e73a692
Merge pull request #2256 from mateuszsokola/master
b5fc9bf
[fix] jsx-props-no-multi-spaces
: support generic components (ts)
8bd3837
Fix Node 4 compatibility
005dad3
Revert "Replace mocha by jest"
6e4f43e
Replace mocha by jest
09f580c
Replace typescript-eslint-parser by @typescript-eslint/parser
861fdef
[fix] prop-types
: fix case with destructuring and defualt param
9fbd037
Fix ESLint 6 compat by providing parser as absolute path to RuleTester
8041075
Fix jsx-curly-brace-presence schema defaults
9cec705
Add next ESLint version to Travis
0d4725e
Add Node 12 and remove Node 4/6 from Travis
9192ec3
Update devDependencies
d5d2e82
Merge pull request #2250 from guliashvili/master
There are 74 commits in total.
See the full diff
devDependency
eslint-plugin-react was updated from 6.10.3
to 7.14.0
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.14.1
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.14.2
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.14.3
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.15.0
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.15.1
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.16.0
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.17.0
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.18.1
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.18.2
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.18.3
.devDependency
eslint-plugin-react was updated from 6.10.3
to 7.19.0
.π¨ Reminder! Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! π ππ¨ π
Find out how to migrate to Snyk at greenkeeper.io
devDependency
eslint-plugin-react was updated from 6.10.3
to 7.20.0
.
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: