Skip to content

Instantly share code, notes, and snippets.

@tiagolpadua
Last active August 22, 2016 15:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagolpadua/574181bceb23a441b9ca2f689ef2f217 to your computer and use it in GitHub Desktop.
Save tiagolpadua/574181bceb23a441b9ca2f689ef2f217 to your computer and use it in GitHub Desktop.
{
"language": {
"javascript": {
"linting.prefer": "JSHint",
"linting.usePreferredOnly": true
}
}
}
{
"bitwise": true,
"camelcase": true,
"curly": true,
"eqeqeq": true,
"esversion": 6,
"forin": true,
"freeze": true,
"immed": true,
"indent": 4,
"latedef": "nofunc",
"newcap": true,
"noarg": true,
"noempty": true,
"nonbsp": true,
"nonew": true,
"plusplus": false,
"quotmark": "single",
"undef": true,
"unused": false,
"strict": false,
"maxparams": 10,
"maxdepth": 5,
"maxstatements": 40,
"maxcomplexity": 8,
"maxlen": 120,
"asi": false,
"boss": false,
"debug": false,
"eqnull": true,
"esnext": false,
"evil": false,
"expr": false,
"funcscope": false,
"globalstrict": false,
"iterator": false,
"lastsemic": false,
"laxbreak": false,
"laxcomma": false,
"loopfunc": true,
"maxerr": 50,
"moz": false,
"multistr": false,
"notypeof": false,
"proto": false,
"scripturl": false,
"shadow": false,
"sub": true,
"supernew": false,
"validthis": false,
"noyield": false,
"browser": true,
"node": true,
"globals": {
"angular": false,
"$": false
}
}
  1. No lado direito do editor, clique em plugins (parece uma peça de lego) -> Available -> Procure por jshint -> Clique em "Install"
  2. Crie na raiz do projeto o arquivo .jshintrc com conteúdo do arquivo neste gist
  3. Crie na raiz do projeto o arquivo .brackets.json com conteúdo do arquivo neste gist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment