Last active
December 31, 2015 10:19
-
-
Save simondell/7972439 to your computer and use it in GitHub Desktop.
Coding style and code lint habits for developing browser-based projects. Some of the options are simply using the default values, but I felt it was worthwhile to actually encode my preferences explicitly.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"predef" : [], | |
"camelcase" : 1, | |
"curly" : 1, | |
"eqeqeq" : 1, | |
"forin" : 1, | |
"freeze": 0, | |
"immed" : 1, | |
"indent": 2, | |
"latedef" : "nofunc", | |
"newcap" : 1, | |
"noarg" : 1, | |
"noempty" : 1, | |
"nonew" : 1, | |
"plusplus" : 0, | |
"quotmark": "single", | |
"undef" : 1, | |
"unused" : 1, | |
"strict" : 1, | |
"trailing" : 1, | |
"asi" : 0, | |
"boss" : 0, | |
"evil": 0, | |
"lastsemic" : 0, | |
"laxcomma" : 0, | |
"smarttabs": 1, | |
"sub": 1, | |
"browser": 1, | |
"devel": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment