Skip to content

Commit 0eba9c9

Browse files
committed
chore: update devDeps; lint
1 parent c4bda06 commit 0eba9c9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dependencies": {
88
"comment-parser": "^0.6.2",
99
"debug": "^4.1.1",
10-
"jsdoctypeparser": "5.0.1",
10+
"jsdoctypeparser": "^5.0.1",
1111
"lodash": "^4.17.15",
1212
"object.entries-ponyfill": "^1.0.1",
1313
"regextras": "^0.6.1"
@@ -20,17 +20,17 @@
2020
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
2121
"@babel/preset-env": "^7.6.2",
2222
"@babel/register": "^7.6.2",
23-
"@typescript-eslint/parser": "^2.3.1",
23+
"@typescript-eslint/parser": "^2.3.2",
2424
"babel-eslint": "^10.0.3",
2525
"babel-plugin-add-module-exports": "^1.0.2",
2626
"babel-plugin-istanbul": "^5.2.0",
2727
"chai": "^4.2.0",
28-
"eslint": "6.4.0",
28+
"eslint": "6.5.1",
2929
"eslint-config-canonical": "^17.7.0",
3030
"gitdown": "^3.1.1",
3131
"glob": "^7.1.4",
32-
"husky": "^3.0.5",
33-
"mocha": "^6.2.0",
32+
"husky": "^3.0.8",
33+
"mocha": "^6.2.1",
3434
"nyc": "^14.1.1",
3535
"semantic-release": "^15.13.24",
3636
"typescript": "^3.6.3"

src/rules/checkIndentation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ const maskExcludedContent = (str, excludeTags) => {
44
const regContent = new RegExp(`([ \\t]+\\*)[ \\t]@(?:${excludeTags.join('|')})(?=[ \\n])([\\w|\\W]*?\\n)(?=[ \\t]*\\*(?:[ \\t]*@|\\/))`, 'g');
55

66
return str.replace(regContent, (match, margin, code) => {
7-
return (new Array(code.match(/\n/g).length + 1)).join(margin + '\n');
7+
return new Array(code.match(/\n/g).length + 1).join(margin + '\n');
88
});
99
};
1010

1111
const maskCodeBlocks = (str) => {
1212
const regContent = /([ \t]+\*)[ \t]```[^\n]*?([\w|\W]*?\n)(?=[ \t]*\*(?:[ \t]*(?:```|@)|\/))/g;
1313

1414
return str.replace(regContent, (match, margin, code) => {
15-
return (new Array(code.match(/\n/g).length + 1)).join(margin + '\n');
15+
return new Array(code.match(/\n/g).length + 1).join(margin + '\n');
1616
});
1717
};
1818

0 commit comments

Comments
 (0)