From 137a78457cd9507427f2117e825e0f873c0d4642 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Mon, 8 Feb 2016 00:27:43 +0100 Subject: [PATCH] Add jshintrc. --- .jshintrc | 22 ++++++++++++++++++++++ grunt-config/jshint.js | 1 + 2 files changed, 23 insertions(+) create mode 100644 .jshintrc 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: [