Commit Graph

1968 Commits

Author SHA1 Message Date
Jordan Harband
51a37d0fa5 [eslint config] [*] [robustness] cache static builtins 2024-01-27 21:02:05 -08:00
43081j
0681a43e0a [eslint config] [*] [refactor] remove object.entries dependency
This removes the `object.entries` package and uses the widely available built-in native `Object.entries`.
2024-01-04 19:14:38 +00:00
Jordan Harband
55899b57a6 [eslint config] [*] [deps] update deps 2024-01-27 21:08:54 -08:00
Jordan Harband
e95b1f2754 [eslint config] [base] add new disabled rules 2024-01-27 21:07:02 -08:00
Vahid Mohammadi
11ab37144b [eslint config] [base] [patch] Add a message for confusing-browser-globals 2023-08-21 15:43:54 +01:00
savalaram-redkar
46ae3e2256 [readme] Add Object.hasOwn to section 3.7 2023-08-15 20:24:16 +05:30
hamzahuda
cb191776db [readme] correct no-use-before-define justification
The recommendation is to declare the variables, classes and functions before. So the contrasting negative example should say after.
2023-08-12 12:19:30 +01:00
Joe Mornin
cda44dad40 [guide] Add commas to Truth, Equality, and JavaScript
Co-authored-by: Jordan Harband <ljharb@gmail.com>
2023-08-01 09:25:54 -07:00
Joe Mornin
2fc5e2d52c [guide] fix grammar 2023-08-02 13:16:48 -07:00
Jordan Harband
749f4c2bd0 [eslint config] [deps] update eslint-plugin-react 2023-08-05 12:06:55 +12:00
Jordan Harband
4aee38f1e7 [eslint config] [*] [deps] update eslint-plugin-import, @babel/runtime, tape 2023-08-05 12:05:40 +12:00
Jordan Harband
18a08b862b [Dev Deps] update markdownlint, markdownlint-cli 2023-08-05 11:55:23 +12:00
Khadija-Batool
fd77bbebb7 [guide] add nullish-coalescing-operator definition 2023-07-02 23:51:01 +05:00
Jordan Harband
7916d6f538 [guide] Add documentation for no-use-before-define rule under hoisting section 2023-05-15 10:21:09 -07:00
zhesha
01f046dc05 [guide] added second link to eslint rule for item 7.1 2023-05-23 15:10:23 +03:00
Jordan Harband
0f3ca32323 [eslint config] [*] [deps] update object.entries 2023-05-15 10:21:09 -07:00
Jordan Harband
95b6b43d63 [eslint-config] [*] [dev deps] update @babel/runtime 2023-05-15 10:20:15 -07:00
Jordan Harband
240a3789db [Dev Deps] update markdownlint, markdownlint-cli 2023-05-15 10:19:05 -07:00
Jordan Harband
0e627e2fa3 [readme] update eslint plugin repo URLs 2023-05-15 10:15:59 -07:00
Christian Koop
7982931ba7 [readme] Updates ESLint rule in section 12.3 (exponentiation-operator)
The change itself has already been made in f3d3a075cd
(tracked in/acording to https://github.com/airbnb/javascript/issues/2421#issuecomment-1371305010).


#2421
Remove Math.pow from `no-restricted-properties` and use `prefer-exponentiation-operator` instead.
2023-05-02 19:49:09 +02:00
Felipe Garcia Diaz
69fc1bf195 spell checking, fixed grammar error. 2023-04-28 03:33:28 -04:00
syedmouaazfarrukh
5c01a10949 [readme] added JavaScript Roadmap link 2023-02-07 11:17:51 -08:00
Jordan Harband
bf536566ce [eslint config] [deps] update eslint-plugin-react, eslint-plugin-jsx-a11y 2023-02-08 22:59:18 -08:00
Jordan Harband
917c8d92a3 [*] [deps] update eslint-plugin-import 2023-02-08 22:19:53 -08:00
Jordan Harband
8091e39343 [*] [dev deps] update @babel/runtime, tape 2023-02-08 22:11:42 -08:00
Jordan Harband
fd96a4fd57 [eslint config] [*] [refactor] use object spread instead of Object.assign 2022-12-30 14:48:36 -08:00
Mustafa UZUN
81157eec23 [guide] add Object.hasOwn 2022-11-17 20:15:09 +03:00
Mert Can Altın
4ef69edc63 [Tests] refactor test paths 2022-12-04 00:32:01 +03:00
Mustafa UZUN
d601701730 [readme] wayback machine, or remove, broken links 2022-10-30 02:00:29 +03:00
Mustafa UZUN
49d08a2f13 [readme] prefer const/let over var in examples
2.1 Use const for all of your references; avoid using var. eslint: prefer-const, no-const-assign
2022-10-29 23:49:43 +03:00
Pushpendra Pal
0d747c6d96 [readme] add space before code blocks 2022-11-14 04:54:20 +05:30
Jordan Harband
1fb7d76add [eslint config] [patch] add new disabled core rules 2022-11-17 13:56:33 -08:00
Maksim Ploski
38f1488918 [guide] fix typo in space-before-blocks 2022-10-31 21:57:59 +03:00
Mustafa UZUN
c6b1a43c48 [guide] rename qux to quux
Fixes #2661
2022-10-26 13:44:17 +03:00
Mustafa UZUN
6947138ee3 [guide] add comma to the end of the property 2022-10-26 16:17:38 +03:00
Mustafa UZUN
6fb4f8e878 [guide] add Optional Chaining 2022-10-26 00:06:26 +03:00
Mustafa UZUN
ca0ff97f17 [guide] add Nullish Coalescing operator 2022-10-25 23:26:56 +03:00
Mustafa UZUN
0b1f62372e [editorial] convert example to use single instead of double quotes 2022-10-25 16:03:37 +03:00
Jordan Harband
7dbb7b154f [eslint config] [base] add disabled logical-assignment-operators rule 2022-10-25 09:42:25 -07:00
Jordan Harband
75a908aacf [eslint config] [deps] update eslint-plugin-jsx-a11y, eslint-plugin-react, eslint-plugin-react-hooks 2022-09-18 22:21:48 -07:00
Jordan Harband
f6f63b89f6 [eslint config] [*] [deps] update object.assign 2022-09-18 22:18:57 -07:00
Jordan Harband
866f441d05 [eslint config] [*] update @babel/runtime, tape 2022-09-18 22:18:17 -07:00
Jordan Harband
5143a7a97a [Dev Deps] update markdownlint, markdownlint-cli 2022-09-18 22:16:08 -07:00
Jordan Harband
3cbf96de7c [eslint config] [base] no-alert: add TODO comment 2022-09-18 22:08:04 -07:00
Haoqun Jiang
5155aa5fc1 [eslint config] [base] disable the deprecated no-spaced-func rule
This rule was deprecated since ESLint v3.3.0 and replaced by the
`func-call-spacing` rule.
https://eslint.org/docs/latest/rules/no-spaced-func

`func-call-spacing` was enabled in this package long ago:
27dcb99c6d

So there's no need for it to stay in the ruleset.

Besides, it is causing some tricky issues when overriding the rules for
TypeScript support (https://github.com/iamturns/eslint-config-airbnb-typescript/issues/246)
2022-08-08 21:56:10 +08:00
Michael Orzel
cbf9ade10a [guide] Added period to 4.4 for formatting consistency. 2021-07-02 09:40:46 -04:00
Jordan Harband
206d25b55a [eslint config] [deps] update eslint-plugin-react 2022-05-24 08:52:07 -07:00
Jordan Harband
a0e94052d5 [eslint config] [*] [dev deps] update @babel/runtime 2022-05-24 08:49:47 -07:00
Joe Lencioni
42c0e2ea13 Fix typo in eslint-config-airbnb-base changelog 2022-05-24 09:52:05 -05:00
terrablue
7fdc87a8be [guide] fix eslint core rule URLs
- fix broken eslint eol-last link
 - remove .html ending in eslint urls
2022-05-03 19:06:48 +02:00