Completed
Push — master ( f224bc...4ef394 )
by Sander
01:15
created

module.exports   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 45

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 45
rs 8.8571
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
};