Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.

Origin update #3

Open
wants to merge 904 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
904 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
f6acb78
[guide] [eslint config] [base] [breaking] Simplifies `no-mixed-operat…
sharmilajesupaul Jul 10, 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
bb011c2
[eslint config] [base] [patch] Add markers to spaced-comment block fo…
jeffvandyke Nov 29, 2018
2160a77
[eslint config] [breaking] [react] add `react-hooks` plugin
wsmd Mar 13, 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
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
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
79047a9
[eslint config] [base] [deps] update `confusing-browser-globals`
ljharb Oct 3, 2019
8c94d53
[eslint config] [*] [dev deps] update `@babel/runtime`, `babel-preset…
ljharb Oct 3, 2019
ab72ab9
[eslint config] [patch] Remove duplicate `componentDidCatch`
Hypnosphi Oct 3, 2019
c66cfc3
[eslint config] [deps] update `eslint-plugin-react`
ljharb Oct 3, 2019
dee4f17
[eslint config] [base] add new rules in eslint 6.x, disabled
ljharb Oct 3, 2019
64b965e
[guide] Fix Temporal dead zone link anchor
Cactusx09 Sep 30, 2019
3fb312f
[eslint config] [patch] Add `static-variables` to `sort-comp` rule
foglerek Oct 4, 2019
df2c99c
[tests] fix eslint errors from c66cfc3
1pete Oct 5, 2019
5a32c33
[eslint config] [base] [minor] enable `import/no-useless-path-segment…
1pete Oct 5, 2019
8f78e1f
[tests] re-enable eslint rule `prefer-destructuring` internally
1pete Oct 5, 2019
56b75dc
[guide] Document `class-methods-use-this`
IGassmann Nov 3, 2019
5927c7f
[guide] fix possible typo
vsemozhetbyt Nov 8, 2019
2e3adc9
[eslint config] [base] [patch] `import/no-extraneous-dependencies`: S…
jscheffner Oct 28, 2019
370793b
[eslint-config] [*] [fix] `whitespace`: only set erroring rules to "w…
ljharb Dec 11, 2019
b5954c3
[eslint config] [base] [deps] [minor] add new disabled rules, update …
ljharb Dec 11, 2019
6d05dd8
[eslint config] [*] [readme] normalize multiline word according to me…
geo4orce Nov 23, 2019
41ca203
[Dev Deps] update `markdownlint-cli`
ljharb Feb 7, 2020
377fbca
[eslint config] [*] [deps] update `object.entries`
ljharb Feb 7, 2020
4df9080
[eslint config] [*] [dev deps] update `@babel/runtime`, `babel-preset…
ljharb Feb 7, 2020
f86f19c
[eslint config] [*] [deps] update `eslint-plugin-import`, `eslint-plu…
ljharb Feb 7, 2020
651280e
[eslint config] [base] Fix indentation with JSX Fragments
bertho-zero Feb 7, 2020
019e0f7
[eslint config] add config for disabled new rules
ljharb Feb 14, 2020
3493b06
[eslint config] [minor] Support eslint-plugin-react-hooks@2
perrin4869 Sep 16, 2019
9890b40
guide: import/extensions rule documentation
cain Mar 2, 2020
717ba51
[guide]: add "bigint" type to the primitives type section.
lagagain Feb 28, 2020
e6e6414
[guide] Add link to eslint rule for https://github.com/airbnb/javascr…
Semigradsky Mar 9, 2020
165af9b
[Tests] actually run the linter on subpackages
ljharb Mar 12, 2020
6924bd3
[Dev Deps] update `@babel/runtime`
ljharb Mar 12, 2020
e279b6d
[eslint config] [*] [deps] update `eslint`, `eslint-plugin-react`, `e…
ljharb Mar 12, 2020
c75b66d
[eslint config] [base] v14.1.0
ljharb Mar 12, 2020
e7062c3
[eslint config] [deps] update `eslint-config-airbnb-base`
ljharb Mar 13, 2020
a3355f9
[eslint config] v18.1.0
ljharb Mar 13, 2020
d529cca
[eslint config] readme: fix typo
davidjbradshaw Mar 14, 2020
f075a0d
[eslint config] [patch] relax `eslint-plugin-react-hooks` down to v2.…
ljharb Mar 14, 2020
e4f3dd4
[react] Update Chinese (Simplified) Translation
jiahao-c Mar 11, 2020
d3628e2
[eslint config] [base] [patch] Disable `prefer-object-spread` for `ai…
bl00mber Mar 16, 2020
0375265
[eslint config] [base] [patch] Allow triple-slash (///) comments
bl00mber Mar 16, 2020
c0ee2c4
[guide] unquote properties in whitespace key spacing section
wenzi0github Mar 31, 2020
06b3ab1
[eslint config] [minor] Fix typo in no-multiple-empty-lines rule
Luis729 Feb 20, 2020
c48a060
[eslint config] [patch] set `explicitSpread` to ignore for `react/jsx…
seve Jun 5, 2020
8aee3e1
[eslint config] [base] [patch] Include 'context' exception for `no-pa…
vladshcherbin May 20, 2020
d34f807
[Deps] update `object.entries`
ljharb Jun 8, 2020
7aa0fa1
[eslint config] [*] [deps] update `eslint-plugin-import`, `eslint-plu…
ljharb Jun 8, 2020
cad3db3
[eslint config] [base] [minor] Disallow multiple empty lines
vladshcherbin Jun 6, 2020
b587006
[eslint config] [*] [deps] update `eslint-plugin-import`
ljharb Jun 10, 2020
fe2e451
[Tests] add `node` `v14`; remove `v9`, `v11`
ljharb Jun 10, 2020
22adc06
[eslint config] [minor] Allow using `eslint-plugin-react-hooks` v3 an…
kripod Apr 9, 2020
5b462a0
[eslint config] [*] [new] add `eslint` `v7`
ljharb Jun 10, 2020
78457af
[eslint config] [base] v14.2.0
ljharb Jun 11, 2020
562e351
[Dev Deps] update `markdownlint`, `markdownlint-cli`
ljharb Jun 18, 2020
f550ded
[eslint config] [tests] fix for eslint 7
ljharb Jun 18, 2020
197b50c
[eslint config] [deps] update `eslint-config-airbnb-base`, `eslint-pl…
ljharb Jun 18, 2020
5495541
[eslint config] v18.2.0
ljharb Jun 18, 2020
5124de2
[eslint config] [base] add new rules from v7.3
ljharb Jun 27, 2020
c5bee75
[eslint config] [*] [deps] update `eslint-plugin-import`, use valid `…
ljharb Jun 23, 2020
a24dc34
[guide] [react] Add examples for formatting multiline conditional com…
heyitaki Aug 6, 2020
3dcc591
[eslint config] [base] add `id-denylist` rule
ljharb Aug 6, 2020
973384b
[eslint config] [*] [dev deps] update `@babel/runtime`, `eslint-find-…
ljharb Aug 6, 2020
1dc71d3
[guide] [react] add missing PascalCase guidance for prop names
ljharb Aug 3, 2020
6006d6d
[guide] fix dead es-discourse link
ljharb Aug 27, 2020
337f607
[guide] Fix grammatical errors
androiddevnotes Sep 5, 2020
5ebfe3e
[guide] add eslint rule reference for `default-param-last`
1pete Oct 6, 2020
82170f9
[guide] add eslint rule reference for `prefer-object-spread`
1pete Oct 11, 2020
aa43bb2
[guide] add explanation about why to use radix when using parseInt
danielpaz6 Oct 14, 2020
ee2f22a
[guide] Better link reference to Drupal's linter
danielpaz6 Oct 16, 2020
2c5c88d
[guide] Update reason for preferring object destructuring
michaelaflores Oct 22, 2020
05c3bb0
[eslint config] [patch] Fix ignoreNonDOM typo in jsx-a11y/aria-role rule
amercier Oct 23, 2020
b30b0e4
[eslint-config] [base] `no-restricted-globals`: add better messages
samsch Oct 24, 2020
d3c7b84
[eslint config] [patch] Fixed `handle` and `on` ordering in `sort-com…
alvyn279 Sep 23, 2020
8996aa7
[eslint config] [patch] remove deprecated `jsx-a11y/accessible-emoji`…
k-yle Oct 26, 2020
25b64d7
[dev deps] update `markdownlint`, `markdownlint-cli`
ljharb Nov 6, 2020
f0492d5
[eslint config] [*] [dev deps] update `@babel/runtime`, `eslint-find-…
ljharb Nov 6, 2020
e149b05
[eslint config] [*] [deps] update `confusing-browser-globals`, `objec…
ljharb Nov 6, 2020
36f23d7
[eslint config] [base] v14.2.1
ljharb Nov 6, 2020
b7015dd
[eslint config] [deps] update `eslint-config-airbnb-base`
ljharb Nov 6, 2020
eee79a5
[eslint config] [deps] update `eslint-plugin-jsx-a11y`, `eslint-plugi…
ljharb Nov 6, 2020
e5de51e
[eslint config] [patch] re-add `jsx-a11y/accessible-emoji`, but disabled
ljharb Nov 6, 2020
37d48db
[eslint config] v18.2.1
ljharb Nov 6, 2020
f0df3a8
[eslint config] [base] `import/no-extraneous-dependencies`: Add .esli…
Kocal Nov 7, 2020
63098cb
[eslint config] [base] [patch] arthmetic -> arithmetic
HollowMan6 Nov 20, 2020
5620bd5
[eslint config] [base] add `no-nonoctal-decimal-escape` rule
ljharb Nov 21, 2020
1f786e1
[eslint config] [base] [patch] fix spelling of "than"
drdogbot7 Nov 12, 2020
66cd156
[*] [dev deps] update `tape`
ljharb Dec 30, 2020
fb3214c
[*] [deps] update `object.entries`
ljharb Dec 30, 2020
b9ff0ae
[eslint-config] [base] add disabled `no-unsafe-optional-chaining` rule
ljharb Dec 30, 2020
db8b6ce
[eslint config] update `eslint-plugin-react`, add new rules, disabled
ljharb Dec 30, 2020
ea5ec0c
[readme] removed dead links - 404 not found
marsonya Dec 30, 2020
9c18110
[meta] Fix typo in .markdownlint.json
eltociear Jan 8, 2021
711aeb6
[editorial] Complete 19.6 example code (cut in the middle)
kimhanui Mar 17, 2021
1eadb93
[eslint config] [fix] bump eslint-plugin-react-hooks peer dependency …
maco Dec 17, 2020
0cf78ac
[guide] Fix 19.6 example code
dancerphil Mar 24, 2021
1b540ba
[*] [dev deps] update `tape`
ljharb Mar 25, 2021
4d83764
[eslint config] [deps] update `eslint-plugin-react`
ljharb Mar 25, 2021
730b749
[eslint config] [patch] Alphabetize the rules for react-a11y.js
backwardok Mar 25, 2021
dc3af3a
[eslint config] [base] update default value for complexity
kirans08 May 3, 2021
5641278
[editorial] add `var` info to `let`/`const` section
Kelta-King Apr 23, 2021
1fb4592
[guide] add references for eslint rules
kirans08 May 4, 2021
35914b1
[guide] Spread operator => Spread syntax
hsh2001 May 11, 2021
d5d406a
[readme] add AloPeyk to "in the wild"
amirvatani May 9, 2021
af8bdf1
[*] [deps] update `object.entries`
ljharb Jun 29, 2021
428c9dd
[*] [deps] update `@babel/runtime`, `eslint-plugin-import`, `eslint-p…
ljharb Jun 29, 2021
f5c14ca
[readme] fixed typo and removed redundancy
lukeingalls Jun 19, 2021
30927d2
[*] [deps] update `@babel/runtime`, `eslint-plugin-import`, `tape`
ljharb Sep 29, 2021
7fbed3b
[eslint-config-airbnb] [deps] update `eslint-plugin-react`
ljharb Sep 29, 2021
4ee7326
[eslint-config-airbnb] [patch] Explain why `react/jsx-key` is turned off
datenreisender Sep 24, 2021
1227882
[eslint config] clarify hooks requirement
MustafaHaddara Oct 15, 2021
82dbec3
[guide] Fix 14.1 Temporal Dead Zones link
jwr1 Oct 17, 2021
2a6bec1
[eslint config] [base] [patch] Improve `function-paren-newline` with …
Cosmic-Ryver Sep 15, 2021
ea5b991
[Tests] migrate tests to Github Actions
ljharb Nov 5, 2021
8aec65a
Merge pull request #2491 from airbnb/travis
lencioni Nov 5, 2021
fdc812a
[Docs] HTTP => HTTPS
Schweinepriester Nov 3, 2021
6734b78
[eslint config] [*] [deps] update `eslint-plugin-import`, `object.ent…
ljharb Nov 9, 2021
ef6c478
[eslint config] [*] [dev deps] update `@babel/runtime`
ljharb Nov 9, 2021
f3d3a07
[eslint config] [base] [breaking] drop eslint < 7, add eslint 8
ljharb Nov 9, 2021
10a6d02
[meta] use `prepublishOnly` script for npm 7+
ljharb Nov 9, 2021
c12a08c
[actions] fix action working directories
ljharb Nov 9, 2021
96f11d8
[actions] run prepublishOnly in prepublish tests
ljharb Nov 9, 2021
4fc997b
[readme] some updates
ljharb Nov 9, 2021
be6966b
[eslint-config] [meta] add `--no-save` to link scripts
ljharb Nov 9, 2021
eac8cc6
[eslint config] [base] [breaking] add `exports`
ljharb Nov 9, 2021
366bfa6
[eslint config] [base] v15.0.0
ljharb Nov 9, 2021
930a6f2
[eslint config] [*] update `@babel/runtime`, `eslint-plugin-import`
ljharb Nov 10, 2021
37ebbba
[eslint config] [deps] update `eslint-config-airbnb-base`, `eslint-pl…
ljharb Nov 10, 2021
1bc8cab
[eslint config] [breaking] support `eslint` 8; drop `eslint` < 7
ljharb Nov 10, 2021
52e710c
[eslint config] v19.0.0
ljharb Nov 10, 2021
d8cb404
[eslint config] [base] remove unneeded eslint version check
PaperStrike Nov 11, 2021
91cab81
[readme] operator => parameter syntax
Yatin-kathuria Nov 16, 2021
31c6f21
[eslint config] [base] [refactor] make a single source of truth for w…
ljharb Nov 22, 2021
c4000b9
[eslint config] [fix] `whitespace`: udpate to support eslint 8
ljharb Nov 22, 2021
e0bb393
[eslint config] [*] [dev deps] update `tape`
ljharb Nov 22, 2021
97a3238
[eslint config] [deps] update `eslint-plugin-react`
ljharb Nov 22, 2021
c05ffb2
[eslint config] v19.0.1
ljharb Nov 22, 2021
371537f
[Tests] re-enable tests disabled for the eslint 8 upgrade
ljharb Nov 22, 2021
afc2cc3
[eslint config] [meta] fix "exports" path
ljharb Dec 2, 2021
152bd5e
[eslint config] v19.0.2
ljharb Dec 2, 2021
445322d
[eslint config] [deps] update `eslint-plugin-react`
ljharb Dec 22, 2021
38bc026
[eslint config] [base] add disabled `prefer-object-has-own` rule
ljharb Dec 22, 2021
274c8d5
[eslint config] [patch] set `namedComponents` option to match style g…
petersendidit Nov 10, 2021
baaa5e8
[eslint config] v19.0.3
ljharb Dec 24, 2021
d4e39c9
v19.0.4
ljharb Dec 25, 2021
34b5bc3
[meta] revert changes from d4e39c9b10767cc77c7d0091f2eae06a6ccfc33e
ljharb Dec 25, 2021
b4377fb
[meta] better `eclint` command
ljharb Jan 11, 2022
fd2f5a1
[eslint config] [base] [deps] update `@babel/runtime`, `confusing-bro…
ljharb May 3, 2022
7c0f28a
[eslint config] [deps] update `@babel/runtime`, `eslint-find-rules`, …
ljharb May 3, 2022
1677ba6
[eslint config] [meta] update eslint-plugin-react repo URLs
ljharb May 3, 2022
7fdc87a
[guide] fix eslint core rule URLs
terrablue May 3, 2022
42c0e2e
Fix typo in eslint-config-airbnb-base changelog
lencioni May 24, 2022
a0e9405
[eslint config] [*] [dev deps] update `@babel/runtime`
ljharb May 24, 2022
206d25b
[eslint config] [deps] update `eslint-plugin-react`
ljharb May 24, 2022
cbf9ade
[guide] Added period to 4.4 for formatting consistency.
michael-orzel Jul 2, 2021
5155aa5
[eslint config] [base] disable the deprecated `no-spaced-func` rule
haoqunjiang Aug 8, 2022
3cbf96d
[eslint config] [base] `no-alert`: add TODO comment
ljharb Sep 19, 2022
5143a7a
[Dev Deps] update `markdownlint`, `markdownlint-cli`
ljharb Sep 19, 2022
866f441
[eslint config] [*] update `@babel/runtime`, `tape`
ljharb Sep 19, 2022
f6f63b8
[eslint config] [*] [deps] update `object.assign`
ljharb Sep 19, 2022
75a908a
[eslint config] [deps] update `eslint-plugin-jsx-a11y`, `eslint-plugi…
ljharb Sep 19, 2022
7dbb7b1
[eslint config] [base] add disabled `logical-assignment-operators` rule
ljharb Oct 25, 2022
0b1f623
[editorial] convert example to use single instead of double quotes
Oct 25, 2022
ca0ff97
[guide] add Nullish Coalescing operator
Oct 25, 2022
6fb4f8e
[guide] add Optional Chaining
Oct 25, 2022
6947138
[guide] add comma to the end of the property
Oct 26, 2022
c6b1a43
[guide] rename `qux` to `quux`
Oct 26, 2022
d601701
[readme] wayback machine, or remove, broken links
Oct 29, 2022
38f1488
[guide] fix typo in `space-before-blocks`
plplmax Oct 31, 2022
49d08a2
[readme] prefer `const`/`let` over `var` in examples
Oct 29, 2022
1fb7d76
[eslint config] [patch] add new disabled core rules
ljharb Nov 17, 2022
0d747c6
[readme] add space before code blocks
Pushpendra100 Nov 13, 2022
4ef69ed
[Tests] refactor test paths
mertcanaltin Dec 3, 2022
81157ee
[guide] add `Object.hasOwn`
Nov 17, 2022
fd96a4f
[eslint config] [*] [refactor] use object spread instead of `Object.a…
ljharb Dec 30, 2022
8091e39
[*] [dev deps] update `@babel/runtime`, `tape`
ljharb Feb 9, 2023
917c8d9
[*] [deps] update `eslint-plugin-import`
ljharb Feb 9, 2023
bf53656
[eslint config] [deps] update `eslint-plugin-react`, `eslint-plugin-j…
ljharb Feb 9, 2023
5c01a10
[readme] added JavaScript Roadmap link
syedmouaazfarrukh Feb 7, 2023
69fc1bf
spell checking, fixed grammar error.
felipeGarciaDiaz Apr 28, 2023
7982931
[readme] Updates ESLint rule in section 12.3 (exponentiation-operator)
SpraxDev May 2, 2023
0e627e2
[readme] update eslint plugin repo URLs
ljharb May 15, 2023
240a378
[Dev Deps] update `markdownlint`, `markdownlint-cli`
ljharb May 15, 2023
95b6b43
[eslint-config] [*] [dev deps] update `@babel/runtime`
ljharb May 15, 2023
0f3ca32
[eslint config] [*] [deps] update `object.entries`
ljharb May 15, 2023
01f046d
[guide] added second link to eslint rule for item 7.1
zhesha May 23, 2023
7916d6f
[guide] Add documentation for `no-use-before-define` rule under hoist…
ljharb May 15, 2023
fd77bbe
[guide] add nullish-coalescing-operator definition
khadijagardezi Jul 2, 2023
cda44da
[guide] Add commas to Truth, Equality, and JavaScript
morninj Aug 1, 2023
18a08b8
[Dev Deps] update `markdownlint`, `markdownlint-cli`
ljharb Aug 4, 2023
4aee38f
[eslint config] [*] [deps] update `eslint-plugin-import`, `@babel/run…
ljharb Aug 5, 2023
749f4c2
[eslint config] [deps] update `eslint-plugin-react`
ljharb Aug 5, 2023
2fc5e2d
[guide] fix grammar
morninj Aug 2, 2023
cb19177
[readme] correct no-use-before-define justification
hamzahuda Aug 12, 2023
46ae3e2
[readme] Add `Object.hasOwn` to section 3.7
savalaram-redkar Aug 15, 2023
11ab371
[eslint config] [base] [patch] Add a message for `confusing-browser-g…
vmohir Aug 21, 2023
51a37d0
[eslint config] [*] [robustness] cache static builtins
ljharb Jan 28, 2024
e95b1f2
[eslint config] [base] add new disabled rules
ljharb Jan 28, 2024
55899b5
[eslint config] [*] [deps] update deps
ljharb Jan 28, 2024
0681a43
[eslint config] [*] [refactor] remove `object.entries` dependency
43081j Jan 4, 2024
09adc22
[eslint config] [patch] `jsx-a11y/no-noninteractive-tabindex`: allow …
ljharb Jan 30, 2024
b239920
[eslint config] [patch] `jsx-a11y/no-redundant-roles`: allow `nav` to…
ljharb Jan 30, 2024
5f019b1
[eslint config] [*] [dev deps] update `tape`
ljharb Mar 25, 2024
932951a
[eslint config] [deps] update `eslint-plugin-react`
ljharb Mar 25, 2024
f20eca9
[guide] fix compat table URL
muhammedriaz Mar 25, 2024
c25bce8
[readme] replace dead link with archive.org link
khanhadi Apr 7, 2024
7a8f568
[eslint config] [patch] add new disabled react rules
ljharb Sep 21, 2024
e6f2922
[eslint config] [*] [deps] update deps
ljharb Sep 21, 2024
d1705c3
[guide] [css] Added what BEM stands for (Block Element Modifier)
emmanuel-455 Feb 19, 2024
e6080c7
[readme] add ILIAS to users
klees May 11, 2023
39b970f
Add Zit Software to `In the Wild`
thangved Sep 24, 2024
b912288
[readme] Remove dead URLs
Naandalist Sep 21, 2024
f45bd1e
[eslint config] [*] [fix] fix crash in eslint invocation with TIMING …
steelbrain Oct 1, 2024
6499695
[readme] update link to es5 and es6 compat table in readme
matheusfelipeog Oct 13, 2023
11f986f
[eslint config] [deps] update `eslint-plugin-react-hooks`
ptmkenny Dec 7, 2024
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
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
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 = off

[CHANGELOG.md]
indent_size = false
26 changes: 26 additions & 0 deletions .github/workflows/node-pretest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Tests: pretest/posttest'

on: [pull_request, push]

jobs:
pretest:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package:
- '..'
- eslint-config-airbnb
- eslint-config-airbnb-base

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install lts/* && npm install'
with:
node-version: 'lts/*'
- run: npm run pretest
163 changes: 163 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
name: 'Tests: node.js'

on: [pull_request, push]

jobs:
matrix:
runs-on: ubuntu-latest
outputs:
latest: ${{ steps.set-matrix.outputs.requireds }}
steps:
- uses: ljharb/actions/node/matrix@main
id: set-matrix
with:
versionsAsRoot: true
type: 'majors'
preset: '^12 || ^14 || ^16 || >= 17'

base:
needs: [matrix]
name: 'base config'
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: ${{ fromJson(needs.matrix.outputs.latest) }}
eslint:
- 8
- 7
package:
- eslint-config-airbnb-base
exclude:
- node-version: 10
eslint: 8
package: eslint-config-airbnb-base

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install'
with:
before_install: cd "packages/${{ matrix.package }}"
node-version: ${{ matrix.node-version }}
after_install: |
npm install --no-save "eslint@${{ matrix.eslint }}"
- run: node -pe "require('eslint/package.json').version"
name: 'eslint version'
- run: npm run travis
- uses: codecov/codecov-action@v2

react:
needs: [matrix]
name: 'react config'
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
node-version: ${{ fromJson(needs.matrix.outputs.latest) }}
eslint:
- 8
- 7
package:
- eslint-config-airbnb
react-hooks:
- 4

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install ${{ matrix.node-version }} && npm install'
with:
before_install: cd "packages/${{ matrix.package }}"
node-version: ${{ matrix.node-version }}
after_install: |
npm install --no-save "eslint@${{ matrix.eslint }}"
- run: node -pe "require('eslint/package.json').version"
name: 'eslint version'
- run: npm install --no-save "eslint-plugin-react-hooks@${{ matrix.react-hooks }}"
if: ${{ matrix.react-hooks > 0}}
- run: npm run travis
- uses: codecov/codecov-action@v2

prepublish-base:
name: 'prepublish tests (base config)'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
eslint:
- 8
- 7
package:
- eslint-config-airbnb-base

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install lts/* && npm install'
with:
before_install: cd "packages/${{ matrix.package }}"
node-version: lts/*
after_install: |
npm install --no-save "eslint@${{ matrix.eslint }}"
- run: node -pe "require('eslint/package.json').version"
name: 'eslint version'
- run: npm run pretravis
- run: npm run prepublishOnly
- run: npm run posttravis

prepublish-react:
name: 'prepublish tests (react config)'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
eslint:
- 8
- 7
package:
- eslint-config-airbnb
react-hooks:
- 4

defaults:
run:
working-directory: "packages/${{ matrix.package }}"

steps:
- uses: actions/checkout@v2
- uses: ljharb/actions/node/install@main
name: 'nvm install lts/* && npm install'
with:
before_install: cd "packages/${{ matrix.package }}"
node-version: lts/*
after_install: |
npm install --no-save "eslint@${{ matrix.eslint }}"
- run: npm install --no-save "eslint-plugin-react-hooks@${{ matrix.react-hooks }}"
if: ${{ matrix.react-hooks > 0}}
- run: node -pe "require('eslint/package.json').version"
name: 'eslint version'
- run: npm run pretravis
- run: npm run prepublishOnly
- run: npm run posttravis

node:
name: 'node 10+'
needs: [base, prepublish-base, react, prepublish-react]
runs-on: ubuntu-latest
steps:
- run: 'echo tests completed'
15 changes: 15 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Automatic Rebase

on: [pull_request_target]

jobs:
_:
name: "Automatic Rebase"

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: ljharb/rebase@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12 changes: 12 additions & 0 deletions .github/workflows/require-allow-edits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Require “Allow Edits”

on: [pull_request_target]

jobs:
_:
name: "Require “Allow Edits”"

runs-on: ubuntu-latest

steps:
- uses: ljharb/require-allow-edits@main
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# gitignore

node_modules

# Only apps should have lockfiles
yarn.lock
package-lock.json
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

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
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading