Skip to content

Commit

Permalink
Update jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 1, 2015
1 parent c35c51a commit bfa989b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .jscs.json
@@ -1,4 +1,6 @@
{
"es3": true,

"additionalRules": [],

"requireSemicolons": true,
Expand All @@ -13,6 +15,17 @@

"disallowSpaceAfterKeywords": [],

"disallowSpaceBeforeComma": true,
"disallowSpaceBeforeSemicolon": true,

"disallowNodeTypes": [
"DebuggerStatement",
"LabeledStatement",
"SwitchCase",
"SwitchStatement",
"WithStatement"
],

"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -35,7 +35,7 @@
"eslint": "^1.0.0",
"@ljharb/eslint-config": "^1.0.4",
"jasmine-node": "^1.14.5",
"jscs": "^1.13.1",
"jscs": "^2.0.0",
"uglify-js": "^2.4.24",
"replace": "^0.3.0",
"semver": "^5.0.1"
Expand Down

0 comments on commit bfa989b

Please sign in to comment.