npm install --save-dev jscs-preset-wikimedia
Configure JSCS with a .jscsrc
file using the following contents:
{
"preset": "wikimedia"
}
Over time, JSCS implements new rules, alter existing ones, and retire old ones. Changes to the Wikimedia preset should be made as pull requests to this repo, with issues raised on Phabricator.
Major changes should be discussed [on mediawiki.org](https://www.mediawiki.org/wiki/Manual talk:Coding_conventions/JavaScript) or on the Wikitech mailing list beforehand.
MIT. See LICENSE.