Skip to content

Commit 706b08d

Browse files
committed
npm Fix security
1 parent b5d4e59 commit 706b08d

File tree

3 files changed

+1384
-9
lines changed

3 files changed

+1384
-9
lines changed

.jscs.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,14 @@ module.exports = {
4545
requireCapitalizedConstructors: true,
4646
safeContextKeyword: ['_this'],
4747
disallowYodaConditions: true,
48-
validateJSDoc: {
48+
requireSpaceAfterLineComment: true,
49+
disallowNewlineBeforeBlockStatements: true,
50+
plugins: [
51+
'jscs-jsdoc'
52+
],
53+
jsDoc: {
4954
checkParamNames: true,
5055
checkRedundantParams: true,
5156
requireParamTypes: true
52-
},
53-
requireSpaceAfterLineComment: true,
54-
disallowNewlineBeforeBlockStatements: true
57+
}
5558
};

0 commit comments

Comments
 (0)