Skip to content

Commit 1abde47

Browse files
committed
Add note to Whitespace section on removing trailing whitespace.
1 parent 731ae10 commit 1abde47

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,24 @@
794794
795795
```
796796

797+
- Remove all trailing whitespace
798+
799+
```javascript
800+
// bad
801+
function() {∙∙
802+
var name;
803+
∙∙
804+
// ... stuff ...
805+
}
806+
807+
// good
808+
function() {
809+
var name;
810+
811+
// ... stuff ...
812+
}
813+
```
814+
797815
- Use indentation when making long method chains.
798816

799817
```javascript

0 commit comments

Comments
 (0)