mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
b463c5d377
Due to the "es5: true" jshint option we enabled, these
warnings were surpressed. I've disabled the option since
we no longer require it. It was enabled in 07c86fc
to fix
a bug with jshint. This bug has now been fixed.
Change-Id: I55b7d031eb5581af5f733f050cf2ea98dacb2af6
45 lines
604 B
Plaintext
45 lines
604 B
Plaintext
{
|
|
/* 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,
|
|
// Legacy
|
|
"onevar": true,
|
|
|
|
/* Local */
|
|
|
|
// Enforcing
|
|
"bitwise": true,
|
|
"forin": false,
|
|
"plusplus": false,
|
|
"regexp": true,
|
|
"strict": false,
|
|
// Relaxing
|
|
"es5": false,
|
|
"multistr": true,
|
|
"smarttabs": true,
|
|
// Environment
|
|
"browser": true,
|
|
"jquery": true,
|
|
// Legacy
|
|
"nomen": true,
|
|
|
|
"predef": [
|
|
"ve",
|
|
"unicodeJS",
|
|
"QUnit"
|
|
]
|
|
}
|