Skip to content

Commit 8d3d825

Browse files
committed
Enable rule
1 parent 88ce94c commit 8d3d825

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

etc/eslint/rules/stdlib.js

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,49 @@ rules[ 'stdlib/jsdoc-no-heading-content-indent' ] = 'error';
11131113
*/
11141114
rules[ 'stdlib/jsdoc-no-heading-indent' ] = 'error';
11151115

1116+
/**
1117+
* Prevent inline padding of markers.
1118+
*
1119+
* @name jsdoc-no-inline-padding
1120+
* @memberof rules
1121+
* @type {string}
1122+
* @default 'error'
1123+
*
1124+
* @example
1125+
* // Bad...
1126+
*
1127+
* /**
1128+
* * Boop: * beep *.
1129+
* *
1130+
* * @return {string} a value
1131+
* *
1132+
* * @examples
1133+
* * var str = beep();
1134+
* * // returns 'boop'
1135+
* *\/
1136+
* function beep() {
1137+
* return 'boop';
1138+
* }
1139+
*
1140+
*
1141+
* @example
1142+
* // Good...
1143+
*
1144+
* /**
1145+
* * Boop: *beep*.
1146+
* *
1147+
* * @return {string} a value
1148+
* *
1149+
* * @examples
1150+
* * var str = beep();
1151+
* * // returns 'boop'
1152+
* *\/
1153+
* function beep() {
1154+
* return 'boop';
1155+
* }
1156+
*/
1157+
rules[ 'stdlib/jsdoc-no-inline-padding' ] = 'error';
1158+
11161159
/**
11171160
* Prevent indentation of paragraph content.
11181161
*

0 commit comments

Comments
 (0)