mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-13 18:36:57 +00:00
3d103f09b5
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
8 lines
195 B
Plaintext
8 lines
195 B
Plaintext
{
|
|
"preset": "wikimedia",
|
|
"validateQuoteMarks": { "mark": "'", "escape": true },
|
|
"requireVarDeclFirst": null,
|
|
"requireMultipleVarDecl": null,
|
|
"requireCamelCaseOrUpperCaseIdentifiers": null
|
|
}
|