Skip to content

Updating to recent style guide version from upstream airbnb repo #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 318 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
318 commits
Select commit Hold shift + click to select a range
8148bfc
[eslint config] [base] [patch] Do not prefer destructuring for object…
frenzzy Oct 10, 2017
3c6d40c
[docs] Clarify reasoning for named function expressions
jabacchetta Oct 20, 2017
94c4773
[eslint config] [*] [deps] update `eslint-plugin-import`
ljharb Oct 20, 2017
232b719
To Clarify the func-style description
liuchong Oct 21, 2017
97a6883
Fix markdown style breaking
liuchong Oct 22, 2017
8161f32
[eslint config] [base] [breaking] `no-mixed-operators`: only warn on …
sharmilajesupaul Oct 20, 2017
dbd6934
[guide] Fix a numeration typo in README.md
vsemozhetbyt Oct 23, 2017
bd3ba6e
Add symbol as a primitive type
Oct 23, 2017
ecf8e07
Remove unnecessary variables
leonidlebedev Oct 24, 2017
8a477f9
Merge pull request #1616 from leonidlebedev/patch-1
ljharb Oct 24, 2017
2676cbf
[eslint config] [base] [breaking] Enables `nonblock-statement-body-po…
sharmilajesupaul Oct 25, 2017
999fe3b
Change className to variant in examples
lasota-piotr Oct 25, 2017
9d3e7e0
Add component with className as anti-pattern example
lasota-piotr Oct 25, 2017
327795b
[doc] add eslint rule reference for `no-new-wrappers`
1pete Oct 25, 2017
dbdf8ea
[doc] add eslint rule reference for `no-multi-assign`
1pete Oct 25, 2017
9edcdde
Merge pull request #1620 from lasota-piotr/classname-props
ljharb Oct 25, 2017
c40d0d1
[guide] Fix a link, add an anchor
vsemozhetbyt Oct 28, 2017
2d4343a
[guide] remove/update outdated links.
ljharb Oct 28, 2017
7ff6303
[guide] Use HTTPS for links to ESLint documentation
edmorley Oct 30, 2017
1948c30
[Tests] on `node` `v9`; use `nvm install-latest-npm` so new npm doesn…
ljharb Nov 1, 2017
5682155
Adds section about spreading props
maggielove Oct 29, 2017
44dbd0b
[eslint config] [patch] disable `no-did-mount-set-state`, since it’s …
ljharb Nov 4, 2017
8cf2c70
[guide] Add explanation for semicolon enforcement rule
thepeoplesbourgeois Oct 4, 2017
1d9d25d
Add .mjs to the list of supported extensions
olistic Nov 5, 2017
eb50272
Forbid .mjs extension from being specified
olistic Nov 5, 2017
2087a42
[eslint config] [base] [deps] update `eslint`
ljharb Nov 30, 2017
b709023
[eslint config] [base] [breaking] enable `implicit-arrow-linebreak`
ljharb Nov 30, 2017
4817a6b
[eslint config] [patch] Add 'to' as a specialLink to the 'anchor-is-v…
kripod Nov 28, 2017
255b0f3
Fix third example in Enclosed operators section
Dec 14, 2017
8a12ffe
[guide] Fix spelling error in link
tbroadley Dec 16, 2017
9061044
[eslint config] [*] [deps] update `eslint`, `eslint-plugin-jsx-a11y`
ljharb Dec 24, 2017
90235ca
[eslint config] [base] [patch] `array-callback-return`: enable `allow…
1pete Dec 24, 2017
fc34709
Docs: HTTP -> HTTPS
him2him2 Dec 24, 2017
1b6bcd0
[guide] more precisely refer to an "object literal" instead of just a…
ljharb Dec 25, 2017
0991476
[guide] Clarify that vars are hoisted to function scope, not block scope
ljharb Dec 25, 2017
f9fcb37
[guide] Add link to "has" package
ljharb Dec 25, 2017
cb9482c
[guide] Update license year
m1guelpf Dec 31, 2017
ea8fd76
[eslint config] [base] [breaking] Add .mjs extension support
ljharb Jan 3, 2018
69a3554
[eslint config] [base] [patch] properly ignore indentation on jsx
ljharb Jan 8, 2018
fe3a2de
[fixes: #1678] Improves wording of no-mixed-operators recommendation.
sharmilajesupaul Jan 8, 2018
35f3e76
Merge pull request #1691 from airbnb/update-mixed-operators-text
ljharb Jan 8, 2018
7b18d7c
[eslint config] [*] [deps] update `eslint`
ljharb Jan 8, 2018
be647a7
Merge pull request #1538 from lanceli/patch-1
ljharb Jan 10, 2018
17b6491
add Turkish translation
alioguzhan Sep 3, 2017
a08afd7
[eslint-config] [*] [docs] add `npx` shortcut
itaditya Jan 10, 2018
262b07b
fix example to meet standard listingId v listingID
BenFortner Jan 16, 2018
7b1ced2
[eslint config] [base] [deps] update `eslint`
ljharb Jan 21, 2018
7dab837
[eslint config] [deps] update `eslint`
ljharb Jan 21, 2018
c4dcfd9
[guide] fix indentation in section 4.7
kvker Jan 16, 2018
53b2d7d
[eslint config] [breaking] bump react pragma to v16; update `class-me…
Jan 22, 2018
1eefaed
[guide] [css] Fixed Italic subtitle in css-in-js README.md
AntonioErdeljac Jan 10, 2018
e9fff7a
[eslint config] [base] [breaking] Prevent line breaks before and afte…
sharmilajesupaul Jan 26, 2018
fc99aef
[guide] Use `acc` as `reduce` accumulator instead of `memo` to make i…
astorije Jan 26, 2018
9a3e635
Added GreenChef organization to README
SlothFriend Jan 28, 2018
aefff97
Update Korean translation link
parksb Jan 30, 2018
c5411a4
Suggest using WeakMaps when hidden properties are needed
not-an-aardvark Feb 4, 2018
16190d8
Note added for translation
AjayPoshak Feb 4, 2018
c8b1164
control-statement--value-selection 2
gilbox Feb 8, 2018
4c870cb
[guide] Fix function signature spacing
kevinji Feb 8, 2018
cfe10c1
fix linting error in guide
ljharb Feb 9, 2018
901fd85
Use single quotes for consistency
raunofreiberg Feb 19, 2018
ff1c121
[eslint config] [breaking] update `eslint-plugin-react` to `v7.6`; up…
ljharb Jan 27, 2018
3c3074e
[eslint config] [*] [deps] update `eslint`, `eslint-find-rules`, `esl…
ljharb Feb 20, 2018
a7a7cab
[guide] Add an anchor for rule 13.7
aifreedom Feb 21, 2018
ea14bda
Add licenses to sub packages
honzajavorek Feb 22, 2018
fd68fdb
[guide] [react] add comment about what JS standards are followed
raunofreiberg Feb 20, 2018
1fbeabd
[eslint config] [*] [breaking] [deps] update `eslint`, `eslint-plugin…
ljharb Feb 22, 2018
c82500d
[eslint config] [base] [breaking] enable `no-useless-path-segments`
Feb 22, 2018
6373dab
Adds config entry point with only whitespace rules enabled
sharmilajesupaul Feb 22, 2018
8e6363c
[eslint config] [*] [new] add `whitespace` entry point
ljharb Mar 1, 2018
40dbeac
[Tests] ensure all entry points parse
ljharb Mar 1, 2018
396166b
[eslint config] [*] [fix] ensure `whitespace` entry point is compatib…
1pete Mar 1, 2018
8247e33
[eslint config] [base] [patch] Set import/extensions to ignorePackages
remcohaszing Dec 4, 2017
a9fc9d8
[docs] [js] add function-paren-newline eslint reference link
raunofreiberg Mar 5, 2018
55adae9
[guide] Reflect adoption of jest
michaeljaltamirano Mar 11, 2018
a100a39
[eslint config] [base] [breaking] Update `object-curly-newline` to ma…
remcohaszing Mar 1, 2018
a9f5d51
Added naming--uppercase section from comment
shanemileham Mar 12, 2018
49dab88
Change import/no-self-import from "off" to "error"
lencioni Mar 23, 2018
8ed1d85
[eslint config] [base] [patch] Include 'accumulator' exception for `n…
naomiajacobs Mar 20, 2018
33819d6
[guide] Added naming conventions for UPPERCASE use cases
ljharb Mar 23, 2018
06e2899
Minor spacing update
s10wen Mar 28, 2018
8720f5f
[eslint config] [base] [patch] avoid `__mocks__` `no-extraneous-depen…
chentsulin Mar 28, 2018
bd97fca
[guide] Minor addition of spaces
PramodGarg Apr 4, 2018
31d95fd
[eslint config] [*] [deps] update `eslint`, `eslint-plugin-import`, `…
sharmilajesupaul Apr 4, 2018
c71e8c9
[eslint config] [base] [breaking] enable `import/no-cycle`: warn on c…
sharmilajesupaul Apr 4, 2018
0699852
[guide] fix "bad" comment to be actually bad
HenrYxZ Apr 6, 2018
8956338
[guide] Turkish Translation Link Added
eraycetinay Apr 8, 2018
b3bbd1c
[eslint config] [base] [breaking] order of import statements is ignor…
Apr 11, 2018
6088a8f
[guide] remove references to jscs
ljharb Apr 12, 2018
308fb24
[eslint config] [*] [deps] update `eslint-plugin-import`
ljharb Apr 13, 2018
87f97e0
Replace flag images with emoji
lencioni Apr 18, 2018
89bb98e
Merge pull request #1787 from airbnb/lencioni-patch-2
lencioni Apr 18, 2018
b56875b
[eslint config] [base] [patch] `function-paren-newline`: change to "c…
ljharb Apr 20, 2018
fd08347
[eslint config] [base] fix tests
ljharb Apr 20, 2018
5705b8a
Revert "Replace flag images with emoji"
ljharb Apr 22, 2018
2653730
[react] add vietnamese
m-inh Apr 21, 2018
22f0155
Add StandardJS to "Other Style Guides" list
feross Apr 26, 2018
8c83d03
[eslint config] [base] [patch] Allow devDependencies for foo_spec.js …
lencioni Feb 15, 2018
2d97799
[eslint config] [base] [minor] only allow one newline at the end
graingert Apr 30, 2018
edf942e
[guide] Add descriptions of enforced rules
sangaman May 2, 2018
71e54f2
doc: fix some nits in README.md
vsemozhetbyt May 4, 2018
2bd77bc
[eslint config] [base] [patch] `label-has-for`: Remove redundant comp…
taion May 6, 2018
2ba36de
[guide] Add backticks
parksb May 4, 2018
068d6b6
[eslint config] [base] [patch] Adjust imports for vue-cli
MoritzKn May 15, 2018
c068d7c
Fix link for Temporal Dead Zone
May 26, 2018
04ab225
[eslint config] [*] [deps] update `eslint-plugin-import`, `eslint-fin…
ljharb May 27, 2018
ae82d76
Update README.md
May 30, 2018
dfc9da7
Add Drupal to In The Wild section.
fuzzbomb May 31, 2018
8a24480
Fix broken aria roles link in React style guide README
alejandrogarciasalas Jun 3, 2018
5e26092
[eslint config] [react] update `eslint-plugin-react`
ljharb Jun 4, 2018
74fb34f
Add no-unused-vars to README
sangaman Jun 8, 2018
103f5e2
doc: add missing anchor in README.md
vsemozhetbyt Jun 8, 2018
25e711c
[eslint config] [patch] Add new methods introduced in [email protected]
paliwalgaurav Jun 20, 2018
d270031
[eslint config] [*] [dev deps] update `babel-preset-airbnb`, `tape`
ljharb Jun 21, 2018
2668495
add ES2015-2018 in npm package keywords
Oct 12, 2017
951825c
[eslint config] set `forbid-foreign-prop-types` to "warn"
ljharb Jun 21, 2018
fdb998b
[eslint config] [base] fix tests
ljharb Jun 21, 2018
8be089e
[eslint config] fix tests
ljharb Jun 21, 2018
afe3407
[eslint config] [base] v13.0.0
ljharb Jun 21, 2018
d14ed5d
[eslint config] [breaking] update `eslint-config-airbnb-base`
ljharb Jun 21, 2018
cae920f
[eslint config] v17.0.0
ljharb Jun 21, 2018
2161ddf
Build: add node 10
aladdin-add Jun 24, 2018
8de558b
[eslint config] [*] [deps] update `eslint-plugin-import`
ljharb Jun 25, 2018
6a59306
[dev deps] update `markdownlint-cli`
aladdin-add Jun 24, 2018
363bb07
[eslint config] [deps] update `eslint-plugin-react`
ljharb Jun 25, 2018
4702115
Fix: Typo
liyuhang1997 Jun 25, 2018
d951220
[eslint config] [*] [dev deps] update `eslint-find-rules`
ljharb Jun 25, 2018
27e5e20
[eslint config] [base] [new] update base ecmaVersion to 2018; remove …
ljharb Jun 25, 2018
a510095
[eslint config] [*] [new] add eslint v5 support
ljharb Jun 25, 2018
77fdae6
Add Cerner to In The Wild
noahbenham Jul 2, 2018
fe8de59
[eslint-config] [*] [docs] :pencil2: fix typo in Readme
a-tokyo Jul 3, 2018
5d1f4b9
[guide] Updated Arrays Section
maurozenoni Jul 3, 2018
7dda84a
[eslint config] [deps] [minor] update `jsx-a11y` plugin; enable `labe…
ljharb Jul 5, 2018
2037fd8
[Tests] link eslint from the base config as well
ljharb Jun 25, 2018
96317f8
[guide] fix anchor tag in README.md
vsemozhetbyt Jul 5, 2018
b6a268f
[eslint config] [react] disable two buggy rules, temporarily
ljharb Jul 10, 2018
f6acb78
[guide] [eslint config] [base] [breaking] Simplifies `no-mixed-operat…
sharmilajesupaul Jul 10, 2018
a12dec9
[guide] [react] boolean in jsx alignment
Jul 11, 2018
32a674d
[eslint config] [*] [deps] update `eslint`, `babel-preset-airbnb`, `e…
ljharb Aug 4, 2018
dfb70d6
[*] [deps] update `eslint-plugin-import`, `safe-publish-latest`
ljharb Aug 13, 2018
45326cc
[eslint-config-airbnb-base] v13.1.0
ljharb Aug 13, 2018
152b914
[eslint config] [deps] update `eslint-config-airbnb-base`, `eslint-pl…
ljharb Aug 13, 2018
9a52676
[eslint config] [patch] re-enabling `jsx-one-expression-per-line` all…
ljharb Aug 13, 2018
685f37b
[eslint config] v17.1.0
ljharb Aug 13, 2018
ced1cb3
List bad example first to be consistent
kevinweber Aug 27, 2018
5443d03
[guide] Consistently use curly quotes instead of straight quotes in p…
kevinweber Aug 27, 2018
48448a8
[guide] [react] Explain use of ID over key right on page
kevinweber Aug 27, 2018
d774b89
Merge pull request #1898 from kevinweber/react/props--unnecessary-props
ljharb Aug 27, 2018
fcfd378
Fix outdated link to Airbnb's Neutrino preset
kevinweber Aug 26, 2018
b8b2a0b
Add Pier1 to the organization list
Aug 31, 2018
17e0454
[eslint config] [base] [minor] Enforce dangling underscores in method…
JBallin Sep 1, 2018
e7ffd44
Update .markdownlint.json
darksun27 Sep 2, 2018
02b4eea
[guide] update to a better Chinese translation
Jan 19, 2017
32a7bf4
:pencil2: fix docs for whitespace config
a-tokyo Sep 12, 2018
ffe4fe9
[guide] Clarify wording
kevinweber Aug 26, 2018
9af5ee8
Updated wording of variable--one-const rule
parulgupta26 Oct 2, 2018
924dfb2
[doc] add eslint rule reference for `no-prototype-builtins`
1pete Oct 3, 2018
24da5bb
[doc] add eslint rule references in react guide
1pete Oct 4, 2018
03a0734
Add UrbanSim to organizations list
martjanz Oct 16, 2018
41a13e8
[19.16] changed Enforce to avoid
theBstar Oct 30, 2018
74deb81
[editorial] Improve conciseness of README.md
KY3LxD Nov 13, 2018
21b65e9
[eslint config] [base] [deps] Switch to confusing-browser-globals
edmorley Nov 20, 2018
b96341f
[eslint config] [base] [breaking] legacy: Enable 'strict'
edmorley Nov 20, 2018
42c647f
[eslint config] [base] [breaking] Set 'strict' to 'never'
edmorley Nov 20, 2018
ad0c44c
[eslint config] Remove rules/strict from 'extends'
edmorley Nov 20, 2018
0d6d854
[17.2] Added second anchor https://github.com/airbnb/javascript/pull/…
NullDev Nov 21, 2018
6ece1f5
Added NullDev
NullDev Nov 21, 2018
69e3437
Examples more consistent with the guidline
ernestodebesto Sep 14, 2018
064e3bf
:) conflicting with rule 8.2 :D
michaelKaefer Nov 27, 2018
bb011c2
[eslint config] [base] [patch] Add markers to spaced-comment block fo…
jeffvandyke Nov 29, 2018
5d25a2e
capitalize means first letter uppercase, the rest lowercase
honzajavorek Dec 18, 2018
80920a0
Add Terra to README list
emilyrohrbough Dec 19, 2018
218c4fe
[eslint config] [base] [fix] disable `no-var` in legacy entry point
ljharb Dec 28, 2018
387755e
[meta] add disabled `no-useless-catch` config
ljharb Dec 28, 2018
070e620
[Dev Deps] update `markdownlint-cli`
ljharb Dec 28, 2018
95286eb
[guide] [react] add note about `forbid-prop-types` rule
Jan 7, 2019
955f4e9
Vietnamese translation
dangkyokhoang Jan 13, 2019
b6c56cb
[eslint config] [base] [patch] Allow use of `__REDUX_DEVTOOLS_EXTENSI…
remcohaszing Jan 21, 2019
1439ebe
[editorial] [react] fix typo
telmen Jan 26, 2019
25f11fb
[eslint config] [patch] extend `no-underscore-dangle` to allow for re…
ljharb Jan 26, 2019
d8256fc
[eslint config] [*] [deps] update `object.entries`, `eslint-plugin-im…
ljharb Jan 27, 2019
d78af39
Merge pull request #1996 from remcohaszing/redux-devtools-extension-c…
ljharb Jan 28, 2019
ebe9682
Merge branch 'master' into translation-proposal
sharmilajesupaul Feb 5, 2019
96f95fa
[eslint config] [base] [patch] `no-extraneous-dependencies`: Add jest…
tclindner Jan 30, 2019
6ef45d4
[guide] make "good" example match "bad" example more closely
ziishaned Feb 6, 2019
4f15da6
[eslint config] [*] [readme] Improve eslint config setup instructions…
Feb 7, 2019
8694a87
[eslint config] [react] [patch] Turn off `react/no-multi-comp`
jamiebuilds Feb 14, 2019
834d717
[eslint config] [*] [deps] update `eslint-plugin-import`, `eslint-plu…
ljharb Feb 17, 2019
a71c2d1
[eslint config] add disabled `jsx-fragments` rule
ljharb Feb 17, 2019
da0cf08
[Tests] on `node` `v11`
ljharb Feb 17, 2019
495a62a
[guide] fix example 4.7 for arrays method callbacks
mapb Feb 13, 2019
be07f7a
[guide] [react] add more context about arrow functions, as props and …
Ensive Feb 24, 2019
b85baea
[eslint config] [base] [meta] add disabled `prefer-named-capture-grou…
ljharb Mar 4, 2019
60b96d3
[guide] Add a 19.9 bullet in a Whitespace section
Ensive Feb 27, 2019
2160a77
[eslint config] [breaking] [react] add `react-hooks` plugin
wsmd Mar 13, 2019
4474666
[guide] remove extra blank line
bertho-zero Apr 10, 2019
117d4fc
[Tests] fix issue with eslint dev deps
ljharb Apr 28, 2019
5cd011d
[eslint config] [base] [deps] update `eslint-plugin-import`
ljharb Apr 28, 2019
1310ade
[eslint config] [base] [patch] Ignore property modifications of `stat…
Apr 27, 2019
19701d4
[inthewild] Add Coeur d'Alene Tribe
kbighorse May 9, 2019
4539dbc
[guide] remove redundant spaces
yuezk May 24, 2019
a344d6c
[guide] [eslint config] [base] [breaking] `no-multiple-empty-lines`: …
JBallin Jun 10, 2019
19e9ce3
[eslint config] [base] [breaking] `padded-blocks`: enable `allowSingl…
91aman Jan 12, 2017
76ff7c7
[editorial] [docs] correct JavaScript capitalization
coliff Jun 24, 2019
a9a83d9
[guide] add link to new version of Google Style Guide
glgoose Jun 27, 2019
9fbe07f
[eslint-config] [base] v13.2.0
ljharb Jul 1, 2019
7ea44cf
[eslint config] [deps] update `eslint-config-airbnb-base`, `eslint-pl…
ljharb Jul 1, 2019
873f302
[eslint config] v17.1.1
ljharb Jul 1, 2019
21493ad
[eslint config] [base] [deps] update `confusing-browser-globals`, `es…
ljharb Jul 1, 2019
6a50516
[eslint config] [meta] add disabled config for new react and a11y rules
ljharb Jul 2, 2019
036612e
[inthewile] Add Happeo to users list
ristinolla Jul 4, 2019
a490005
[react] event handlers should not return values
behnammodi Jul 6, 2019
8c686ea
[eslint config] add componentDidCatch to lifecycle for react/sort-comp
Jul 22, 2019
61c7ae6
[eslint config] Add missing/unsafe lifecycle methods to react/sort-co…
Jun 17, 2019
030e23b
[guide] Fix npm package has usage example
heymath Jul 24, 2019
6c0a884
[guide] fix dead jsperf links
Crow-EH Aug 2, 2019
792bb56
[eslint config] [*] update `eslint-find-rules`, `eslint-plugin-import`
ljharb Aug 9, 2019
820ccf7
[eslint config] [*] [tests] use `eclint` instead of `editorconfig-tools`
ljharb Aug 9, 2019
945c62f
[Tests] on `node` `v12`
ljharb Aug 9, 2019
820745d
[guide] [eslint config] [base] [breaking] Require parens for arrow fu…
sharmilajesupaul Jul 10, 2018
3b18fea
[Tests] only run tests in non-lint per-package travis job
ljharb Aug 9, 2019
8eacf24
[eslint config] [*] [breaking] add eslint v6, drop eslint v4
ljharb Aug 9, 2019
6b5922c
[eslint config] [breaking] set react version to "detect"
ljharb Aug 10, 2019
e257dee
[eslint config] [base] [patch] `camelcase`: enable ignoreDestructuring
ljharb Aug 10, 2019
11ede40
[eslint config] [base] [breaking] `func-name-matching`: enable `consi…
ljharb Aug 10, 2019
88e71e6
[eslint config] [base] [breaking] enable `prefer-object-spread`
ljharb Aug 10, 2019
f0c767f
[eslint config] [base] [breaking] enable `no-async-promise-executor`
ljharb Aug 10, 2019
d03a712
[eslint config] [base] [breaking] enable `no-misleading-character-class`
ljharb Aug 10, 2019
08f8093
[eslint config] [base] [breaking] enable `max-classes-per-file`
ljharb Aug 10, 2019
d490ee1
[eslint config] [base] [breaking] enable `no-useless-catch`
ljharb Aug 10, 2019
282ef9e
[eslint config] [base] [breaking] `no-self-assign`: enable `props` op…
ljharb Aug 10, 2019
e6f591f
[Dev Deps] update babel-related deps to latest
ljharb Aug 10, 2019
b05573c
[eslint config] [base] v14.0.0
ljharb Aug 10, 2019
b447768
[eslint config] [deps] update `eslint-config-airbnb-base`, `eslint-pl…
ljharb Aug 10, 2019
a23f93e
[eslint config] [breaking] enable `react/jsx-fragments`
ljharb Aug 10, 2019
25075b5
[eslint config] [minor] enable `react/jsx-curly-newline`
ljharb Aug 10, 2019
7f5a658
[eslint config] [minor] enable `react/state-in-constructor`
ljharb Aug 10, 2019
089022a
[eslint config] [minor] enable `react/static-property-placement`
ljharb Aug 10, 2019
73f71d9
[eslint config] [breaking] enable `react/jsx-props-no-spreading`
ljharb Aug 10, 2019
1e0a696
[eslint config] [breaking] disable `label-has-for`; enable `control-h…
ljharb Aug 10, 2019
bdba997
[eslint config] v18.0.0
ljharb Aug 10, 2019
5302784
[eslint config] [patch] `react/state-in-constructor`: fix incorrect c…
ljharb Aug 13, 2019
a204cdf
[eslint config] v18.0.1
ljharb Aug 13, 2019
295d1e6
[guide] clean up confusing example from bad rebase
ljharb Aug 14, 2019
1ca21ab
[eslint config] clarify hooks section in readme
DanielFGray Aug 18, 2019
7932a52
Added Tomify and Traitify to the organizations
tomprats Sep 4, 2019
8cb6b70
Merge remote-tracking branch 'upstream/master'
Sep 8, 2019
a04432a
adding vue 2 style guide from vue source docs
Sep 8, 2019
64545c0
Update README.md
Sep 10, 2019
8e5d1da
Update README.md
Sep 10, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf
# editorconfig-tools is unable to ignore longs strings or urls
max_line_length = null
max_line_length = off

[CHANGELOG.md]
indent_size = false
63 changes: 37 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,52 @@
language: node_js
node_js:
- "12"
- "11"
- "10"
- "9"
- "8"
- "7"
- "6"
- "5"
- "4"
before_install:
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g [email protected] ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g [email protected] ;; 2.*) npm install -g npm@2 ;; esac ; fi'
- 'if [ "${TRAVIS_NODE_VERSION%${TRAVIS_NODE_VERSION#[0-9]}}" = "0" ] || [ "${TRAVIS_NODE_VERSION:0:4}" = "iojs" ]; then npm install -g [email protected] ; elif [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi'
- 'nvm install-latest-npm'
install:
- 'cd "packages/${PACKAGE}"'
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then nvm install 0.8 && npm install -g [email protected] && npm install -g [email protected] && npm install -g npm@2 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
- 'if [ -n "${PACKAGE-}" ]; then cd "packages/${PACKAGE}"; fi'
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ] || [ "${TRAVIS_NODE_VERSION}" = "0.9" ]; then nvm install --latest-npm 0.8 && npm install && nvm use "${TRAVIS_NODE_VERSION}"; else npm install; fi;'
- 'if [ -n "${ESLINT}" ]; then npm install --no-save "eslint@${ESLINT}"; fi'
script:
- 'if [ -n "${PREPUBLISH-}" ]; then npm run pretravis && npm run prepublish && npm run posttravis; else npm run travis; fi'
- 'if [ -n "${PREPUBLISH-}" ]; then npm run pretravis && npm run prepublish && npm run posttravis; elif [ -n "${LINT-}" ]; then npm run lint; else npm run travis; fi'
sudo: false
env:
matrix:
- 'TEST=true ESLINT=3 PACKAGE=eslint-config-airbnb'
- 'TEST=true ESLINT=4 PACKAGE=eslint-config-airbnb'
- 'TEST=true ESLINT=3 PACKAGE=eslint-config-airbnb-base'
- 'TEST=true ESLINT=4 PACKAGE=eslint-config-airbnb-base'
- 'TEST=true ESLINT=6 PACKAGE=eslint-config-airbnb-base'
- 'TEST=true ESLINT=6 PACKAGE=eslint-config-airbnb'
- 'TEST=true ESLINT=5 PACKAGE=eslint-config-airbnb-base'
- 'TEST=true ESLINT=5 PACKAGE=eslint-config-airbnb'
matrix:
fast_finish: true
include:
- node_js: "node"
env: PREPUBLISH=true ESLINT=3 PACKAGE=eslint-config-airbnb
- node_js: "node"
env: PREPUBLISH=true ESLINT=4 PACKAGE=eslint-config-airbnb
- node_js: "node"
env: PREPUBLISH=true ESLINT=3 PACKAGE=eslint-config-airbnb-base
- node_js: "node"
env: PREPUBLISH=true ESLINT=4 PACKAGE=eslint-config-airbnb-base
- node_js: "lts/*"
env: PREPUBLISH=true ESLINT=6 PACKAGE=eslint-config-airbnb-base
- node_js: "lts/*"
env: PREPUBLISH=true ESLINT=6 PACKAGE=eslint-config-airbnb
- node_js: "lts/*"
env: PREPUBLISH=true ESLINT=5 PACKAGE=eslint-config-airbnb-base
- node_js: "lts/*"
env: PREPUBLISH=true ESLINT=5 PACKAGE=eslint-config-airbnb
- node_js: "lts/*"
env: LINT=true
- node_js: "7"
env: TEST=true ESLINT=5 PACKAGE=eslint-config-airbnb-base
- node_js: "7"
env: TEST=true ESLINT=5 PACKAGE=eslint-config-airbnb
- node_js: "6"
env: TEST=true ESLINT=5 PACKAGE=eslint-config-airbnb-base
- node_js: "6"
env: TEST=true ESLINT=5 PACKAGE=eslint-config-airbnb
exclude:
allow_failures:
- node_js: "11"
- node_js: "9"
- node_js: "7"
- node_js: "5"
- env: PREPUBLISH=true ESLINT=3 PACKAGE=eslint-config-airbnb
- env: PREPUBLISH=true ESLINT=4 PACKAGE=eslint-config-airbnb
- env: PREPUBLISH=true ESLINT=3 PACKAGE=eslint-config-airbnb-base
- env: PREPUBLISH=true ESLINT=4 PACKAGE=eslint-config-airbnb-base
- env: PREPUBLISH=true ESLINT=6 PACKAGE=eslint-config-airbnb-base
- env: PREPUBLISH=true ESLINT=6 PACKAGE=eslint-config-airbnb
- env: PREPUBLISH=true ESLINT=5 PACKAGE=eslint-config-airbnb-base
- env: PREPUBLISH=true ESLINT=5 PACKAGE=eslint-config-airbnb
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 Airbnb
Copyright (c) 2012 Airbnb

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading