Skip to content

Commit 41af93c

Browse files
ahwayakchihchiawendt
authored andcommitted
fix(check-indentation): fix code style issue
1 parent d7aa4e8 commit 41af93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/checkIndentation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import iterateJsdoc from '../iterateJsdoc';
22

33
const maskExamples = (str, excludeTags) => {
4-
const regExamples = new RegExp(`([ \\t]+\\*)[ \\t]@(?:${excludeTags.join('|')})(?=[ \\n])([\\w|\\W]*?\\n)(?=[ \\t]*\\*(?:[ \\t]*@|\\/))`,'g');
4+
const regExamples = new RegExp(`([ \\t]+\\*)[ \\t]@(?:${excludeTags.join('|')})(?=[ \\n])([\\w|\\W]*?\\n)(?=[ \\t]*\\*(?:[ \\t]*@|\\/))`, 'g');
55

66
return str.replace(regExamples, (match, margin, code) => {
77
return (new Array(code.match(/\n/g).length + 1)).join(margin + '\n');

0 commit comments

Comments
 (0)