mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-12-23 21:33:09 +00:00
f83cade885
Adds a basic .jshintrc based on the common settings from the coding conventions page and removes unused variable mw. Bug: 61616 Change-Id: I579f0528c3c57de46449457087f441c88229379b
26 lines
325 B
Plaintext
26 lines
325 B
Plaintext
{
|
|
"predef": [
|
|
"jQuery"
|
|
],
|
|
|
|
/* Common */
|
|
|
|
// Enforcing
|
|
"camelcase": true,
|
|
"curly": true,
|
|
"eqeqeq": true,
|
|
"immed": true,
|
|
"latedef": true,
|
|
"newcap": true,
|
|
"noarg": true,
|
|
"noempty": true,
|
|
"nonew": true,
|
|
"quotmark": "single",
|
|
"trailing": true,
|
|
"undef": true,
|
|
"unused": true,
|
|
|
|
// Environment
|
|
"browser": true
|
|
}
|