Skip to content

Commit e51d1da

Browse files
committed
JSCS update
1 parent 1319942 commit e51d1da

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.jscs.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
"return",
1818
"catch"
1919
],
20+
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
21+
"disallowSpacesInFunctionExpression": { "beforeOpeningRoundBrace": true },
2022
"disallowMultipleVarDecl": true,
2123
"disallowLeftStickedOperators": [
2224
"?",
@@ -60,14 +62,15 @@
6062
"string"
6163
],
6264
"disallowKeywords": ["with"],
63-
"disallowMulipleLineBreaks": true,
6465
"disallowKeywordsOnNewLine": ["else", "catch"],
6566
"requireLineFeedAtFileEnd": true,
6667
"validateJSDoc": {
6768
"checkParamNames": true,
69+
"checkRedundantParams": true,
6870
"requireParamTypes": true
6971
},
7072
"requireSpacesInsideObjectBrackets": "all",
7173
"disallowSpacesInsideArrayBrackets": true,
72-
"disallowSpaceAfterObjectKeys": true
74+
"disallowSpaceAfterObjectKeys": true,
75+
"disallowQuotedKeysInObjects": true
7376
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"devDependencies": {
3131
"jshint-groups": "0.5.1",
3232
"jshint": "2.1.7",
33-
"jscs": "1.0.2",
33+
"jscs": "1.0.5",
3434
"mocha": "1.11.0"
3535
},
3636
"main": "./lib/csscomb.js",

0 commit comments

Comments
 (0)