Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.jscs.json « js - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 313bfb6901dfa5834e9fc187a8259c6d9868fea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "disallowKeywords": ["with"],
  "requireLeftStickedOperators": [","],
  "disallowLeftStickedOperators": ["?", "+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
  "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
  "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~"],
  "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
  "requireLineFeedAtFileEnd": true,
  "requireRightStickedOperators": ["!"],
  "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
  "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
  "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
  "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
  "validateLineBreaks": "LF"
}