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

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