Skip to content

Commit

Permalink
Changes to JSCS spacing rules
Browse files Browse the repository at this point in the history
modified:   .jscsrc based on discussion in November 28, 2016 Authoring Practices teleconference.
We agree to experiment with allowing multiple spaces and allow spaces after object keys
to allow for alignment  that is intended to improve readability.
Rationale: the purpose of the code is primarily pedigogical.
  • Loading branch information
mcking65 committed Nov 28, 2016
1 parent 51aa7dc commit 0b4cd49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"disallowKeywords": ["with"],
"disallowMixedSpacesAndTabs": true,
"disallowMultipleLineBreaks": true,
"disallowMultipleSpaces": true,
"disallowMultipleSpaces": false,
"disallowNewlineBeforeBlockStatements": true,
"disallowOperatorBeforeLineBreak": [
"?",
Expand All @@ -30,7 +30,7 @@
"&&"
],
"disallowQuotedKeysInObjects": false,
"disallowSpaceAfterObjectKeys": true,
"disallowSpaceAfterObjectKeys": false,
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "~", "!"],
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
"disallowSpacesInCallExpression": true,
Expand Down

0 comments on commit 0b4cd49

Please sign in to comment.