File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
docs/style-guides/javascript Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2568,6 +2568,8 @@ var foo = bar || null;
25682568
25692569- In general, prefer placing the comment above the comment subject and place an empty line above the comment.
25702570
2571+ <!-- eslint- disable stdlib/ empty- line- before- comment -->
2572+
25712573 ` ` ` javascript
25722574 // Okay for short comments (sometimes)...
25732575 var foo = bar || null; // bar can be ` 0 `
@@ -2580,6 +2582,8 @@ var foo = bar || null;
25802582 var bap = 'bap';
25812583 ` ` `
25822584
2585+ <!-- eslint- enable stdlib/ empty- line- before- comment -->
2586+
25832587##### Enforcement
25842588
25852589Code review . TODO : ESLint rule (? ).
@@ -3458,6 +3462,7 @@ Prevents variable leakage.
34583462 ' use strict' ;
34593463
34603464 var beep = ' boop' ;
3465+
34613466 // ...
34623467})();
34633468```
You can’t perform that action at this time.
0 commit comments