diff options
| author | Chris Rebert <[email protected]> | 2013-12-06 16:51:38 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2013-12-06 17:26:07 -0800 |
| commit | c1dae1e13c0dd5c53aa39b6aa6af8e07e4d3037f (patch) | |
| tree | 365f373ec274f446c7f11a6442ed6995adb98e93 /js | |
| parent | 351f86e1db6bbb5f37e67323094fc08f4aeceecd (diff) | |
| download | bootstrap-c1dae1e13c0dd5c53aa39b6aa6af8e07e4d3037f.tar.xz bootstrap-c1dae1e13c0dd5c53aa39b6aa6af8e07e4d3037f.zip | |
integrate JSCS
Diffstat (limited to 'js')
| -rw-r--r-- | js/.jscs.json | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/js/.jscs.json b/js/.jscs.json new file mode 100644 index 000000000..2f04d9cd6 --- /dev/null +++ b/js/.jscs.json @@ -0,0 +1,14 @@ +{ + "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return"], + "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true }, + "disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], + "requireRightStickedOperators": ["!"], + "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="], + "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"], + "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"], + "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], + "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="], + "disallowKeywords": ["with"], + "validateLineBreaks": "LF", + "requireLineFeedAtFileEnd": true +} |
