Repository navigation
Expand file tree
/
Copy path.jscsrc
More file actions
58 lines (56 loc) · 1.5 KB
/
Copy path.jscsrc
File metadata and controls
58 lines (56 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"esnext": true,
"verbose": true,
"preset": "crockford",
"requireMultipleVarDecl": null,
"disallowDanglingUnderscores": null,
"disallowKeywords": [
"with"
],
"requireSpaceAfterKeywords": null, // ESLint handles this better
"disallowEmptyBlocks": true,
"disallowMultipleVarDecl": "strict",
"validateQuoteMarks": "\"",
"validateIndentation": 2,
"disallowSpaceAfterObjectKeys": true,
"disallowSpacesInCallExpression": true,
"disallowYodaConditions": true,
"maximumLineLength": {
"value": 120,
"allowUrlComments": true
},
"requireFunctionDeclarations": true,
"requireSemicolons": true,
"validateLineBreaks": "LF",
"validateParameterSeparator": ", ",
"requireBlocksOnNewline": 1,
"requireSpacesInAnonymousFunctionExpression": {
"beforeOpeningCurlyBrace": true,
"beforeOpeningRoundBrace": true,
"allExcept": ["shorthand"]
},
"excludeFiles": [
"node_modules",
"benchmark/browser-bundle.js",
"test/worker-bundle.js",
"lib/jsdom/browser/htmltodom.js",
"lib/jsdom/browser/default-stylesheet.js",
"lib/jsdom/level2/style.js",
"lib/jsdom/level3/xpath.js",
"lib/jsdom/living/generated/**",
"test/browser/files",
"test/browser/index.js",
"test/jquery-fixtures",
"test/jsdom/files",
"test/jsdom/leak.js",
"test/level1",
"test/level2",
"test/level3",
"test/sizzle",
"test/web-platform-tests/tests",
"test/window/files",
"test/window/frame.js",
"test/window/script.js",
"test/*.js"
]
}