diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000..816c06f --- /dev/null +++ b/.jshintrc @@ -0,0 +1,22 @@ +{ + "bitwise": true, + "browser": true, + "curly": true, + "eqeqeq": true, + "esnext": true, + "latedef": true, + "noarg": true, + "node": true, + "strict": true, + "undef": true, + "unused": true, + "quotmark": "single", + "indent": 2, + "jquery": true, + "globals": { + "angular": false, + "moment": false, + "bootbox": false, + "Highcharts": false + } +} diff --git a/grunt-config/jshint.js b/grunt-config/jshint.js index 8a2c798..907fc01 100644 --- a/grunt-config/jshint.js +++ b/grunt-config/jshint.js @@ -1,5 +1,6 @@ module.exports = { options: { + jshintrc: '.jshintrc', reporter: require('jshint-stylish') }, frontend_js: [