diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2014-12-01 11:32:13 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2014-12-01 11:33:07 +0100 |
commit | e4ba9ee7a8f98bd291994d6e822ea8ef52ecc14c (patch) | |
tree | 648255bd59f3b223b1afa682c1e89e774b9dfcfb /server/sonar-web/.jshintrc | |
parent | 5568c4d155a1bb9913b58adfce75467dd15882ea (diff) | |
download | sonarqube-e4ba9ee7a8f98bd291994d6e822ea8ef52ecc14c.tar.gz sonarqube-e4ba9ee7a8f98bd291994d6e822ea8ef52ecc14c.zip |
Add grunt jshint
Diffstat (limited to 'server/sonar-web/.jshintrc')
-rw-r--r-- | server/sonar-web/.jshintrc | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/server/sonar-web/.jshintrc b/server/sonar-web/.jshintrc new file mode 100644 index 00000000000..64b4d1198ff --- /dev/null +++ b/server/sonar-web/.jshintrc @@ -0,0 +1,84 @@ +{ + "maxerr": 50, + + "bitwise": true, + "camelcase": false, + "curly": true, + "eqeqeq": true, + "forin": true, + "freeze": true, + "immed": false, + "indent": 2, + "latedef": false, + "newcap": false, + "noarg": true, + "noempty": true, + "nonbsp": true, + "nonew": false, + "plusplus": false, + "quotmark": "single", + "undef": true, + "unused": true, + "strict": false, + "maxparams": false, + "maxdepth": 4, + "maxstatements": false, + "maxcomplexity": false, + "maxlen": 120, + + "asi": false, + "boss": false, + "debug": false, + "eqnull": true, + "esnext": false, + "moz": false, + "evil": false, + "expr": false, + "funcscope": false, + "globalstrict": false, + "iterator": false, + "lastsemic": false, + "laxbreak": false, + "laxcomma": false, + "loopfunc": false, + "multistr": false, + "noyield": false, + "notypeof": false, + "proto": false, + "scripturl": false, + "shadow": false, + "sub": false, + "supernew": false, + "validthis": false, + + "browser": true, + "browserify": false, + "couch": false, + "devel": true, + "dojo": false, + "jasmine": false, + "jquery": true, + "mocha": false, + "mootools": false, + "node": false, + "nonstandard": false, + "prototypejs": false, + "qunit": false, + "rhino": false, + "shelljs": false, + "worker": false, + "wsh": false, + "yui": false, + + "globals": { + "jQuery": true, + "$j": true, + "_": true, + "define": true, + "requirejs": true, + "console": true, + "baseUrl": true, + "key": true, + "Backbone": true + } +} |