diff options
| author | Mark Otto <[email protected]> | 2015-08-18 20:25:48 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-08-18 20:25:48 -0700 |
| commit | 1c19ded8c14cc9caca8ca2992834e2900dbbb4e5 (patch) | |
| tree | aecfad1ba54e89b6db1f72f20c991784768399e5 /Gruntfile.js | |
| parent | 0df8fae72508fd9291ccce1fb915e7eac4f83a95 (diff) | |
| parent | 8cfde5ef29756a433645c61b2ba8fec63caada78 (diff) | |
| download | bootstrap-1c19ded8c14cc9caca8ca2992834e2900dbbb4e5.tar.xz bootstrap-1c19ded8c14cc9caca8ca2992834e2900dbbb4e5.zip | |
Merge branch 'v4' of https://github.com/twbs/derpstrap into v4
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 3dc69a17c..095b7ed3e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -116,6 +116,13 @@ module.exports = function (grunt) { } }, + eslint: { + options: { + configFile: 'js/.eslintrc' + }, + target: 'js/src/*.js' + }, + jscs: { options: { config: 'js/.jscsrc' @@ -449,7 +456,7 @@ module.exports = function (grunt) { testSubtasks.push('saucelabs-qunit'); } grunt.registerTask('test', testSubtasks); - grunt.registerTask('test-js', ['jscs:core', 'jscs:test', 'jscs:grunt', 'qunit']); + grunt.registerTask('test-js', ['eslint', 'jscs:core', 'jscs:test', 'jscs:grunt', 'qunit']); // JS distribution task. grunt.registerTask('dist-js', ['concat', 'lineremover', 'babel:dist', 'stamp', 'uglify:core', 'commonjs']); |
