Last change
on this file since 484 was
484,
checked in by hendrikvanantwerpen, 11 years ago
|
Commit node_modules, to make checkouts and builds more deterministic.
|
File size:
658 bytes
|
Rev | Line | |
---|
[484] | 1 | module.exports = function(grunt) { |
---|
| 2 | |
---|
| 3 | // Project configuration. |
---|
| 4 | grunt.initConfig({ |
---|
| 5 | lint: { |
---|
| 6 | files: ['grunt.js', 'tasks/**/*.js', 'test/*.{js,json}'] |
---|
| 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 | es5: true, |
---|
| 26 | |
---|
| 27 | strict: false |
---|
| 28 | }, |
---|
| 29 | globals: {} |
---|
| 30 | } |
---|
| 31 | }); |
---|
| 32 | |
---|
| 33 | // Default task. |
---|
| 34 | grunt.registerTask('default', 'lint'); |
---|
| 35 | |
---|
| 36 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.