Permalink
Browse files

Add a jshintrc file.

  • Loading branch information...
1 parent c5d8c2e commit d204005d2ea24d5e5b99cbfae3e705a5cca24fe6 @nelstrom committed May 8, 2011
Showing with 44 additions and 0 deletions.
  1. +1 −0 README.markdown
  2. +43 −0 jshintrc
View
@@ -17,6 +17,7 @@ Create symlinks:
ln -s ~/dotfiles/irbrc ~/.irbrc
ln -s ~/dotfiles/vim ~/.vim
ln -s ~/dotfiles/ctags ~/.ctags
+ ln -s ~/dotfiles/jshintrc ~/.jshintrc
I put Vim's backup and swap files in `~/tmp`, so that directory must exist. To
be sure, run:
View
@@ -0,0 +1,43 @@
+{
+ "predef": [
+ "jasmine",
+ "spyOn",
+ "it",
+ "describe",
+ "expect"
+ ],
+
+ "node" : true,
+ "es5" : true,
+ "browser" : true,
+ "jquery" : true,
+
+ "maxerr" : 100,
+ "passfail" : false,
+
+ "asi" : false,
+ "bitwise" : true,
+ "boss" : false,
+ "curly" : true,
+ "debug" : true,
+ "devel" : false,
+ "eqeqeq" : true,
+ "eqnull" : false,
+ "evil" : false,
+ "forin" : false,
+ "immed" : true,
+ "laxbreak" : false,
+ "newcap" : true,
+ "noarg" : true,
+ "noempty" : false,
+ "nonew" : true,
+ "nomen" : false,
+ "onevar" : true,
+ "plusplus" : false,
+ "regexp" : true,
+ "undef" : true,
+ "sub" : false,
+ "strict" : false,
+ "white" : true
+}
+

0 comments on commit d204005

Please sign in to comment.