wagtail/.jscsrc

38 wiersze
2.0 KiB
Plaintext

{
"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"
}