Branch: master
-
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits -
[eslint config] add disabled `jsx-fragments` rule
ljharb committedFeb 17, 2019 Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits -
[eslint config] [*] [deps] update `eslint-plugin-import`, `eslint-plu…
ljharb committedFeb 17, 2019 …gin-jsx-a11y`, `tape`
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
[eslint config] [react] [patch] Turn off `react/no-multi-comp`
Splitting up a component into multiple components can be useful for many reasons, including making important performance optimizations. This lint rule discourages splitting up components because it forces you to: create a new file, copy over all the relevant imports, move over any local functions/values (or move them into yet another shared module), export the component (which makes your split off component now a public export), and re-import it into the new module. Having multiple components per file shouldn't be much different from having multiple functions per file. And you shouldn't be forced to make a component a public export if it's really just an internal implementation detail of another component. There's an argument to be made about _exporting_ multiple components, but mostly just in the context of React.lazy because it can only import default exports and you don't want something else in that file being statically imported (because that will prevent it from being code-split).
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
[eslint config] [base] [patch] `no-extraneous-dependencies`: Add jest…
….setup.js to devDeps
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Merge pull request #1996 from remcohaszing/redux-devtools-extension-c…
…ompose [eslint config] [base] [patch] Allow use of `__REDUX_DEVTOOLS_EXTENSION_COMPOSE__`
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
[eslint config] [*] [deps] update `object.entries`, `eslint-plugin-im…
…port`, `eslint-plugin-jsx-a11y`, `eslint-plugin-react`
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
[eslint config] [patch] extend `no-underscore-dangle` to allow for re…
…dux dev tools in the main config instead
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits -
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
[eslint config] [base] [patch] Allow use of `__REDUX_DEVTOOLS_EXTENSI…
…ON_COMPOSE__` This style guide disallows the use of underscores in properties. However, the Redux browser extension requires the use of a variable named `__REDUX_DEVTOOLS_EXTENSION_COMPOSE__`. Since Redux is so popular with React, it makes sense to allow this.
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits -
[meta] add disabled `no-useless-catch` config
ljharb committedDec 28, 2018 Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits -
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
capitalize means first letter uppercase, the rest lowercase
The examples and the reasoning indicates the author of the rule meant uppercase instead of capitalization. According to Wikipedia, capitalization is "writing a word with its first letter as a capital letter (uppercase letter) and the remaining letters in lower case", while the rule apparently tries to prevent exactly that.
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
because why not
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits -
[17.2] Added second anchor #1960
See requested changes here: #1960 (review)
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
[eslint config] [base] [deps] Switch to confusing-browser-globals
The `eslint-restricted-globals` package author created an equivalent package `confusing-browser-globals` that now resides within the create-react-app monorepo. In sidoshi/eslint-restricted-globals#2 @sidoshi suggested that we change eslint-config-airbnb-base to depend on the CRA package instead, in an effort to consolidate the two. Currently the two global lists are identical, so this does not change the generated eslint config: https://unpkg.com/eslint-restricted-globals@0.2.0/index.js https://unpkg.com/confusing-browser-globals@1.0.5/index.js
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
[19.16] changed Enforce to avoid
Good practice is to avoid spaces between functions and their invocations. But by mistake (I think so) you used the word Enforce instead of Avoid
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
[doc] add eslint rule references in react guide
* react/jsx-filename-extension * react/no-array-index-key
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
Verified
This commit was created on GitHub.com and signed with a verified signature using GitHub’s key.GPG key ID: 4AEE18F83AFDEB23 Learn about signing commits
-
Examples more consistent with the guidline
comparison operator <= shows better the confusion when using arrow function, than just operator <
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits
-
Verified
This commit was signed with a verified signature.ljharb Jordan Harband
GPG key ID: 64A196AEE0916D55 Learn about signing commits