mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Match eslint's line length settings (#8845)
(cherry picked from commit 09b3ec5d3c)
This commit is contained in:
committed by
Dan Abramov
parent
5a25a05a7d
commit
d8700e8d4e
@@ -142,7 +142,7 @@ However, there are still some styles that the linter cannot pick up. If you are
|
||||
* 2 spaces for indentation (no tabs)
|
||||
* Prefer `'` over `"`
|
||||
* `'use strict';`
|
||||
* 80 character line length (**except documentation**)
|
||||
* 120 character line length (**except documentation**)
|
||||
* Write "attractive" code
|
||||
* Do not use the optional parameters of `setTimeout` and `setInterval`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user