Add .jshintrc

Change-Id: Ia0df2fa9b2708a7b671052225e8a41094ae19522
This commit is contained in:
Timo Tijhof 2014-01-10 23:26:55 +01:00
parent b41c2a54fb
commit cc44db625b

32
.jshintrc Normal file
View file

@ -0,0 +1,32 @@
{
/* 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 */
// Environment
"browser": true,
// Legacy
"nomen": true,
"predef": [
"mediaWiki",
"jQuery"
]
}