Created
March 11, 2015 23:16
-
-
Save kentcdodds/c74aff28b03c8090861f to your computer and use it in GitHub Desktop.
.jshint config for my work project
This file contains hidden or 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
| { | |
| "curly": true, | |
| "eqeqeq": true, | |
| "bitwise": true, | |
| "camelcase": true, | |
| "expr": true, | |
| "esnext": true, | |
| "forin": true, | |
| "freeze": true, | |
| "immed": true, | |
| "indent": 2, | |
| "latedef": "nofunc", | |
| "newcap": true, | |
| "noarg": true, | |
| "noempty": true, | |
| "nonbsp": true, | |
| "quotmark": "single", | |
| "undef": true, | |
| "unused": "vars", | |
| "strict": false, | |
| "trailing": true, | |
| "maxdepth": 4, | |
| "maxstatements": 30, | |
| "maxcomplexity": 5, | |
| "maxlen": 120, | |
| "browser": true, | |
| "node": true, | |
| "globals": { | |
| "angular": true, | |
| "ATAC_CONFIG": true, | |
| "ON_DEV": true, | |
| "ON_PROD": true, | |
| "ON_TEST": true, | |
| "inject": true, | |
| "module": true, | |
| "before": true, | |
| "beforeEach": true, | |
| "after": true, | |
| "afterEach": true, | |
| "describe": true, | |
| "it": true, | |
| "expect": true, | |
| "sinon": true | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment