From 7869e38fb188e7bd91abc00d8952c8bf9a218527 Mon Sep 17 00:00:00 2001 From: Matt Porritt Date: Sun, 15 Apr 2018 13:00:09 +1000 Subject: [PATCH] remove redunsant js checker --- .beautifyrc | 11 ----------- Gruntfile.js | 39 +-------------------------------------- package.json | 1 - 3 files changed, 1 insertion(+), 50 deletions(-) delete mode 100644 .beautifyrc diff --git a/.beautifyrc b/.beautifyrc deleted file mode 100644 index cfb6216..0000000 --- a/.beautifyrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "js": { - "end_with_newline": true, - "indent_char": " ", - "indent_level": 0, - "indent_size": 2, - "indent_with_tabs": false, - "space_after_anon_function": "true" - } -} - diff --git a/Gruntfile.js b/Gruntfile.js index 05c6384..0ada1d6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -9,43 +9,6 @@ grunt.initConfig({ options: { jshintrc: '.jshintrc' } - }, - jsbeautifier: { - test: { - files: { - src: templates - }, - options: { - mode: 'VERIFY_ONLY', - config: '.beautifyrc' - } - }, - lint: { - files: { - src: templates - }, - options: { - mode: 'VERIFY_ONLY', - config: '.beautifyrc' - } - }, - reformat: { - files: { - src: templates - }, - options: { - mode: 'VERIFY_AND_WRITE', - config: '.beautifyrc' - } - }, - write: { - files: { - src: templates - }, - options: { - config: '.beautifyrc' - } - } } }); -grunt.registerTask('test', ['jshint', 'jsbeautifier:test', 'jsbeautifier:write']); +grunt.registerTask('test', ['jshint']); diff --git a/package.json b/package.json index 8d82eb1..2129259 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,6 @@ "debug": "^2.2.0", "grunt": "^0.4.5", "grunt-contrib-jshint": "^0.11.3", - "grunt-jsbeautifier": "^0.2.10", "load-grunt-tasks": "^3.3.0", "rsvp": "^3.1.0", "skeemas": "^1.2.1",