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
b86ceb5
..
c136dfc
100644
(file)
--- a/
.jshintrc
+++ b/
.jshintrc
@@
-1,30
+1,30
@@
{
{
- "predef": [
- "mediaWiki",
- "QUnit"
- ],
-
+ // Enforcing
"bitwise": true,
"bitwise": true,
- "curly": true,
"eqeqeq": true,
"eqeqeq": true,
- "immed": true,
+ "es3": true,
+ "freeze": true,
"latedef": true,
"latedef": true,
- "newcap": true,
"noarg": true,
"noarg": true,
- "noempty": true,
"nonew": true,
"nonew": true,
- "regexp": false,
"undef": true,
"undef": true,
+ "unused": true,
"strict": false,
"strict": false,
- "trailing": true,
+ // Relaxing
"laxbreak": true,
"laxbreak": true,
- "smarttabs": true,
"multistr": true,
"multistr": true,
+ // Environment
"browser": true,
"browser": true,
- "jquery": true,
- "nomen": true,
- "onevar": true
+ "globals": {
+ "mediaWiki": true,
+ "jQuery": false,
+ "QUnit": false
+ },
+
+ // Legacy (to be handled by jscs once supported)
+ "camelcase": true,
+ "nomen": true
}
}