mediawiki-extensions-WikiEd.../.jscsrc
Fomafix 3d103f09b5 JavaScript: Use single quotes instead of double quotes for
strings

* This avoids escaping of double quotes.
* Exceptions: "''" and "'''"
* https://www.mediawiki.org/wiki/Manual:Coding_conventions/JavaScript#Quotes

Set "validateQuoteMarks": { "mark": "'", "escape": true } in .jscsrc
This tests for single quotes but allows double quotes to avoid escaping.

Change-Id: Ibd32a63c4c97a7ef8938c6d2dff83b952cfca43e
2016-02-07 18:22:06 +00:00

8 lines
195 B
Plaintext

{
"preset": "wikimedia",
"validateQuoteMarks": { "mark": "'", "escape": true },
"requireVarDeclFirst": null,
"requireMultipleVarDecl": null,
"requireCamelCaseOrUpperCaseIdentifiers": null
}