| Conditions | 1 |
| Paths | 1 |
| Total Lines | 45 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | module.exports = function (grunt) { |
||
| 2 | var jsResources = []; |
||
| 3 | // Project configuration. |
||
| 4 | grunt.initConfig({ |
||
| 5 | jsResources: [], |
||
| 6 | cssResources: [], |
||
| 7 | pkg: grunt.file.readJSON('package.json'), |
||
| 8 | jshint: { |
||
| 9 | options: { |
||
| 10 | reporter: require('jshint-stylish'), |
||
| 11 | curly: false, |
||
| 12 | eqeqeq: true, |
||
| 13 | eqnull: true, |
||
| 14 | browser: true, |
||
| 15 | globals: { |
||
| 16 | "angular": true, |
||
| 17 | "PassmanImporter": true, |
||
| 18 | "PassmanExporter": true, |
||
| 19 | "OC": true, |
||
| 20 | "window": true, |
||
| 21 | "console": true, |
||
| 22 | "CRYPTO": true, |
||
| 23 | "C_Promise": true, |
||
| 24 | "forge": true, |
||
| 25 | "sjcl": true, |
||
| 26 | "jQuery": true, |
||
| 27 | "$": true, |
||
| 28 | "_": true, |
||
| 29 | "oc_requesttoken": true |
||
| 30 | } |
||
| 31 | }, |
||
| 32 | all: ['js/*','!js/vendor'] |
||
| 33 | } |
||
| 34 | |||
| 35 | }); |
||
| 36 | |||
| 37 | // Load the plugin that provides the "uglify" task. |
||
| 38 | grunt.loadNpmTasks('grunt-contrib-jshint'); |
||
| 39 | |||
| 40 | |||
| 41 | // Default task(s). |
||
| 42 | |||
| 43 | grunt.registerTask('hint', ['jshint']); |
||
| 44 | |||
| 45 | }; |