UNPKG

672 BJavaScriptView Raw
1module.exports = function(grunt) {
2 // Project configuration.
3 grunt.initConfig({
4 pkg: '<json:package.json>',
5 lint: {
6 files: ['grunt.js', 'lib/**/*.js']
7 },
8 watch: {
9 files: '<config:lint.files>',
10 tasks: 'default'
11 },
12 jshint: {
13 options: {
14 curly: true,
15 eqeqeq: true,
16 immed: true,
17 latedef: true,
18 newcap: true,
19 noarg: true,
20 sub: true,
21 undef: true,
22 boss: true,
23 eqnull: true,
24 node: true,
25 laxcomma: true
26 },
27 globals: {
28 exports: true
29 }
30 }
31 });
32
33 // Default task.
34 grunt.registerTask('default', 'lint');
35};
\No newline at end of file