File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1113,6 +1113,49 @@ rules[ 'stdlib/jsdoc-no-heading-content-indent' ] = 'error';
11131113*/
11141114rules [ '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*
You can’t perform that action at this time.
0 commit comments