diff --git a/README.md b/README.md index 3409c68ccd..cf6be759f6 100644 --- a/README.md +++ b/README.md @@ -794,6 +794,24 @@ ``` + - Remove all trailing whitespace + + ```javascript + // bad + function() {∙∙ + var name; + ∙∙ + // ... stuff ... + } + + // good + function() { + var name; + + // ... stuff ... + } + ``` + - Use indentation when making long method chains. ```javascript