-
Notifications
You must be signed in to change notification settings - Fork 26.7k
Comparing changes
Open a pull request
base repository: airbnb/javascript
base: eslint-config-airbnb-base-v13.1.0
head repository: airbnb/javascript
compare: eslint-config-airbnb-base-v13.2.0
Commits on Jan 19, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 02b4eea - Browse repository at this point
Copy the full SHA 02b4eeaView commit details
Commits on Aug 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 152b914 - Browse repository at this point
Copy the full SHA 152b914View commit details -
[eslint config] [patch] re-enabling
jsx-one-expression-per-line
all……owing single children, ignore DOM components on `jsx-no-bind`; re-enable `restructuring-assignment` Reverts b6a268f
Configuration menu - View commit details
-
Copy full SHA for 9a52676 - Browse repository at this point
Copy the full SHA 9a52676View commit details -
Configuration menu - View commit details
-
Copy full SHA for 685f37b - Browse repository at this point
Copy the full SHA 685f37bView commit details
Commits on Aug 26, 2018
-
Configuration menu - View commit details
-
Copy full SHA for fcfd378 - Browse repository at this point
Copy the full SHA fcfd378View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffe4fe9 - Browse repository at this point
Copy the full SHA ffe4fe9View commit details
Commits on Aug 27, 2018
-
Configuration menu - View commit details
-
Copy full SHA for ced1cb3 - Browse repository at this point
Copy the full SHA ced1cb3View commit details -
Merge pull request #1898 from kevinweber/react/props--unnecessary-props
List bad example first to be consistent
Configuration menu - View commit details
-
Copy full SHA for d774b89 - Browse repository at this point
Copy the full SHA d774b89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5443d03 - Browse repository at this point
Copy the full SHA 5443d03View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48448a8 - Browse repository at this point
Copy the full SHA 48448a8View commit details
Commits on Aug 31, 2018
-
Add Pier1 to the organization list
Robert Alvarez committedAug 31, 2018 Configuration menu - View commit details
-
Copy full SHA for b8b2a0b - Browse repository at this point
Copy the full SHA b8b2a0bView commit details
Commits on Sep 1, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 17e0454 - Browse repository at this point
Copy the full SHA 17e0454View commit details
Commits on Sep 2, 2018
-
Fixed typos and grammar
Configuration menu - View commit details
-
Copy full SHA for e7ffd44 - Browse repository at this point
Copy the full SHA e7ffd44View commit details
Commits on Sep 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 32a7bf4 - Browse repository at this point
Copy the full SHA 32a7bf4View commit details
Commits on Sep 14, 2018
-
Examples more consistent with the guidline
comparison operator <= shows better the confusion when using arrow function, than just operator <
Configuration menu - View commit details
-
Copy full SHA for 69e3437 - Browse repository at this point
Copy the full SHA 69e3437View commit details
Commits on Oct 2, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9af5ee8 - Browse repository at this point
Copy the full SHA 9af5ee8View commit details
Commits on Oct 3, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 924dfb2 - Browse repository at this point
Copy the full SHA 924dfb2View commit details
Commits on Oct 4, 2018
-
[doc] add eslint rule references in react guide
* react/jsx-filename-extension * react/no-array-index-key
Configuration menu - View commit details
-
Copy full SHA for 24da5bb - Browse repository at this point
Copy the full SHA 24da5bbView commit details
Commits on Oct 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 03a0734 - Browse repository at this point
Copy the full SHA 03a0734View commit details
Commits on Oct 30, 2018
-
[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
Configuration menu - View commit details
-
Copy full SHA for 41a13e8 - Browse repository at this point
Copy the full SHA 41a13e8View commit details
Commits on Nov 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 74deb81 - Browse repository at this point
Copy the full SHA 74deb81View commit details
Commits on Nov 20, 2018
-
[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
Configuration menu - View commit details
-
Copy full SHA for 21b65e9 - Browse repository at this point
Copy the full SHA 21b65e9View commit details
Commits on Nov 21, 2018
-
[17.2] Added second anchor #1960
See requested changes here: #1960 (review)
Configuration menu - View commit details
-
Copy full SHA for 0d6d854 - Browse repository at this point
Copy the full SHA 0d6d854View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ece1f5 - Browse repository at this point
Copy the full SHA 6ece1f5View commit details
Commits on Nov 27, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 064e3bf - Browse repository at this point
Copy the full SHA 064e3bfView commit details
Commits on Dec 18, 2018
-
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.
Configuration menu - View commit details
-
Copy full SHA for 5d25a2e - Browse repository at this point
Copy the full SHA 5d25a2eView commit details
Commits on Dec 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 80920a0 - Browse repository at this point
Copy the full SHA 80920a0View commit details
Commits on Dec 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 218c4fe - Browse repository at this point
Copy the full SHA 218c4feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 387755e - Browse repository at this point
Copy the full SHA 387755eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 070e620 - Browse repository at this point
Copy the full SHA 070e620View commit details
Commits on Jan 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 95286eb - Browse repository at this point
Copy the full SHA 95286ebView commit details
Commits on Jan 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 955f4e9 - Browse repository at this point
Copy the full SHA 955f4e9View commit details
Commits on Jan 21, 2019
-
[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.
Configuration menu - View commit details
-
Copy full SHA for b6c56cb - Browse repository at this point
Copy the full SHA b6c56cbView commit details
Commits on Jan 26, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 1439ebe - Browse repository at this point
Copy the full SHA 1439ebeView commit details -
[eslint config] [patch] extend
no-underscore-dangle
to allow for re……dux dev tools in the main config instead
Configuration menu - View commit details
-
Copy full SHA for 25f11fb - Browse repository at this point
Copy the full SHA 25f11fbView commit details
Commits on Jan 27, 2019
-
[eslint config] [*] [deps] update
object.entries
, `eslint-plugin-im……port`, `eslint-plugin-jsx-a11y`, `eslint-plugin-react`
Configuration menu - View commit details
-
Copy full SHA for d8256fc - Browse repository at this point
Copy the full SHA d8256fcView commit details
Commits on Jan 28, 2019
-
Merge pull request #1996 from remcohaszing/redux-devtools-extension-c…
…ompose [eslint config] [base] [patch] Allow use of `__REDUX_DEVTOOLS_EXTENSION_COMPOSE__`
Configuration menu - View commit details
-
Copy full SHA for d78af39 - Browse repository at this point
Copy the full SHA d78af39View commit details
Commits on Jan 30, 2019
-
[eslint config] [base] [patch]
no-extraneous-dependencies
: Add jest…….setup.js to devDeps
Configuration menu - View commit details
-
Copy full SHA for 96f95fa - Browse repository at this point
Copy the full SHA 96f95faView commit details
Commits on Feb 5, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ebe9682 - Browse repository at this point
Copy the full SHA ebe9682View commit details
Commits on Feb 6, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6ef45d4 - Browse repository at this point
Copy the full SHA 6ef45d4View commit details
Commits on Feb 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4f15da6 - Browse repository at this point
Copy the full SHA 4f15da6View commit details
Commits on Feb 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 495a62a - Browse repository at this point
Copy the full SHA 495a62aView commit details
Commits on Feb 14, 2019
-
[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).
Configuration menu - View commit details
-
Copy full SHA for 8694a87 - Browse repository at this point
Copy the full SHA 8694a87View commit details
Commits on Feb 17, 2019
-
[eslint config] [*] [deps] update
eslint-plugin-import
, `eslint-plu……gin-jsx-a11y`, `tape`
Configuration menu - View commit details
-
Copy full SHA for 834d717 - Browse repository at this point
Copy the full SHA 834d717View commit details -
Configuration menu - View commit details
-
Copy full SHA for a71c2d1 - Browse repository at this point
Copy the full SHA a71c2d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for da0cf08 - Browse repository at this point
Copy the full SHA da0cf08View commit details
Commits on Feb 24, 2019
-
Configuration menu - View commit details
-
Copy full SHA for be07f7a - Browse repository at this point
Copy the full SHA be07f7aView commit details
Commits on Feb 27, 2019
-
[guide] Add a 19.9 bullet in a Whitespace section
- with explanations about preventing two blank lines from appearing consecutively in JavaScript code
Configuration menu - View commit details
-
Copy full SHA for 60b96d3 - Browse repository at this point
Copy the full SHA 60b96d3View commit details
Commits on Mar 4, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b85baea - Browse repository at this point
Copy the full SHA b85baeaView commit details
Commits on Apr 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4474666 - Browse repository at this point
Copy the full SHA 4474666View commit details
There are no files selected for viewing