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 "Remove Vector from the default LESS import path"
[lhc/web/wiklou.git]
/
.jshintrc
diff --git
a/.jshintrc
b/.jshintrc
index
c4e265a
..
c136dfc
100644
(file)
--- a/
.jshintrc
+++ b/
.jshintrc
@@
-1,42
+1,30
@@
{
{
- /* Common */
-
// Enforcing
// Enforcing
- "camelcase": true,
- "curly": true,
+ "bitwise": 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,
- "quotmark": "single",
- "trailing": true,
"undef": true,
"unused": true,
"undef": true,
"unused": true,
- // Legacy
- "onevar": true,
-
- /* Local */
-
- // Enforcing
- "bitwise": true,
- "forin": false,
- "regexp": false,
"strict": false,
"strict": false,
+
// Relaxing
"laxbreak": true,
// Relaxing
"laxbreak": true,
- "smarttabs": true,
"multistr": true,
"multistr": true,
+
// Environment
"browser": true,
// Environment
"browser": true,
- // Legacy
- "nomen": true,
- "predef": [
- "mediaWiki",
- "jQuery",
- "QUnit"
- ]
+ "globals": {
+ "mediaWiki": true,
+ "jQuery": false,
+ "QUnit": false
+ },
+
+ // Legacy (to be handled by jscs once supported)
+ "camelcase": true,
+ "nomen": true
}
}