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": [
|
||||
"jQuery",
|
||||
"QUnit",
|
||||
"_",
|
||||
"mediaWiki"
|
||||
],
|
||||
/* Common */
|
||||
|
||||
// Enforcing
|
||||
"camelcase": true,
|
||||
"curly": true,
|
||||
"eqeqeq": true,
|
||||
@@ -15,15 +11,30 @@
|
||||
"noarg": true,
|
||||
"noempty": true,
|
||||
"nonew": true,
|
||||
"plusplus": false,
|
||||
"quotmark": "single",
|
||||
"trailing": true,
|
||||
"undef": true,
|
||||
"unused": true,
|
||||
"strict": true,
|
||||
"trailing": true,
|
||||
"laxbreak": true,
|
||||
"browser": true,
|
||||
"nomen": true,
|
||||
// Legacy
|
||||
"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