diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-11-15 13:38:38 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2013-12-07 18:00:46 +0100 |
commit | 327bcbae8c7ee3021325e27136a258a47488f847 (patch) | |
tree | 75eb955fe37165229ded0ae5b38bd025f2140b99 /Gruntfile.js | |
parent | 6a483fd1433f32a535f1c5745d3a33eec7e2bf88 (diff) | |
download | jquery-ui-327bcbae8c7ee3021325e27136a258a47488f847.tar.gz jquery-ui-327bcbae8c7ee3021325e27136a258a47488f847.zip |
Grunt: Add grunt-esformatter, formats all source files (no validation)
Diffstat (limited to 'Gruntfile.js')
-rw-r--r-- | Gruntfile.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index 356fa458f..242f3459f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -110,6 +110,7 @@ grunt.loadNpmTasks( "grunt-jscs-checker" ); grunt.loadNpmTasks( "grunt-html" ); grunt.loadNpmTasks( "grunt-compare-size" ); grunt.loadNpmTasks( "grunt-git-authors" ); +grunt.loadNpmTasks( "grunt-esformatter" ); // local testswarm and build tasks grunt.loadTasks( "build/tasks" ); @@ -202,6 +203,21 @@ grunt.initConfig({ csslintrc: ".csslintrc" } } + }, + + esformatter: { + options: { + preset: "jquery" + }, + ui: "ui/*.js", + tests: "tests/unit/**/*.js", + build: { + options: { + skipHashbang: true + }, + src: "build/**/*.js" + }, + grunt: "Gruntfile.js" } }); |