Jordan Harband
6006d6d2df
[guide] fix dead es-discourse link
...
Fixes #2274 .
2020-08-27 14:29:09 -07:00
Akshath Sivaprasad
a24dc34a4a
[guide] [react] Add examples for formatting multiline conditional components
2020-08-05 21:38:20 -07:00
Jordan Harband
1dc71d3839
[guide] [react] add missing PascalCase guidance for prop names
2020-08-03 09:36:24 -07:00
Jordan Harband
973384be1b
[eslint config] [*] [dev deps] update @babel/runtime, eslint-find-rules, eslint-plugin-jsx-a11y, eslint-plugin-react
2020-08-05 22:06:20 -07:00
Jordan Harband
3dcc591123
[eslint config] [base] add id-denylist rule
2020-08-05 22:04:10 -07:00
Jordan Harband
c5bee75b1b
[eslint config] [*] [deps] update eslint-plugin-import, use valid import/no-cycle maxDepth option
2020-06-22 22:55:52 -07:00
Jordan Harband
5124de23da
[eslint config] [base] add new rules from v7.3
2020-06-27 13:22:33 -07:00
Jordan Harband
54955410ee
[eslint config] v18.2.0
eslint-config-airbnb-v18.2.0
2020-06-18 13:11:38 -07:00
Jordan Harband
197b50c076
[eslint config] [deps] update eslint-config-airbnb-base, eslint-plugin-jsx-a11y
2020-06-18 11:57:41 -07:00
Jordan Harband
f550ded6da
[eslint config] [tests] fix for eslint 7
2020-06-18 12:03:46 -07:00
Jordan Harband
562e3519b8
[Dev Deps] update markdownlint, markdownlint-cli
2020-06-18 11:53:53 -07:00
Jordan Harband
78457af2c5
[eslint config] [base] v14.2.0
eslint-config-airbnb-base-v14.2.0
2020-06-10 23:25:49 -07:00
Jordan Harband
5b462a04cd
[eslint config] [*] [new] add eslint v7
2020-06-10 15:43:13 -07:00
Kristóf Poduszló
22adc06f56
[eslint config] [minor] Allow using eslint-plugin-react-hooks v3 and v4
...
Co-authored-by: Kristóf Poduszló <kripod@protonmail.com >
Co-authored-by: Jordan Harband <ljharb@gmail.com >
2020-04-10 00:47:18 +02:00
Jordan Harband
fe2e451ba7
[Tests] add node v14; remove v9, v11
2020-06-10 14:58:23 -07:00
Jordan Harband
b587006077
[eslint config] [*] [deps] update eslint-plugin-import
2020-06-10 14:49:21 -07:00
Vlad Shcherbin
8aee3e1600
[eslint config] [base] [patch] Include 'context' exception for no-param-reassign
2020-05-20 13:21:10 +03:00
Vlad Shcherbin
cad3db3169
[eslint config] [base] [minor] Disallow multiple empty lines
2020-06-07 00:01:51 +03:00
Jordan Harband
7aa0fa14d6
[eslint config] [*] [deps] update eslint-plugin-import, eslint-plugin-react, babel-preset-airbnb, eslint-find-rules, in-publish, tape
2020-06-07 20:50:43 -07:00
Jordan Harband
d34f807459
[Deps] update object.entries
2020-06-07 20:05:48 -07:00
Severiano Badajoz
c48a060aff
[eslint config] [patch] set explicitSpread to ignore for react/jsx-props-no-spreading
2020-06-05 15:09:12 -07:00
Paul Matthew Barrameda
06b3ab11d9
[eslint config] [minor] Fix typo in no-multiple-empty-lines rule
...
## Why is the change being made?
This change is made because the Airbnb documentation states to "avoid a
newline at the beginning of files", yet the code does not follow this.
## What has changed to address the problem?
This change fixes the `no-multiple-empty-lines` rule by setting max
beginning of file (`maxBOF`) to from 1 to 0.
## How was this change tested?
This change was tested with `npm test`.
## Related docs
https://github.com/airbnb/javascript#whitespace--no-multiple-empty-lines
2020-02-19 22:56:52 -08:00
小蚊酱
c0ee2c4924
[guide] unquote properties in whitespace key spacing section
2020-03-31 17:41:38 +08:00
Jiahao
e4f3dd4eff
[react] Update Chinese (Simplified) Translation
...
The translation for Chinese (Simplified) is outdated. Changed to an up-to-date translation that synced with current English version, enhanced expressions for better readability, and also added notes of technical terms for Chinese readers.
2020-03-10 23:24:39 -04:00
Nick Reiley
0375265cbd
[eslint config] [base] [patch] Allow triple-slash (///) comments
2020-03-16 23:27:49 +05:00
Nick Reiley
d3628e2600
[eslint config] [base] [patch] Disable prefer-object-spread for airbnb-base/legacy
2020-03-16 23:39:16 +05:00
Jordan Harband
f075a0db50
[eslint config] [patch] relax eslint-plugin-react-hooks down to v2.3, due to a controversial change in v2.5
...
Fixes #2195 .
2020-03-14 15:39:55 -07:00
David J. Bradshaw
d529ccaea3
[eslint config] readme: fix typo
2020-03-14 07:36:30 +00:00
Jordan Harband
a3355f90c4
[eslint config] v18.1.0
eslint-config-airbnb-v18.1.0
2020-03-12 22:58:43 -07:00
Jordan Harband
e7062c32bb
[eslint config] [deps] update eslint-config-airbnb-base
2020-03-12 22:47:00 -07:00
Jordan Harband
c75b66daa6
[eslint config] [base] v14.1.0
eslint-config-airbnb-base-v14.1.0
2020-03-12 16:45:56 -07:00
Jordan Harband
e279b6d3a8
[eslint config] [*] [deps] update eslint, eslint-plugin-react, eslint-plugin-react-hooks
2020-03-12 15:58:42 -07:00
Jordan Harband
6924bd3604
[Dev Deps] update @babel/runtime
2020-03-12 15:58:18 -07:00
Jordan Harband
165af9b6c8
[Tests] actually run the linter on subpackages
2020-03-12 15:41:30 -07:00
Dmitry Semigradsky
e6e6414c97
[guide] Add link to eslint rule for https://github.com/airbnb/javascript#modules--multiline-imports-over-newlines
2020-03-09 12:55:31 +03:00
lagagain
717ba5187a
[guide]: add "bigint" type to the primitives type section.
...
```js
var bn = 123n
```
(with "n" as suffix)
2020-02-28 14:53:58 +08:00
Cain Hall
9890b40677
guide: import/extensions rule documentation
2020-03-02 16:27:57 +11:00
Julian Grinblat
3493b060ec
[eslint config] [minor] Support eslint-plugin-react-hooks@2
2019-09-16 19:37:29 +09:00
Jordan Harband
019e0f7e07
[eslint config] add config for disabled new rules
2020-02-13 17:42:08 -08:00
Jordan Harband
41ca203e3e
[Dev Deps] update markdownlint-cli
2020-02-07 08:05:47 -10:00
Kévin Berthommier
651280e5a2
[eslint config] [base] Fix indentation with JSX Fragments
2020-02-07 16:49:10 +01:00
Jordan Harband
f86f19cefc
[eslint config] [*] [deps] update eslint-plugin-import, eslint-plugin-react
2020-02-07 08:32:08 -10:00
Jordan Harband
4df908033f
[eslint config] [*] [dev deps] update @babel/runtime, babel-preset-airbnb, safe-publish-latest, tape
2020-02-07 08:29:46 -10:00
Jordan Harband
377fbcac88
[eslint config] [*] [deps] update object.entries
2020-02-07 08:25:49 -10:00
Geo Artemenko
6d05dd898a
[eslint config] [*] [readme] normalize multiline word according to merriam-webster
2019-11-22 22:04:23 -05:00
Jordan Harband
b5954c32b3
[eslint config] [base] [deps] [minor] add new disabled rules, update eslint
2019-12-10 16:47:51 -08:00
Jordan Harband
370793b3dd
[eslint-config] [*] [fix] whitespace: only set erroring rules to "warn"
...
Fixes #2105
2019-12-10 16:32:17 -08:00
Jonas Scheffner
2e3adc98c7
[eslint config] [base] [patch] import/no-extraneous-dependencies: Support karma config files
2019-10-28 13:42:10 +01:00
Vse Mozhet Byt
5927c7f706
[guide] fix possible typo
2019-11-08 16:05:06 +02:00
Igor Gassmann
56b75dc359
[guide] Document class-methods-use-this
...
This PR documents the currently enforced `class-methods-use-this` ESlint rule as discussed in #2129
2019-11-03 21:00:57 +01:00