forked from wikimedia/mediawiki-services-parsoid
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.jscsrc
More file actions
35 lines (32 loc) · 832 Bytes
/
.jscsrc
File metadata and controls
35 lines (32 loc) · 832 Bytes
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
{
"preset": "node-style-guide",
// Preserve these exceptions, they codify what we're already doing.
"requireCurlyBraces": [
"if",
"else",
"for",
"while",
"do",
"try",
"catch"
],
"validateIndentation": "\t",
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
// We'd like to eliminate these at some point, to conform with the preset.
"disallowQuotedKeysInObjects": null,
"disallowSpacesInsideParentheses": null,
"maximumLineLength": null,
"requireCapitalizedComments": null,
"requireTrailingComma": null,
"validateQuoteMarks": null,
"excludeFiles": [
"node_modules/**",
"tests/client/config.js",
"tests/server/node_modules/**",
"tests/server/static/js/jquery-min.js",
"api/localsettings.js",
"api/static/js/jquery.js",
"api/static/js/scrolling.js",
"lib/_http_agent.js"
]
}