mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-30 18:04:27 +00:00
b6e9f6cca4
Instead of running the jshint test through jenkins, Run it through npm instead. Also add composer.json for running php code sniffer and phplint instead of running phplint through jenkins. Also update grunt-jsonlint to 1.0.6 Change-Id: Icd9aa1b1c7213d056aa5294a804341053141b0bd
31 lines
415 B
Plaintext
31 lines
415 B
Plaintext
{
|
|
// Enforcing
|
|
"bitwise": true,
|
|
"curly": true,
|
|
"eqeqeq": true,
|
|
"freeze": true,
|
|
"latedef": true,
|
|
"immed": true,
|
|
"newcap": true,
|
|
"noarg": true,
|
|
"noempty": true,
|
|
"nonew": true,
|
|
"quotmark": "single",
|
|
"strict": false,
|
|
"trailing": true,
|
|
"undef": true,
|
|
"unused": true,
|
|
|
|
// Relaxing
|
|
"es5": false,
|
|
|
|
// Environment
|
|
"browser": true,
|
|
"jquery": true,
|
|
|
|
"globals": {
|
|
"mediaWiki": false,
|
|
"OO": false
|
|
}
|
|
}
|