##// END OF EJS Templates
hgweb: add .jshintrc with some basic rules...
av6 -
r35163:bdd2e18b default
parent child Browse files
Show More
@@ -0,0 +1,11 b''
1 {
2 // Enforcing
3 "eqeqeq" : true, // true: Require triple equals (===) for comparison
4 "forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty()
5 "freeze" : true, // true: prohibits overwriting prototypes of native objects such as Array, Date etc.
6 "nonbsp" : true, // true: Prohibit "non-breaking whitespace" characters.
7 "undef" : true, // true: Require all non-global variables to be declared (prevents global leaks)
8
9 // Environments
10 "browser" : true // Web Browser (window, document, etc)
11 }
@@ -44,6 +44,7 b' Prevent adding new files in the root dir'
44 .hgignore
44 .hgignore
45 .hgsigs
45 .hgsigs
46 .hgtags
46 .hgtags
47 .jshintrc
47 CONTRIBUTING
48 CONTRIBUTING
48 CONTRIBUTORS
49 CONTRIBUTORS
49 COPYING
50 COPYING
General Comments 0
You need to be logged in to leave comments. Login now