JSHint: Add .jshintrc

Based on settings from MediaWiki core.

Change-Id: I71345f6906d430fcca750c995a689f785831e3f8
This commit is contained in:
Antoine Musso 2013-01-18 12:45:22 +01:00 committed by Timo Tijhof
parent b029a4037e
commit b13ec348ac
1 changed files with 31 additions and 0 deletions

31
.jshintrc Normal file
View File

@ -0,0 +1,31 @@
{
"predef": [
"mediaWiki",
"jQuery"
],
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"forin": false,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"quotmark": "single",
"regexp": false,
"undef": true,
"unused": true,
"strict": false,
"trailing": true,
"smarttabs": true,
"browser": true,
"nomen": true,
"onevar": true
}