Update .jshintrc
Change-Id: I9e2add1dac6bf76b4efc0bdf799b731333b28376
This commit is contained in:
committed by
Gerrit Code Review
parent
02654e58ef
commit
e5f3f95b2f
37
.jshintrc
37
.jshintrc
@@ -1,11 +1,7 @@
|
|||||||
{
|
{
|
||||||
"predef": [
|
/* Common */
|
||||||
"jQuery",
|
|
||||||
"QUnit",
|
|
||||||
"_",
|
|
||||||
"mediaWiki"
|
|
||||||
],
|
|
||||||
|
|
||||||
|
// Enforcing
|
||||||
"camelcase": true,
|
"camelcase": true,
|
||||||
"curly": true,
|
"curly": true,
|
||||||
"eqeqeq": true,
|
"eqeqeq": true,
|
||||||
@@ -15,15 +11,30 @@
|
|||||||
"noarg": true,
|
"noarg": true,
|
||||||
"noempty": true,
|
"noempty": true,
|
||||||
"nonew": true,
|
"nonew": true,
|
||||||
"plusplus": false,
|
|
||||||
"quotmark": "single",
|
"quotmark": "single",
|
||||||
|
"trailing": true,
|
||||||
"undef": true,
|
"undef": true,
|
||||||
"unused": true,
|
"unused": true,
|
||||||
"strict": true,
|
// Legacy
|
||||||
"trailing": true,
|
|
||||||
"laxbreak": true,
|
|
||||||
"browser": true,
|
|
||||||
"nomen": true,
|
|
||||||
"onevar": true,
|
"onevar": true,
|
||||||
"white": false
|
|
||||||
|
/* Local */
|
||||||
|
|
||||||
|
// Enforcing
|
||||||
|
"bitwise": true,
|
||||||
|
"forin": false,
|
||||||
|
"regexp": false,
|
||||||
|
"strict": true,
|
||||||
|
// Relaxing
|
||||||
|
"laxbreak": true,
|
||||||
|
"smarttabs": true,
|
||||||
|
"multistr": true,
|
||||||
|
// Environment
|
||||||
|
"browser": true,
|
||||||
|
|
||||||
|
"predef": [
|
||||||
|
"mediaWiki",
|
||||||
|
"jQuery",
|
||||||
|
"QUnit"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user