Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/jsx-eslint/eslint-plugin-react

React-specific linting rules for ESLint
https://github.com/jsx-eslint/eslint-plugin-react

[eslint] use `ignorePatterns` instead of `eslintignore`

7456e18c4bcb24ac9ae8e80285673a25b9e97c6e authored over 2 years ago by Jordan Harband <[email protected]>
[Deps] update `array-includes`, `object.hasown`

4153a15414fe4f613478fdef8bbdd13a13a69630 authored over 2 years ago by Jordan Harband <[email protected]>
[Dev Deps] update `@babel/core`, `@babel/plugin-syntax-decorators`, `@babel/preset-react`, `@types/estree`, `@types/node`, `ls-engines`

08e6c6ead08636fa67246f37db4b08220ada37eb authored over 2 years ago by Jordan Harband <[email protected]>
[Refactor] improve performance of rule merging

438c21a819a91e3dff6d862051ab6df1490fe877 authored over 2 years ago by Chiawen Chen <[email protected]>
[Deps] update `array.prototype.flatmap`

c8833f301314dab3e79ef7ac4cf863e4d5fa0019 authored over 2 years ago by Jordan Harband <[email protected]>
[Dev Deps] update `@babel/core`, `@types/node`, `eslint-plugin-import`, `eslint-remote-tester`, `eslint-remote-tester-repositories`

d807c3ef41ca4a94dc00431c1cf607d42a62f0a9 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `propTypes`: handle imported types/interface in forwardRef generic

Fixes #3140

6c889121a5d701092e2ec1a58462cff7861b826e authored over 2 years ago by vedadeepta <[email protected]>
[Docs] `default-props-match-prop-types`, `require-default-props`, `sort-prop-types`: fix typos

b7a9c2ab996192a3a398c1bb586c225c86835f49 authored over 2 years ago by Nix <[email protected]>
[Refactor] improve performance of component detection

46ce117c6b85847e92bc6d1b1d98f321be99d290 authored over 2 years ago by Chiawen Chen <[email protected]>
[Refactor] improve performance by avoiding unnecessary `Components.detect`

18de0a653122c4ffd586a0269a7355c15ef05e23 authored over 2 years ago by Chiawen Chen <[email protected]>
[Refactor] `no-*-set-state`: improve performance

2bf54d732f167d7ed41b5fdbd8309e4834f73267 authored over 2 years ago by Chiawen Chen <[email protected]>
[Refactor] `no-deprecated`: improve performance

7e4c2c260a5f70c05331eb5f3e39ad358fe139c7 authored over 2 years ago by Chiawen Chen <[email protected]>
[meta] reflect the repo rename; remove travis badge

96b3b06d7bef040f7845043fe93eefd1fc7fb8e3 authored over 2 years ago by Jordan Harband <[email protected]>
[meta] update FUNDING.yml

e52eed58e64cbd6d8e9f29423221443d58a1d534 authored over 2 years ago by Jordan Harband <[email protected]>
[Refactor] improve performance for detecting class components

161317e664ff00e0c0a27f3d032613f621c05939 authored almost 3 years ago by Chiawen Chen <[email protected]>
[Tests] skip failing TS tests on eslint 5

c8397ade64f46e4bfb3bceff0cc9d50acc505d52 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-no-useless-fragment`: use proper apostrophe in error message

8992a2b8849f389e986b7bd956d79258681b7f17 authored almost 3 years ago by Opender Singh <[email protected]>
[Refactor] improve performance for detecting function components

365849c2ab69a1f92b4161d6d96b91490f5080f0 authored almost 3 years ago by Chiawen Chen <[email protected]>
[Fix] `jsx-tag-spacing`: change multiline-always to proportional-always

- If the node is multiline then require newline
- If the node is singleline then require space

...

316bc4013512ba2b1f7b93b29cac42591676cd32 authored almost 3 years ago by Sebastian Malton <[email protected]>
[Deps] update `string.prototype.matchall`

c297a96a032dc4299c278edf377f4e31f7f8e8d7 authored almost 3 years ago by Jordan Harband <[email protected]>
[readme] Remove dead david-dm badge

c28ae9ec2012a901670e6254026b0860063a070a authored almost 3 years ago by Darius Dzien <[email protected]>
[Refactor] fix linter errors

04da3f0977380a1457e47abbf37ca2619c252c5a authored almost 3 years ago by Chiawen Chen <[email protected]>
[New] `jsx-tag-spacing`: Add `multiline-always` option

- This option enforces that the closingTag or the selfClosingTag is on a
new line if the entir...

8513f1afb7f1c4e2092eb6b318300e2bb7880c48 authored almost 3 years ago by Sebastian Malton <[email protected]>
[Docs] `no-unused-prop-types`: fix syntax errors

b9b1bee5a27b4c3d2b970bbdc5345db4a870b48f authored almost 3 years ago by mrdulin <[email protected]>
[Fix] `no-unused-state`: avoid a crash

Fixes #3240.

Co-authored-by: Willy Liao <[email protected]>
Co-authored-by: Jordan Harband ...

4876d549158df538520026170df3b8c933fa3603 authored almost 3 years ago by Willy Liao <[email protected]>
[readme] remove global usage and eslint version from readme

5bc571db4743527d368167738f359dc6168f9b02 authored almost 3 years ago by 唯然 <[email protected]>
[New] `no-unknown-property`: Allow crossOrigin on image tag (SVG)

Fixes #3250

2145e293eafae2164f0b5dfbcb8278c22f043ab8 authored almost 3 years ago by Paul O’Shannessy <[email protected]>
[New] `function-component-definition`: replace `var` by `const` in certain situations

Signed-off-by: Xavier Le Cunff <[email protected]>
Co-authored-by: Xavier Le Cu...

4b4bba91ddebe27cf6bdd9f86d2b9a824a07a8fb authored almost 3 years ago by Xavier Le Cunff <[email protected]>
[Refactor] add AST util `isFunctionLike()`

5554bd4725b49eb5b7661fd496df22f2d5ad2b00 authored almost 3 years ago by Nix <[email protected]>
[New] `require-default-props`: add option `functions`

24621e4454109a285519e987d9a425b88339f734 authored almost 3 years ago by Nix <[email protected]>
[Fix] `propTypes`: add `VFC` to react generic param map

In d9531c3b, we missed adding VFC to genericTypeParamIndexWherePropsArePresent in addition to al...

37b4f8e51bb1ce2540a586e4ae6e526a2ed7c685 authored almost 3 years ago by David Lechner <[email protected]>
[Fix] `hook-use-state`: Allow UPPERCASE setState setter prefixes

cab69435804137221cdb6fc6920c877e64e2ab87 authored almost 3 years ago by Duncan Beevers <[email protected]>
Update CHANGELOG and bump version

73ad445e434c7ff7d9811308b4b80f3b56d10e77 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `boolean-prop-naming`: handle React.FC, intersection, union types

86a3177654e9290d454c77254787c2218b5e6ed5 authored almost 3 years ago by Marcin Dziewulski <[email protected]>
[Fix] `no-unstable-nested-components`: Improve error message and catch React.memo()

Fixes #3231

1fdf9bdc9788ce6986f8e82f883ff4d7e161f16f authored almost 3 years ago by Zachary Liu <[email protected]>
[Fix] `no-unused-state`: avoid a crash on a class field gDSFP

Fixes #3236.

cdfd55836fc8a667c97448dc040de2a535ba5267 authored almost 3 years ago by Jordan Harband <[email protected]>
[New] `destructuring-assignment`: add option `destructureInSignature`

567bc7dac32418acbb8c02fed3ef8fe17ff29077 authored almost 3 years ago by Chiawen Chen <[email protected]>
[meta] fix changelog

24bf5947e9495808ef14fd0fbdd6a670a13bc443 authored almost 3 years ago by Jordan Harband <[email protected]>
Update CHANGELOG and bump version

7484acaca8351a8568fa99344bc811c5cd8396bd authored almost 3 years ago by Jordan Harband <[email protected]>
`propTypes`: add `VFC` to react generic list

Fixes #3230

d9531c3bc539e292eb297a04c7b9312e8b63a223 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-curly-brace-presence`: the string "never" defaults to `propElementValues` as `ignore`

Fixes #3228

d8602acf4d17e317b34290fe7c95ae0212f4030f authored almost 3 years ago by Jordan Harband <[email protected]>
[Refactor] add `isParenthesized` AST util

a2ea65a5d0ecf2e2c95b80d99ff54b1ac9e8fdd8 authored almost 3 years ago by Mario Beltrán Alarcón <[email protected]>
[Fix] `no-unused-state`: avoid a crash on type-only gDSFP declarations

Fixes #3225

90909990e8e80ecfb459b8dc72e2f09d982fc095 authored almost 3 years ago by Jordan Harband <[email protected]>
Update CHANGELOG and bump version

e972bd70c803fc8fc7bd1e90673490b9ca257fdb authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `no-array-index-key`: detect named-imported `cloneElement`/`createElement`

Fixes #3213

7fdfd2ca9a105cf68018a62333b7a74145462d5a authored almost 3 years ago by Jordan Harband <[email protected]>
[actions] add release workflow

0093e1be0c9591bbd77d106dd873e0dd9d63fecc authored almost 3 years ago by Brian Surowiec <[email protected]>
[Fix] `jsx-indent`: properly report on returned ternaries with jsx

Fixes #3222

625010a70af2ab83398c7d1ee591fbe0fcd98d4c authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-indent`: do not report on non-jsx-returning ternaries that contain null

Fixes #3222

a8fca2a12cabbcdde465eed1482af448e7521973 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-curly-brace-presence`: avoid warning on curlies containing quote characters

Fixes #3214

fe708e1936770bb66b74a473bf396e6714ccae36 authored almost 3 years ago by Jordan Harband <[email protected]>
Update CHANGELOG and bump version

7f44ecc2f310d20e5efa4907d469753b3a2a5e15 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] version settings: avoid a crash with an invalid version

Fixes #3219

5dd50fa23bb318a131a0e0e35b0bbc6deb5dc02a authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-key`: avoid a crash

Fixes #3220

a5dc2a20a95985e27a4a803b2cf996ffd20e1cfe authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-indent`: avoid checking returns sans jsx

Fixes #3218

c605fd8ff15a9689a94a8abd87c5f3c706c0ebea authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-key`: prevent false "missing array key" warning

Fixes #3215

13d8df686945b64a727f378c27305e1487af30fe authored almost 3 years ago by Jordan Harband <[email protected]>
Update CHANGELOG and bump version

ddcc5b3b09450432f312251c9b0e786753b3437a authored almost 3 years ago by Jordan Harband <[email protected]>
[Deps] update `minimatch`

9442f423508956fe15c861167fe3ebc524396154 authored almost 3 years ago by Jordan Harband <[email protected]>
[Dev Deps] update `@babel/core`, `@babel/eslint-parser`, `@babel/plugin-syntax-decorators`, `@types/node`, `ls-engines`, `markdown-magic`

09f10cef1b271590fa03e9a4f1ce70f42860b579 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-key`: include duplicate-keyed jsx children in `warnDuplicates` option

See https://github.com/yannickcr/eslint-plugin-react/issues/2614#issuecomment-1048405762; fixes ...

f51ec4551b3fc85d971fc4d65414684bfabe3974 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `sort-comp`: add passing test

Closes #3127

69ac0a042d247e5e2c78ee6aa8160dd3a9712667 authored almost 3 years ago by Jordan Harband <[email protected]>
[Refactor] `jsx-key`: use more AST selectors

d000177f7967ce80233c66ea4e26177b53c9f166 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `prop-types`: add passing test

Closes #3011

24402fba9444b1b50ddc37d14ebb0fa4ed2ff480 authored almost 3 years ago by Jordan Harband <[email protected]>
[New] `jsx-sort-props`: add `locale` option

Fixes #3002

6d6f5bd3c6527354c1aa7cd068a6674e85729fa8 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `prop-types`: add passing test

Closes #2971

c1c4143720fda8c234068e4d29aad00e076c3fb3 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `forbid-prop-types`: properly report name in error message; check undestructured arguments

Fixes #2945

2cca2609411b52ba37ca4b9e41cd477038b615ee authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `jsx-newline`: add passing test

Closes #2926

0218e61c92a0b71bab168ec259cd17f5662db471 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `prop-types`: catch infinite loop

Fixes #2861

1650b62e72d0fda20fcf92432bb23ffd36b46917 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `prop-types`: add passing test

Closes #2824

993ee22c6cd10ed006c71c2e7df51e70313f68f2 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `prop-types`: add passing test

Closes #2760

02bd7daf20d0eacd33751ef0102e844448d89eac authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `jsx-indent-props`, `jsx-indent`: add passing tests

Fixes #2649

c57eac8ad65ace9507e15f37a14a9fb8fa04d032 authored almost 3 years ago by Jordan Harband <[email protected]>
[New] `jsx-key`: add `warnDuplicates` option to warn on duplicate jsx keys in an array

Fixes #2614

dbc8e8c35a39e9351ce73d3132e00af2d0113b80 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `prefer-stateless-function`: avoid a crash inside `doctrine`

Fixes #2596

227cf8850445591bfd043f0c343643abd80246ca authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `prop-types`: add passing test

Closes #2477

99b38a3f453b1020ac55b67dca4193ba0f9c0966 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `display-name`: adding passing test from #2404

3527fa38d87a63a438f9a31afa2988bc9a38512b authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `prop-types`: add passing test

Closes #2196

a34a232530b58d3ec2c09bbe3e2ae7122d3112a1 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `no-unused-prop-types`: add passing test

See https://github.com/yannickcr/eslint-plugin-react/issues/2173#issuecomment-598419236

0a57e3d8d9c9451aadd26cd11cb3decedf736afc authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `no-unused-prop-types`: add passing test

Closes #2171

0f2e891e4382346bdf08a94c22d8afe86648408f authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `function-component-definition`: do not break on dollar signs

Fixes #3207

6255ca6e7fbc5db3041b3903597e3b3082af2e40 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `no-unused-state`: fix a crash from 9b227aa8

Fixes #3204

f7d50c267167b1030e59d134d62b4cbca7095e35 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `prop-types`: add passing test

Closes #2135

1b307d3dc43cdbe75e8f3f5109313f3824859bb0 authored almost 3 years ago by Jordan Harband <[email protected]>
[Fix] `no-unused-state`: TS: support `getDerivedStateFromProps` as an arrow function

Fixes #2061

9b227aa8c8d2ffacd508ff2b281f4d7852409464 authored almost 3 years ago by Jordan Harband <[email protected]>
[Docs] `jsx-key`: improve example

Using an index for a key is a violation of the [no-array-index-key](https://github.com/yannickcr...

53e0722d32e986b7288c6af61c60dab787e4b2c9 authored almost 3 years ago by Chris Nakamura <[email protected]>
[Docs] `jsx-no-target-blank`: fix syntax highlighting

7dfcbfbb3710bc42f7f8f9eb5ba50d65dd85d1f4 authored almost 3 years ago by Alexey Shamrin <[email protected]>
[Tests] `prop-types`: add passing test

Closes #2017

67989c80496dac079fa1032f23628b16a4bb4eba authored almost 3 years ago by Jordan Harband <[email protected]>
[New] add `jsx-no-leaked-render`

ef733fd420c821f7159b28f4a36ce5e09375f9b8 authored almost 3 years ago by Mario Beltrán Alarcón <[email protected]>
[Refactor] `jsx-sort-default-props`: remove unnecessary code

Fixes #1817

35e323fd88e69036ee3c6e6fd62e901efd866d6e authored almost 3 years ago by Jordan Harband <[email protected]>
[Docs] `forbid-foreign-prop-types`: document `allowInPropTypes` option

Fixes #1815

2e6a391e11b004dacc4f5f94f47d54c760c9bf76 authored almost 3 years ago by Jordan Harband <[email protected]>
[New] `jsx-sort-props`: support multiline prop groups

Fixes #3170.

f47deef684e5d5538776dd11be8b2e0724094e9a authored almost 3 years ago by Duhamel Guerrero <[email protected]>
[New] `no-did-mount-set-state`, `no-did-update-set-state`: no-op with react >= 16.3

Fixes #1754

42a809396cfc8347e89a6f78414950ef323c8494 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `parsers`: add `settings` into debugging comment

0a0a2e12695d69ba99938f68f76168f00a637282 authored almost 3 years ago by Jordan Harband <[email protected]>
[Refactor] `versionUtil`: expand to take a semver range

This would be breaking, but this util isn't part of our API.

b5d24c580e3c4f45939ccf713bbdbe40e09fc47b authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `jsx-indent`: add passing test case

Closes #1662

0f09f8154a142518988eaf8c85f9ed9b9fc139f9 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `default-props-match-prop-types`: add passing test

Closes #1593

8d8ca3fc13fac4bc1631fe9f6ab9dcc119a1c672 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `prop-types`: add passing test

Closes #1575

70dccbeffa7928c86ff091144740ac26d6f3ec6f authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `no-unused-prop-types`: add passing test

Closes #1561

4e1dd9a3160c4f9b84bcd1decc9e731dc48615a8 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `no-unused-prop-types`: add passing test

Closes #1558

06bbf2846d4d2dbbf065627a4aa48eebceb5ec38 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `default-props-match-prop-types`: add passing test

Closes #1554

077a7d295962ce97203e11fecc3ca81732b51283 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `no-unused-prop-types`: add passing test

Closes #1477

2cac2e873cbc0ef26dc6339b82454b016ce7d798 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `jsx-indent`: add passing test case

Closes #1427

f40f88e33977eb898d924b6e626afaa0972c4700 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `prop-types`: add passing test

Closes #1280

b71b6a44a77fda40261e6e2f997883419a7907a9 authored almost 3 years ago by Jordan Harband <[email protected]>
[Tests] `jsx-no-comment-textnodes`: add passing test case

Closes #1270

94d647d33efecb2f0020729c52e862d272cbfd1f authored almost 3 years ago by Jordan Harband <[email protected]>