|
|
@@ -17,34 +17,7 @@ module.exports = function (grunt) {
|
|
|
jshint: {
|
|
|
files: ['Gruntfile.js', 'js/*.js', 'panels/*/*.js' ],
|
|
|
options: {
|
|
|
- bitwise: true,
|
|
|
- maxlen: 140,
|
|
|
- curly: true,
|
|
|
- eqeqeq: true,
|
|
|
- immed: true,
|
|
|
- indent: 2,
|
|
|
- latedef: true,
|
|
|
- newcap: true,
|
|
|
- noarg: true,
|
|
|
- sub: true,
|
|
|
- undef: true,
|
|
|
- boss: true,
|
|
|
- eqnull: true,
|
|
|
- globalstrict: true,
|
|
|
- devel: true,
|
|
|
- node: true,
|
|
|
- globals: {
|
|
|
- '$LAB': false,
|
|
|
- '_': false,
|
|
|
- '$': false,
|
|
|
- 'kbn' : false,
|
|
|
- window: false,
|
|
|
- document: false,
|
|
|
- exports: true,
|
|
|
- module: false,
|
|
|
- config: false,
|
|
|
- moment: false
|
|
|
- }
|
|
|
+ jshintrc: '.jshintrc'
|
|
|
}
|
|
|
},
|
|
|
less: {
|
|
|
@@ -70,4 +43,4 @@ module.exports = function (grunt) {
|
|
|
// Default task.
|
|
|
grunt.registerTask('default', ['jshint','less']);
|
|
|
|
|
|
-};
|
|
|
+};
|