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

[Fix] `no-unknown-property`: add `border`; `focusable` on `<svg>`

Fixes #3404. Fixes #3405.

e8356addc90562348afbfbd3f03df8256eadfdc1 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `no-unknown-property`: add onError and onLoad for iframe/picture

Fixes #3410.

Co-authored-by: Emmanuel Vuigner <[email protected]>
Co-authored-by: Aarni Koskela <akx@...

033fcc5c931dcebde75d87724a61e2cf70feaecb authored over 2 years ago by Emmanuel Vuigner <[email protected]>
[Fix] `no-unknown-property`: allow `imageSrcSet` and `imageSizes` attributes on `<link>`

Fixes #3401.

3306b92559b8796f1e3d302e55214d24d4e2cb86 authored over 2 years ago by Terry Mun <[email protected]>
[Fix] `no-unknown-property`: Add more one word properties found in DefinitelyTyped's react/index.d.ts

Manifest, summary, wmode, results, security

1c0c92b1d575c4c15c2aa18e80dfb3d04805a5b5 authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: add more capture event properties

Fixes #3400.

32119f908da4577f8f6c752b5f9002ac79c0ca9a authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: one more `controlList` -> `controlsList`

c59ad4a00df942838128232d64fc6d8e1667c59c authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: `controlsList`, not `controlList`

Fixes #3397

4be5632101f52535f33238a723723ebb7ff906ef authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `no-unknown-property`: allow `webkitAllowFullScreen` and `mozAllowFullScreen`

Fixes #3396

7ba7ec4baba332c75a5dad0ea905327ae240821d authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `no-unknown-property`: add `download` property support for `a` and `area`

Fixes #3393

3b305273b147d91e916eb769fa95be366ed4e2e3 authored over 2 years ago by Himesh Jain <[email protected]>
[Fix] `no-unknown-property`: avoid warning on `fbt` nodes entirely

Fixes #3391

d2c9befbcbcd1fedfaf05694beb0cf0fe767a9e7 authored over 2 years ago by Jordan Harband <[email protected]>
Update CHANGELOG and bump version

18b2b593e92ec0be048641df10ca3b3a0bb21dc9 authored over 2 years ago by Jordan Harband <[email protected]>
[Docs] `no-unknown-property`: add a mention about using ignores properties with libraries that add props

900d6a295a8ecc1d4de07897283f9afaf50d38c2 authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: make onLoad and onError be accepted on more elements

57e8ec629fa04d0bdca71016f8b04c744451187b authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: add onMouseMoveCapture as valid react-specific attribute

bc33ad719c5e67dd57a8aecbfa919ea4cdc11fe7 authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: fill works on line, mask, and use elements

38572e835279955b02ef0ac0e2171502283c2d24 authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: move allowfullscreen to case ignored attributes

487ef7055959a160aa546dc0753aa173c48383a3 authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: add more audio/video attributes

9a77a1bc4e75871d9fdff7da679bf5b40be49177 authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: data-* attributes can have numbers

1d373c9d5cf0764ed7831da6b293de1462e0271a authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: `onError` and `onLoad` both work on `img` and `script`

Fixes #3388

51ec8581850afa32adf3438b7db0a39a4f24405c authored over 2 years ago by Jordan Harband <[email protected]>
[meta] fix changelog typo

811689187671f4fbf7ed000dbf33219a401084c5 authored over 2 years ago by Jordan Harband <[email protected]>
Update CHANGELOG and bump version

06d87861845e213b81839819f80828216dc5ecae authored over 2 years ago by Jordan Harband <[email protected]>
[Tests] `no-unknown-property`: add passing tests for `allowTransparency`

652749da4cbc0411af4f3f2d369785b163fc5796 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `no-unknown-property`: `children` is always an acceptable prop; iframes have `scrolling`; video has `playsInline`

a2ec87d3591270e6a51fa9754a48e84b06b6cf15 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `no-unknown-property`: add touch and media event related properties

7d4fe185bffc93dc20c5403facf4b732e83508f6 authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: add `defaultChecked` property

be4e93c705ab2e09ac68a77c68b653e9dc7dd39a authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: add properties `onToggle`, `fill`, `as`, and pointer events

ae23d7cf7c599a60852eff6f4d67a719cb615e94 authored over 2 years ago by Senja Jarva <[email protected]>
Update CHANGELOG and bump version

91ea5d528b9daf960e8afd1718b590138b5f54f1 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `no-unknown-property`: support `checked` on inputs

Fixes #3383

6128f9ae4ccc1bf31fa80d4694742ef99e99aea0 authored over 2 years ago by Jordan Harband <[email protected]>
Update CHANGELOG and bump version

b4d14ce1872c3ac1b39b1f3c87f77cb0a664ad9a authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `no-unknown-property`: add SVG and meta properties

Fixes #3380

22cedd8c83fc6e2931c265476e2e670fdc7ecfed authored over 2 years ago by Mayo <[email protected]>
Update CHANGELOG and bump version

512909b084185c32ec547352260112fe759d8aa8 authored over 2 years ago by Jordan Harband <[email protected]>
[Dev Deps] update `markdown-magic`

Remove doctoc pin, thanks to https://github.com/DavidWells/markdown-magic/issues/62#issuecomment...

24690a0bc612bd7e9c4b83656519432b3effceb2 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-sort-props`: avoid a crash with spread props

Fixes #3376

d3aa050c44b4230f5d17091fe23c8484cf38cacd authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `no-unknown-property`: properly recognize unknown HTML/DOM attributes

Refactored going through different scenarios and error cases to be more clear.
Also add some new...

f54b391d6ed8efb274771f491c2662c070433abc authored over 2 years ago by Senja Jarva <[email protected]>
[Refactor] `no-unknown-property`: update DOM properties to include also one word properties

Also regroup the properties to global, element specific and React or Safari/Apple specific

d2dd7f0e1d539645a0915e0215259390015c01e2 authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `no-unknown-property`: properly recognize valid data- and aria- attributes

84a9771c6766c499bd8cbb756924b974506dc048 authored over 2 years ago by Senja Jarva <[email protected]>
[Refactor] `no-unknown-property`: improve jsdoc; extract logic to separate functions

- checking case ignored attributes to a function of its own

Also move variable inside function...

d6d84ccb0620eeb2bfb1164afe431c9fa40085c2 authored over 2 years ago by Senja Jarva <[email protected]>
[Refactor] `jsx-sort-props`: make the map to an object instead of an array

3a237b0f3edbe7c4560a1062fa22e672f3adc3b7 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-sort-props`: avoid a crash

Fixes #3371.

dc62a8cafc60bd4c4ba997cf3460aa24022f26ff authored over 2 years ago by Ross <[email protected]>
[Docs] `jsx-sort-propts`: replace ref string with ref variable

3d58253b399dce089a12793163d7f51f90d3f2b9 authored over 2 years ago by Lucas Mesquita <[email protected]>
[Tests] `jsx-key`: skip a failing test in old babel

9055439aa782f93cd9473ee4d420490aa9312c7a authored over 2 years ago by Jordan Harband <[email protected]>
[Tests] `jsx-key`: add passing tests

Closes #3373

ffca7e92067960fb1eb5dc7b8536a8fc3135b8db authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-key`: avoid a crash with optional chaining

0771bc1b5b7e75216543e5ca93c1d99a5152c759 authored over 2 years ago by Jordan Harband <[email protected]>
[actions]: update `eslint-remote-tester-run-action`

c57ccd1db6b61b55c97a7bd34cb6b5c8a979fde8 authored over 2 years ago by Ari Perkkiö <[email protected]>
Update CHANGELOG and bump version

2d973469f580415d5ac9768b2c609ee1eb76b909 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-no-leaked-render`: coerce strategy now allows a ternary

126c4527626c3aca84b46efaeee5c10aef96ac8f authored over 2 years ago by Senja Jarva <[email protected]>
[Fix] `jsx-key`: detect keys in Array.from's mapping function

bb4d1b3cd6597df279830e6466714b9ed068c829 authored over 2 years ago by Senja Jarva <[email protected]>
Update CHANGELOG and bump version

b0d0ca188e3e0ca365afd5140975c0ead9d1175c authored over 2 years ago by Jordan Harband <[email protected]>
[Docs] Add config notice to rule docs

1656707568983fe12d96736e3b19e921c4791221 authored over 2 years ago by Bryan Mishkin <[email protected]>
[Dev Deps] update `@babel/core`; downgrade `@types/node`

6207a043ef0ec912cb3268bdbb9f234dd4c025db authored over 2 years ago by Jordan Harband <[email protected]>
[Docs] Add markdownlint for documentation formatting consistency

ae34341465db970c9f000b62111472fc33844f70 authored over 2 years ago by Bryan Mishkin <[email protected]>
[Docs] Fix typos

11306e165f80010839f6e667459c6c74a9d28f07 authored over 2 years ago by Bryan Mishkin <[email protected]>
[Docs] Remove duplicate fixable notice

9836d3a69877577c0e550312defcbc65bb3b82c5 authored over 2 years ago by Bryan Mishkin <[email protected]>
[Docs] Standardize deprecated rule notice

885afc3b1f9e640319a0339e9493c68bcb144b6c authored over 2 years ago by Bryan Mishkin <[email protected]>
[Docs] Consistent rule descriptions and doc sections

13d23b898de83557861b0e8bd419477f122e4839 authored over 2 years ago by Bryan Mishkin <[email protected]>
[Dev Deps] update `eslint-plugin-eslint-plugin` to v5

11dc75e9466897ef49709d69ae1986b4ad13ace1 authored over 2 years ago by Bryan Mishkin <[email protected]>
[Docs] document which rules provide suggestions

bb999c2e3d77714448885a9a599a0e122f1f568c authored over 2 years ago by Bryan Mishkin <[email protected]>
[Fix] `jsx-sort-props`: sorted attributes now respect comments

Fixes #2366.

c14e209dad8f8d48f1aae7106d9169b001e6e412 authored over 2 years ago by Ross <[email protected]>
[Dev Deps] update `@babel/core`, `@babel/eslint-parser`

8306a7bc81be567d36c02e21c1d68f44fa3468e3 authored over 2 years ago by Jordan Harband <[email protected]>
[Refactor] `jsx-closing-bracket-location`, `jsx-no-bind`: fix eslint issues

d000f8c50b0ad0748680d818675f5daab055dacb authored over 2 years ago by caroline223 <[email protected]>
[readme] fix tidelift badge image

337e41af4c24bb83a5f205b129113b716f5fab52 authored over 2 years ago by Jordan Harband <[email protected]>
[Tests] `function-component-definition`: add passing test cases

Closes #3057

23121e08603f39da1145ebd8e51600f1e8db1344 authored over 2 years ago by TildaDares <[email protected]>
[Fix] `jsx-no-leaked-render`: autofix nested "&&" logical expressions

cac3838b13956eb90f232661e95962d93c3e1015 authored over 2 years ago by hduprat <[email protected]>
[Fix] `display-name`, component detection: fix false positive for HOF returning only nulls and literals

8e4d17a264d7f493ad936ea685dfb69dd3638e6e authored over 2 years ago by Chiawen Chen <[email protected]>
[readme] remove dead codeclimate badge, add actions badge

0cc979dd5035687f6f5bba27569d0692bb701130 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `require-default-props`: avoid a crash when function has no props param

7302a2a644ff92eba4bba99a332e04883f674a15 authored over 2 years ago by Noah Negin-Ulster <[email protected]>
[Docs] `jsx-no-useless-fragment`: add more examples of correct code

ab72e48229f55726aa55ae55edfa1c718afda34f authored over 2 years ago by Karl Horky <[email protected]>
[Fix] `display-name`, component detection: fix HOF returning null as Components

Fixes #3346

8baf0c58ab1cb3cbaad57f13c24c95a65e95f87f authored over 2 years ago by Juan José Madrigal <[email protected]>
[Tests] `parsers.all`: improve min ecmaVersion logic

91398309901960d2ea41a9d62a2896981268cb1d authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `display-name`: fix identifying `_` as a capital letter

Fixes #3334

6b4273194d54bb88b228b3c9436c93100e5e2320 authored over 2 years ago by Antonio Pérez Barrero <[email protected]>
[Docs] `sort-comp`: add class component examples

87fb344c9509f8c31e9bd4a49d31576397a89ebc authored over 2 years ago by Martin <[email protected]>
[New] `forbid-dom-props`: add `disallowedFor` option

b3a3937c9712d3b9ee1e5512f06f076d6fea5dc8 authored over 2 years ago by TildaDares <[email protected]>
[Fix] `jsx-no-target-blank`: False negative when rel attribute is assigned using ConditionalExpression

b7f388b4128b689c4902ab0d659ba48f1c1d4f62 authored over 2 years ago by Vividha <[email protected]>
[Fix] `display-name`: fix false positive for assignment of function returning null

Fixes #3329

39631931a7e7a5b1d73a1783951b174bb9e61de6 authored over 2 years ago by Antonio Pérez Barrero <[email protected]>
[Fix] `jsx-key`: avoid a crash on a non-array node.body

Fixes #3328

f7fe38f7ac8e3dfde4d0befe17b5c28ff5fed55a authored over 2 years ago by Jordan Harband <[email protected]>
[Tests] fix ecmaVersion logic

86f17d25d2a2b9bf9024cb5f6b67ad3bb8474911 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `jsx-key`: avoid a crash from optional chaining from #3320

Fixes #3327

4d19cd6377f92ad8f7a0493ff1b2b85ada0c579b authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `forbid-prop-types`: Ignore objects that are not of type React.PropTypes

6b330b883ded4da2f25cd3ebf445643ca9fb7e62 authored over 2 years ago by TildaDares <[email protected]>
[Fix] `display-name`: Accept forwardRef and Memo nesting in newer React versions

5769b53ac4bd4c9cd8e5b8c4afd3c8bd1700be16 authored over 2 years ago by TildaDares <[email protected]>
[Fix] `jsx-key`: catch key errors inside conditional statements

Fixes #3117

1948765c2670d68ae9e3f8826f7ff2ad1c25cb72 authored over 2 years ago by TildaDares <[email protected]>
[Docs] `jsx-no-target-blank`: Fix link to link-type-noreferrer

5cf46ca76d87c5df9d0365d7650be220b96a968b authored over 2 years ago by Lucas Mesquita <[email protected]>
[Fix] `jsx-no-literals`: properly error on children with noAttributeStrings: true

7a7bb99bef9e6c38620d6b5a6cbb80f3d3f0c7fc authored over 2 years ago by TildaDares <[email protected]>
[Dev Deps] update `@babel/core`, `@babel/plugin-syntax-decorators`, `@babel/plugin-syntax-do-expressions`, `@babel/plugin-syntax-function-bind`, `@babel/preset-react`, `@types/estree`

aac7fb9bc48427539839280ea522ccbe50458ac1 authored over 2 years ago by Jordan Harband <[email protected]>
[Docs] `jsx-boolean-value`: add jsdoc types for helper functions

b7144070d9054b9890e4ffc434ff33d8225487f6 authored over 2 years ago by caroline223 <[email protected]>
[Refactor] `boolean-prop-naming`, `jsx-indent`: avoid assigning to arguments

5919660215f830780f0ab02349971cd68280ead9 authored over 2 years ago by caroline223 <[email protected]>
[Refactor] `jsx-indent-props`: improved readability of the checkNodesIndent function

1d0bc97d0b8d568a99de521a9c33340acd9c079d authored over 2 years ago by caroline223 <[email protected]>
[Tests] `jsx-indent`, `jsx-one-expression-per-line`: add passing test cases

Closes #2318

151a6ed4e8f67dcc15d4b07dc8d3e20ceeb9aefe authored over 2 years ago by Ross Rosales <[email protected]>
[Dev Deps] update `eslint-remote-tester`

ed26b15a02ed94529c15b0ee8c63ca2ea06e2af0 authored over 2 years ago by Ari Perkkiö <[email protected]>
[Dev Deps] pin `@technote-space/doctoc` because v2.5 is a breaking change

See https://github.com/DavidWells/markdown-magic/issues/62 and https://github.com/technote-space...

296fd02a0c05015a5cb54edd806943d351c59d63 authored over 2 years ago by Jordan Harband <[email protected]>
Update CHANGELOG and bump version

33480237b1afc818083aeb992ca79027719d531e authored over 2 years ago by Jordan Harband <[email protected]>
[Dev Deps] update `@babel/core`, `@babel/eslint-parser`, `eslint-remote-tester-repositories`, `ls-engines`

a73570f0bf5b39b8709315aeafefa95008bd8323 authored over 2 years ago by Jordan Harband <[email protected]>
[New] `jsx-newline`: add `allowMultiline` option when prevent option is true

Fixes #3033

8887a19c24cf8556b6fc906e2f858d0b075f8f6e authored over 2 years ago by TildaDares <[email protected]>
[Fix] `display-name`: fix false positive when using memo

b9aa04b10d9bb0b7274ad314ca125ddefd9fbdb3 authored over 2 years ago by Chiawen Chen <[email protected]>
[Fix] `jsx-no-leaked-render`: avoid unnecessary negation operators and ternary branches deletion

Closes #3297. Relates to #3292.

e7fc22f0a46bdea8eabde6bee6cb23115029533e authored over 2 years ago by Mario Beltrán Alarcón <[email protected]>
[Docs] `jsx-tag-spacing`: rename option from #3264

Fixes #3294.

527db862599befd6f4fba17f5bd71e9ea998de60 authored over 2 years ago by Jordan Harband <[email protected]>
[Docs] `jsx-key`: split the examples

I didn't understand these were three different examples.

c42b624d0fb9ad647583a775ab9751091eec066f authored over 2 years ago by Roberto Polli <[email protected]>
[Fix] `display-name`: fix false positive for HOF returning only nulls

Fixes #3289.

fc9664fca84291764a4a66820c7e3e91ec9fe8c1 authored over 2 years ago by Chiawen Chen <[email protected]>
Update CHANGELOG and bump version

91d375744846d7ffc35f15b2485d6dd83ba684e5 authored over 2 years ago by Jordan Harband <[email protected]>
[Fix] `button-has-type`: fix exception for `<button type>`

9356230e747a8694901a449a3921c90aea79578d authored over 2 years ago by meowtec <[email protected]>
[meta] use `npmignore --auto` instead of `files` to limit published files

ea3b2a374d67e98ac0e14d99e6f4bfd2c070c915 authored over 2 years ago by Jordan Harband <[email protected]>