File tree Expand file tree Collapse file tree 1 file changed +0
-36
lines changed
docs/style-guides/javascript Expand file tree Collapse file tree 1 file changed +0
-36
lines changed Original file line number Diff line number Diff line change @@ -2696,42 +2696,6 @@ Code review.
26962696
26972697<!-- </rule> -->
26982698
2699- <!-- <rule> -->
2700-
2701- ### Rule: Comment closing braces of long code blocks
2702-
2703- ##### Reason
2704-
2705- Doing so helps lessen bracket hell when dealing with long code blocks.
2706-
2707- ##### Good Example
2708-
2709- ```javascript
2710- function longFunction() {
2711- // [0] Do first thing.
2712- firstThing();
2713-
2714- // [1] Do second thing.
2715- secondThing();
2716-
2717- // [2] Do third thing.
2718- thirdThing();
2719-
2720- // ...
2721-
2722- // [N-1] Do Nth thing.
2723- nthThing();
2724-
2725- return true;
2726- } // end FUNCTION longFunction()
2727- ```
2728-
2729- ##### Enforcement
2730-
2731- Code review.
2732-
2733- <!-- </rule> -->
2734-
27352699<!-- </rule-set> -->
27362700
27372701<!-- <rule-set> -->
You can’t perform that action at this time.
0 commit comments