Convert CleanUpTest to use data providers
[mediawiki.git] / .jscsrc
blob0da9aa5a2483c02402bb37d4e5284216eab4bd4b
2     "requireCurlyBraces": [
3         "if",
4         "else",
5         "for",
6         "while",
7         "do",
8         "try",
9         "catch"
10     ],
11     "requireSpaceAfterKeywords": [
12         "if",
13         "else",
14         "for",
15         "while",
16         "do",
17         "switch",
18         "return",
19         "try",
20         "catch",
21         "function"
22     ],
23     "requireSpaceBeforeBlockStatements": true,
24     "requireParenthesesAroundIIFE": true,
25     "requireSpacesInConditionalExpression": true,
26     "disallowSpacesInNamedFunctionExpression": {
27         "beforeOpeningRoundBrace": true
28     },
29     "disallowSpacesInFunctionDeclaration": {
30         "beforeOpeningRoundBrace": true
31     },
32     "requireMultipleVarDecl": "onevar",
33     "requireBlocksOnNewline": 1,
34     "disallowEmptyBlocks": true,
35     "requireSpacesInsideObjectBrackets": "all",
36     "disallowSpaceAfterObjectKeys": true,
37     "requireCommaBeforeLineBreak": true,
38     "disallowSpaceAfterPrefixUnaryOperators": [
39         "++",
40         "--",
41         "+",
42         "-",
43         "~",
44         "!"
45     ],
46     "disallowSpaceBeforePostfixUnaryOperators": [
47         "++",
48         "--"
49     ],
50     "disallowSpaceBeforeBinaryOperators": [
51         ","
52     ],
53     "requireSpaceBeforeBinaryOperators": [
54         "=",
55         "+",
56         "-",
57         "/",
58         "*",
59         "==",
60         "===",
61         "!=",
62         "!==",
63         ">",
64         ">=",
65         "<",
66         "<="
67     ],
68     "requireSpaceAfterBinaryOperators": [
69         "=",
70         "+",
71         "-",
72         "/",
73         "*",
74         "==",
75         "===",
76         "!=",
77         "!==",
78         ">",
79         ">=",
80         "<",
81         "<="
82     ],
83     "disallowKeywords": [ "with" ],
84     "disallowMultipleLineBreaks": true,
85     "validateLineBreaks": "LF",
86     "validateQuoteMarks": "'",
87     "disallowMixedSpacesAndTabs": true,
88     "disallowTrailingWhitespace": true,
89     "disallowTrailingComma": true,
90     "requireLineFeedAtFileEnd": true,
91     "requireCapitalizedConstructors": true,
92     "requireDotNotation": true,
93     "disallowYodaConditions": true