Skip to content

Commit fb10a11

Browse files
committed
Update example
1 parent 875158e commit fb10a11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

etc/eslint/rules/variables.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ rules[ 'no-restricted-globals' ] = [ 'error', 'event', 'fdescribe' ];
122122
*
123123
* @example
124124
* // Bad...
125-
* function NaN(){}
125+
* function NaN() {
126+
* // Do something...
127+
* }
126128
*/
127129
rules[ 'no-shadow-restricted-names' ] = 'error';
128130

0 commit comments

Comments
 (0)