forked from wagtail/wagtail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.jscsrc
37 lines (37 loc) · 2 KB
/
.jscsrc
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
{
"validateIndentation": 4,
"safeContextKeyword": ["_this", "widget", "jcropapi"],
"requireSpaceBeforeKeywords": [
"else",
"while",
"catch"
],
"disallowMultipleVarDecl": "exceptUndefined",
"excludeFiles": [
"node_modules/**",
"**/*.min.js",
"**/vendor/**/*.js",
"./wagtail/wagtailadmin/static/**",
"./wagtail/wagtailadmin/templates/wagtailadmin/edit_handlers/inline_panel.js",
"./wagtail/contrib/wagtailsearchpromotions/templates/wagtailsearchpromotions/includes/searchpromotions_formset.js",
"./wagtail/wagtailusers/templates/wagtailusers/groups/includes/page_permissions_formset.js",
"./wagtail/wagtailsnippets/templates/wagtailsnippets/chooser/chosen.js",
"./wagtail/wagtailimages/templates/wagtailimages/chooser/image_chosen.js",
"./wagtail/wagtailimages/templates/wagtailimages/chooser/chooser.js",
"./wagtail/wagtailsearch/templates/wagtailsearch/queries/chooser/chooser.js",
"./wagtail/wagtailimages/templates/wagtailimages/chooser/select_format.js",
"./wagtail/wagtailembeds/templates/wagtailembeds/chooser/embed_chosen.js",
"./wagtail/wagtailembeds/templates/wagtailembeds/chooser/chooser.js",
"./wagtail/wagtaildocs/templates/wagtaildocs/chooser/chooser.js",
"./wagtail/wagtaildocs/templates/wagtaildocs/chooser/document_chosen.js",
"./wagtail/wagtailadmin/templates/wagtailadmin/page_privacy/set_privacy.js",
"./wagtail/wagtailadmin/templates/wagtailadmin/chooser/external_link_chosen.js",
"./wagtail/wagtailadmin/templates/wagtailadmin/chooser/external_link.js",
"./wagtail/wagtailadmin/templates/wagtailadmin/chooser/email_link.js",
"./wagtail/wagtailadmin/templates/wagtailadmin/chooser/browse.js",
"./wagtail/wagtailadmin/templates/wagtailadmin/page_privacy/set_privacy_done.js"
],
"fileExtensions": [".js"],
"preset":"airbnb",
"requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties"
}