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
6b5dbe08b9b9bc4ab1c7b8490dacb46f616e9cf9 authored almost 8 years ago
f651b8f84c320ddfcb498a97f11765735aa65c9c authored almost 8 years ago
66e2a45fb4188691baacba785e726e5573cc2532 authored almost 8 years ago
24963137a5d87c2b309b8275c2cbaa14d301f0f8 authored almost 8 years ago
a05a72d0d19f0e40c1bd07ac6febfb86dfc80fcc authored almost 8 years ago
Add new deprecations from 15.5.0
eae04d4da9c7f97d8547536af0784c5c82212bd1 authored almost 8 years ago0d7019b48f1d42bb34065c5a321ec66acbc264ca authored almost 8 years ago
3da1140c269e4c8b42931b599b4e034c000defcb authored almost 8 years ago
Remove trailing spaces.
0fac8d95404e53f8cf437b6c3a9943f727839dac authored almost 8 years agoa2b61ed363ea69ceb04e9eef459321f4a1b2bf9d authored almost 8 years ago
prefer-stateless-function w/ decorators
fd90daea3094296bc2e4dd25b816435398355992 authored almost 8 years agoLink fix: ReactDOM docs were broken out
82648f3dcd2360b9193e81fa8bbcaa4a7ed62491 authored almost 8 years ago
This fixes a link regarding ReactDOM.render. Previously these docs
were part of the Top Level AP...
Prepend "react/" to rule options documentation code
24ea6f3b59864ec358718bc95970c6157f1befc5 authored almost 8 years ago5f893e5fe8ba64aff1a29e5b45055d08be29b66e authored almost 8 years ago
269bffd98e5a3812086849cd09bf932a39696148 authored almost 8 years ago
fa44bb251214b65e1fef3087bcccd4786b612afa authored almost 8 years ago
1818e01c909eadbd9823af090722b0a759c03806 authored almost 8 years ago
[New] Add no-will-update-set-state rule
0ae6bb2b0f6d83bf75921cf173afc9201bda2a24 authored almost 8 years ago4405523fe1b8cfe51cb67e41f5587852562f0588 authored almost 8 years ago
58519aef5cce8d1c96af3d795dca59d661de0ae3 authored almost 8 years ago
877e6dce413ea9c54fa3cec96a791bb14a2b7f48 authored almost 8 years ago
This adds a new option, `reservedFirst`, to the `jsx-sort-props`
rule. This option can be enable...
{Doc} fix indentation in no-unused-prop-types example
7111a704435e073f9e33e00e5b82ba4812af7803 authored almost 8 years agoFix nextProps false positive in no-unused-prop-types
9a5303d57cd47e295a0df20411375de0bb36606e authored almost 8 years ago[docs] Comma-fix and clarity
bfdd722e7275dddc036870e7db272a2157f2fef7 authored almost 8 years agoAttempting to improve clarity and grammar slightly, while inserting a needed comma in the second...
69ffe999dd7a2868b47c8b5e8025993d7b136263 authored almost 8 years agof35c03c7a830f67213cdcb63c6f25e257cc51f2d authored almost 8 years ago
https://github.com/yannickcr/eslint-plugin-react/issues/1123
08f451f936ece3c3858e0c6ecb0e7e3b74bb16e6 authored almost 8 years ago4e8e86a9c94f17f0b4ff76d1726284a919f61395 authored almost 8 years ago
[docs] Improve title in void-dom-elements-no-children.md
9bb68c19d72b06ee3a9c5a4c2736a9b7765796c3 authored almost 8 years agoUpdate doctrine to 2.0.0
3d64b67db49a4a847bd7998d56f3d183d6226f61 authored almost 8 years agoAdd the name of the rule in parentheses at the end of Markdown title like in other documentation...
a48546634dad815f5eef583f34b7c851da0beda5 authored almost 8 years ago43165311aae491c88d7b2593e5a91d33a23339cc authored almost 8 years ago
b9cfdd6fccedd8c3ad1d2db334574bba38a1aaf8 authored almost 8 years ago
This reverts commit 6e5f688065aa218d71742dc4b31929c16ab1078d.
Conflicts:
lib/rules/jsx-indent....
5b751620ed93e1726b7728e4c7b5794ef3979a24 authored almost 8 years ago
41bdb5826f8af69af0a6b5c89693056efab3f3e6 authored almost 8 years ago
ab03af8cd6493f56517fd9bd5576c6b4df6be54c authored almost 8 years ago
557322a0e5323879bf152e60b5ecec398c8c5f6d authored almost 8 years ago
37e71bbedd62326ed0b55631f49fc2ceee6e1a37 authored almost 8 years ago
There was an inconsistency with access and storage of the usedPropTypes
of a component that woul...
Bug fix for false positives with no-multi-comp
b64648521f9a7949eef4cd1a210768e906b4f3d1 authored almost 8 years ago
Previously, when createElement was destructured from React, it would
cause any function defined ...
Currently prefer-stateless-function warns when using a decorated class
over a stateless function...
f87646f9ca8e041eb8b916de32094f2f2a047522 authored almost 8 years ago
Merge pull request #1080 from jomasti/issue-1073
814883366a28d12726df7f06b51ba68bf67c3b36 authored almost 8 years agoFix jsx-indent single line jsx
c45ab86bbb0437828b6896372b1199299e6d8814 authored almost 8 years agoFixes #1076. Also adds test.
ab1631d9649e7e26f81678de75f774e03821a69b authored almost 8 years agoAlso adds test
7863a5c9f1ee79d1f6f287473534b0063aaee1a4 authored almost 8 years ago
This ensures that the rule only checks for a `createElement` call from
React. It will also preve...
Fix error caused by templates in ConditionalExpressions (jsx-indent)
22f36386591859a0a64034d6820006673a8a9b2f authored almost 8 years ago
Template strings are constructed differently from other tokens in
espree. Other tokens are creat...
[Fix] jsx-indent with tabs
a4b6a85c0b64564834ec10c3bad6af3268b6be7e authored almost 8 years ago83d4c4b546eaf88be612e5c8293d6777ed1e1cc0 authored almost 8 years ago
6e5f688065aa218d71742dc4b31929c16ab1078d authored almost 8 years ago
Add forbid-elements rule
ee144d6299932baebdc3272c9dd3fb3ba8993797 authored almost 8 years agodetect used props in jsx
3e2421e04339a90cfa71ff14c29c93cc77a0342a authored almost 8 years agoJsx max props per line updates
3b25a3b24d3c75f797c030b7c0326a4374b98a05 authored almost 8 years agoAdd forbid-foreign-prop-types rule
54abb8be3b934801354a6d4426cf18c39971186f authored almost 8 years ago
People may want to use babel-plugin-transform-react-remove-prop-types
to remove propTypes from t...
050508681a0a46d1e147e828c3debd04b9e81ef6 authored almost 8 years ago
Fix no-array-index-key typo
c5862733264aa304fbee8241ce1d6dbafc96e69e authored almost 8 years ago8e207b8c9db03a526715077beeb80e0a3ff2f3e4 authored almost 8 years ago
May specify a list of forbidden elements and a custom reporting message
d884a9878912856fc86788224c77a01ed47f77e2 authored about 8 years agoAdd void-dom-elements-no-children rule
c97dd0f77d6f958b986140ea526d1b4816f82a61 authored about 8 years agoTo be consistent with the "Rule Options" section and other docs
a84d5f51256351993d33b37472044bdc2143e375 authored about 8 years agofixes #885
d5c3e91e5d3f2e679832ae3b36e850abbfb58188 authored about 8 years ago9af8d255abde0df671d12ed315df1ce540b22c8a authored about 8 years ago
In this patch we now consider props to be on the same "line" if the line
of where one prop ends ...
If `when` is set to `multiline`, then this rule skips checking entirely
if the jsx opening tag i...
Make sure it works when a prop is on the same line as the start line of
the tag, as well as with...
Test for require-default-props rule filter of undefined exception
30e0206403e73fabd59b2ef6c5aa784d1cc8a857 authored about 8 years ago70cb06d0e55d125bd8c9b6bea67285a74c3e4b54 authored about 8 years ago
There are some HTML elements that are only self-closing (e.g. `img`,
`br`, `hr`). These are coll...
I didn't notice there were comments here.
e6fdd02862e49084e1ebadae0bac752476270be2 authored about 8 years agoImprove syntax highlighting of code snippets
3c518e7ab5f9e774af8c92285da8fc1b56c0246d authored about 8 years agoccfff5a7674980f9295f405c55cf9a9fb2ef886c authored about 8 years ago
Using the jsx tag on the fenced code blocks will instruct GitHub to use
JSX syntax highlighting,...
e332b08694de6271674bdf2182f03b399306ba82 authored about 8 years ago
"jsx-indent" -> "react/jsx-indent"
7212479c6b1a73450a37898450ca0cf39e402910 authored about 8 years agojsx-sort-props noSortAlphabetically option
c62dccf74752ed7d01299cf54fb856c9c904dcb3 authored about 8 years agoCheck for createElement being called from React
4df3bab0dd023a36755b57b86cf86e33e1b65c5b authored about 8 years agoMinor documentation updates for no-unused-prop-types rule for issue 976
3949b50682677119b98bdc0bc511e0062daf9723 authored about 8 years agoFix `require-default-props` rule when using Flow type from assignment
1bbbbba94f7d955c3790f77e6257ac9092dd8fb0 authored about 8 years ago9a4eeba446d937342805079930e07fdde43978c8 authored about 8 years ago
5827897bfbcf533a286b077622db853f57f36d90 authored about 8 years ago
Also, require template literals instead of concatenation, and auto fix.
a23611e09dac5fdf137bd40f109482277cb0fa29 authored about 8 years ago7708adb29603f365dd2bdabc0bd5d56c1b0e3073 authored about 8 years ago
a4f4b60a599a8d4a0abb85cfee9b56e8789c7f7c authored about 8 years ago
917bc8733c6ce629f18f3ae0851f5d6bcdb4ef99 authored about 8 years ago
Per https://github.com/yannickcr/eslint-plugin-react/issues/812#issuecomment-273695512
8121f58823bdf9c95591357ebd6547983cc456a0 authored about 8 years agoAdded --save-dev to npm install commands in readme
fcacb51579154e4acb3da416b805fad4bd1a4b94 authored about 8 years agoa151815152a8130bba5c493b871a6124b235a78d authored about 8 years ago
show context in pure component for clarity
5efd3925548e13afe6d0a9f2af09af097dd231b8 authored about 8 years agoFix no-array-index-key rule exception
70d48a8ec85f50f4f709778c954003bfa9e2e5ff authored about 8 years ago941a67d90583b523ba4508e67cf4ee79ac818924 authored about 8 years ago
30af256d432a1f8b7bddfcc5b4a75d3a4662e553 authored about 8 years ago
0e8a1be4c15e444339c4111476a3112f4205d873 authored about 8 years ago
a33db3be709b6177355f960003f72eef3368f372 authored about 8 years ago