-
Notifications
You must be signed in to change notification settings - Fork 7
/
Gruntfile.js
50 lines (46 loc) · 1.74 KB
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
module.exports = function(grunt) {
// TODO: If we ever lint everything, we can lint **/*.js or something
grunt.initConfig({
jshint: {
all: [
'Gruntfile.js',
'scripts/**/*.js',
'ljm-ffi/**/*.js',
'ljswitchboard-builder/**/*.js',
'ljswitchboard-core/**/*.js',
'ljswitchboard-io_manager/**/*.js',
'ljswitchboard-kipling_tester/**/*.js',
'ljswitchboard-kipling/**/*.js',
'ljswitchboard-ljm_driver_checker/**/*.js',
// 'ljswitchboard-module_manager/**/*.js',
// 'ljswitchboard-static_files/**/*.js',
// 'LabJack-nodejs/**/*.js',
// 'ljswitchboard-data_parser/**/*.js',
// 'ljswitchboard-device_scanner/**/*.js',
// 'ljswitchboard-ljm_device_curator/**/*.js',
// 'ljswitchboard-ljm_driver_constants/**/*.js',
// 'LabJack-process_manager/**/*.js',
// 'ljswitchboard-modbus_map/**/*.js',
// 'ljswitchboard-package_loader/**/*.js',
// 'ljswitchboard-require/**/*.js',
// 'ljswitchboard-window_manager/**/*.js',
// 'ljswitchboard-splash_screen/**/*.js',
// 'ljmmm-parse/**/*.js',
// 'ljswitchboard-version_manager/**/*.js',
// 'ljswitchboard-firmware_verifier/**/*.js',
// 'ljswitchboard-simple_logger/**/*.js',
// 'ljm-shell_logger/**/*.js',
// 'kipling-cli/**/*.js',
// 'ljswitchboard-server/**/*.js',
// 'ljswitchboard-electron_splash_screen/**/*.js',
// 'ljswitchboard-ljm_special_addresses/**/*.js',
// 'ljswitchboard-device_manager/**/*.js',
],
options: {
jshintrc: '.jshintrc'
}
}
});
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.registerTask('default', ['jshint']);
};