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
0fcf32170025e8ea08b7018e694f11008a2027be authored about 8 years ago
bad47d6a005a5738f25eecc0ab55e1d8181cd0e6 authored about 8 years ago
13806f1bc99817c06223a2b799bdc1125d208290 authored about 8 years ago
With the `allowGlobals` enabled, the global scope will be ignored when
checking for defined comp...
9b884740b1ca3ba06ebfe29389f6cf52e0231a66 authored about 8 years ago
Due to the previous change of checking for `createElement` being called on
React, this left out ...
Fixes #996. This will prevent document.createElement triggering a
false positive for react/displ...
66e1e5be1bd841e72c88f45d02627723b9b6c07a authored about 8 years ago
the examples of 'after-props' and 'props-aligned' is wrong, so it should change position them
8b67d4334f4188f73f306a4bc9b01a1789a30340 authored about 8 years ago[Fix] Don’t rely on `Array#find` existing pre node 4
682ae684b0dc2fc94b7558522b3863c4952476f6 authored about 8 years agoFixes #999.
3c035c90a5798e4400b733131f64e53ba447153b authored about 8 years agoadd missing "react" namespace to "react/forbid-prop-types"
466ab7f1da92ef4bcf630b9741f6ef6099c30924 authored about 8 years agoa8b27266a61d0b4c3509a290a9c89cb39242998a authored about 8 years ago
Add regression tests for #991
5372be3cb7548f0dd5ef82d79b9091ab12c8398e authored about 8 years ago6c3c24589937b3146b78d33ffff1155f80c2fe42 authored about 8 years ago
5948d59ba634eb8a73223a1731172c28338fb0ea authored about 8 years ago
85cfaea4dae13d73231b72993b7d2f7974bc33fc authored about 8 years ago
a3493cccbe8a34787a02611cf4a8693dc57f2024 authored about 8 years ago
c107636702e042ff57d43852b374e7a3eb5f0546 authored about 8 years ago
754022c6db339d636c792ae7082c54f912d9ed89 authored about 8 years ago
d14ffb4fa257aa32966625dd376d8d78bf9e16f4 authored about 8 years ago
e1abec90de68df08b0560b08b741bae23c48ff22 authored about 8 years ago
f89acbd82c879aaeeb14eea4faaa656b5a568cfc authored about 8 years ago
8a9f3c1fd5f396ae264d64e951dc2613958c6274 authored about 8 years ago
Add no-array-index-key rule
fe32c7d592cb9317d60ce2aa28c85106e2674638 authored about 8 years agoFix `plugin` typo in configs
333938f84a304be5d5b6795e48719b608c47588f authored about 8 years agoESLint looks for the `plugins` config property. Currently, if you extend `plugin:react/recommend...
004412c8aa0fb6094f44d9f281e0aa27a0b2889c authored about 8 years agoI missed examples of this in my first pass at this documentation.
cff595e3e76c6d2782b14197c5e9f4a8c8d77a13 authored about 8 years ago
As @ljharb pointed out, this rule should spot array indexes when using
reduce. Since the index i...
Although some of these cover pretty unusual use-cases, they are easy
enough to support and are u...
This makes the intention of this rule clearer.
4ef2810b82135d8596b7fbda775e4f44f91fe5cf authored about 8 years ago
This helps to cover more possible use-cases that we want to prevent with
this rule.
This rule will warn when using the array index as the `key`. As a first
pass, I decided to imple...
Indicate that jsx-indent is fixable (README)
52b8e67113cb8dc4840cc35d3f87d4923eb38c1a authored about 8 years agoThe rule's docs specify that this rule is fixable, but the readme did not.
bf905937cca3ea3284bee720d5b7a5a7e3707256 authored about 8 years ago
Closes #541
Closes #786
4ae2fae64c0ea1ec8801e3a1818cb02740125aca authored about 8 years ago
8df49431a66cea059b8f332ce366b07edeb1ef8a authored about 8 years ago
55675c058cf5cc301c485607ec91fa1e0a9b34bc authored about 8 years ago
eb4a47a7c17bdb48a598ad2015791ba0b4a83c56 authored about 8 years ago
Fix minor typos
0a40c27b1a94fe20477b136a34cb37a6c8163314 authored about 8 years agoadce1264983faef05823135bce2776d6510ef53f authored about 8 years ago
d241bb58e8fdc29dda8b71cadd5e107c7dafe710 authored about 8 years ago
52de66531920e6ff812f4ca946c9a02f1a2dccab authored about 8 years ago
51ad71424b982ebb6db71cdf0d6cd037f2bcdab2 authored about 8 years ago
3582d5f719354b15d327e053a86513abdd4527ae authored about 8 years ago
`jsx-tag-spacing`: Fix typo
e67f3c52f2048b198f4fcddb373653549590a51c authored about 8 years ago7ace3d55ce32b84d506df3b0e1c2ebabf22bfc8a authored about 8 years ago
8de18d579a7a844cbb6f2a8ffabcd3c8fe2f5fc7 authored about 8 years ago
af323d55cde75d536a96a99688808626613dec09 authored about 8 years ago
c537015e328bbe012915867bf93fd50c1f2ff352 authored about 8 years ago
6da5807218b97b4924c938d5bb0ce8356b98dfa8 authored about 8 years ago
See #955.
0f79aa30d22a8c7a861c915b6f185059b41147cb authored about 8 years agode9a357c57768020b855883797a8db66b817770b authored about 8 years ago
5952dbf2d17cc02f885f657f8cb9d00aa53869f1 authored about 8 years ago
17acf242fa32973e67062212a2dd3f8c06611d1f authored about 8 years ago
874a3e329f4410f6fa6f0a71d8dccc02ea453647 authored about 8 years ago
fe5594bd5264e939924552e6403a4e171793f40f authored about 8 years ago
skipShapeProps should be enabled by default until it works properly
1df61185f289daec908f5f21b96e13b01d7a7e9a authored about 8 years ago99216742bc4acb28eaee318c403310cb67d0b47c authored about 8 years ago
231acd9cff67248509c243a24261189851c0e7af authored about 8 years ago
40882e57cb9f0a709788e6ef85b8c8bc9d59033f authored about 8 years ago
2fb1d37700092e117b292325bb1958fb30103877 authored about 8 years ago
e60921c89febbbc093095b0546f91195149b830d authored about 8 years ago
Update relevant tests;
2cd6e916a669d3601868a1122f0ae3d61ff473a4 authored about 8 years agofd51133953002d4a79e985aa89b550ee479ea164 authored about 8 years ago
[new] Add jsx-tag-spacing rule (Fixes #693)
56846a64b7c452d957e8bb85602f177a889a563c authored about 8 years ago128923955519705258cca38b6d7ecedf90af4ea5 authored about 8 years ago
0828b8c8ce5971a135d86d3b731d02a442d110a6 authored about 8 years ago
3b5063f108fb80bb35005f1e65cc03925c62022a authored about 8 years ago
97aad446342a12118248023e3f9b6106c3522884 authored about 8 years ago
dfbe2c12534962a034b8683598fea28143e15c6d authored about 8 years ago
cad882b6f9dbb13987785a9f51229b721cce4ea6 authored about 8 years ago
85156671145e6b17f0a52fece2b81feb38ae10a3 authored about 8 years ago
d88ee379079cee18e3bc718dddc7dfc1c91bee1c authored about 8 years ago
dc7767b31a82fbf3fedbc1249e4f9f0ea1993cee authored about 8 years ago
[new] jsx-first-prop-new-line: autofix
02200229a3f5be57a2b2d2176cf3270099fe6585 authored about 8 years agoFix display-name comment typo
16fe5014491e8535f06593c01f93fae919efc2c3 authored about 8 years agoaa61d481409610a710e0e2b79d1a51c8e25a6bac authored about 8 years ago
fix referenced from GovTechSG's fork
a37687ec1b983a86ab65be07d651f39bb63818e5 authored about 8 years agoTest should ignore indent for now
52651261edbb584d7372120daa3cfdcc42e0df7e authored about 8 years ago0aeb95c03581859dc4373d480cc282bdbe53eb67 authored about 8 years ago
s/utilise/utilize & simple warning
4e83bea87c5598783a1f4a741af8fef121ebd81a authored about 8 years ago
- Adjust old cases to use default 2 indents
- Add new case to use optional rule for 4 indents
2507f37b15602f07f5543b34092bf6bb4e4915e8 authored about 8 years ago
Add fixable for readme and update docs to reflect additional argument
a7764f70ff65df3750431ab1a8349aa34f228caf authored about 8 years agoUtilised getNodeIndent helper from jsx-indent-props as base-code
9182124a65a58f3408d8b5ff709f0ac3fa1259a7 authored about 8 years agocut out unused vars based on feedback
f15b117d8752aa856bfbbed83456c975441f27eb authored about 8 years ago9834e7a5e9a73bdb616087bd09c6f70ec7f77b28 authored about 8 years ago
Revert back to 3 cases as per parent repo
5e144a11aa2eb2171232a6fb176ff2e11d66f038 authored about 8 years agob292fbf5fc0f42671bc70e525aa6f8488fbdf3d4 authored about 8 years ago
6ff264f754b05c977e94db41e69714082232f6cd authored about 8 years ago
37ded33d0095d0482510f4e4425b639ac4ebfec6 authored about 8 years ago
8b4b0aa1daa32f7a297ab7f6ccb1e6b2a82f6ca7 authored about 8 years ago
56f177737784a4c112f3762ddd0c880d5589b68f authored about 8 years ago
7d4ad885a1134bef165b96e52bc75a9377868490 authored about 8 years ago
7f81819654db51f4b123d8a99fc146ab90ef6a17 authored about 8 years ago
13824c6e0d1428314e56489808dcc266570e00f1 authored about 8 years ago
6620a0a9b4cc025c4d3f03bd02684069f47b9b1d authored about 8 years ago
16a3b2256bfa926be63a3d3aff61706f2e191966 authored about 8 years ago