dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Load previous tags in ChangeTags::addTags() from DB_MASTER"
[lhc/web/wiklou.git]
/
.jshintrc
diff --git
a/.jshintrc
b/.jshintrc
index
5fb1173
..
c136dfc
100644
(file)
--- a/
.jshintrc
+++ b/
.jshintrc
@@
-1,24
+1,30
@@
{
{
- "predef": [
- "mediaWiki",
- "mw",
- "QUnit"
- ],
-
+ // Enforcing
"bitwise": true,
"bitwise": true,
- "curly": true,
"eqeqeq": true,
"eqeqeq": true,
- "immed": true,
+ "es3": true,
+ "freeze": true,
"latedef": true,
"latedef": true,
- "n
ewcap
": true,
- "no
empty
": true,
+ "n
oarg
": true,
+ "no
new
": true,
"undef": true,
"undef": true,
- "trailing": true,
+ "unused": true,
+ "strict": false,
+ // Relaxing
"laxbreak": true,
"laxbreak": true,
- "smarttabs": true,
"multistr": true,
"multistr": true,
+ // Environment
"browser": true,
"browser": true,
- "jquery": true
+
+ "globals": {
+ "mediaWiki": true,
+ "jQuery": false,
+ "QUnit": false
+ },
+
+ // Legacy (to be handled by jscs once supported)
+ "camelcase": true,
+ "nomen": true
}
}