File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Our styles are based on the excellent [javascript guide from Airbnb](https://git
1313## Exceptions
1414
1515### Whitespace
16- - Limit your lines to 100 characters (with a 5 characters tolerance) . eslint: [ max-len] ( http://eslint.org/docs/rules/max-len ) .
16+ - Limit your lines to 120 characters. eslint: [ max-len] ( http://eslint.org/docs/rules/max-len ) .
1717 > This ensures readability and maintainability.
1818
1919 ``` javascript
@@ -28,6 +28,15 @@ Our styles are based on the excellent [javascript guide from Airbnb](https://git
2828 .then (Promise .resolve );
2929 ```
3030
31+ ### Functions
32+ - Allow usage before declaration. eslint: [ no-use-before-define] ( http://eslint.org/docs/rules/no-use-before-define )
33+
34+ ``` javascript
35+ doSomething ();
36+
37+ function doSomething () {}
38+ ```
39+
3140## Naming conventions
3241### Consistency and disambiguation
3342
You can’t perform that action at this time.
0 commit comments