From 3d00c5d8f6f641568653f2186db72894ac757825 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 28 Apr 2017 17:29:59 +0100 Subject: [PATCH] Remove eslint:fix Not very useful now rules are stable. Change-Id: Iafc8a393449bdd1909385fb14d051b11255f7cca --- Gruntfile.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 68207534..aaf8fec6 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,4 +1,4 @@ -/* eslint-env node */ +/* eslint-env node, es6 */ module.exports = function ( grunt ) { var conf = grunt.file.readJSON( 'extension.json' ); @@ -9,13 +9,7 @@ module.exports = function ( grunt ) { grunt.initConfig( { eslint: { - fix: { - options: { - fix: true - }, - src: '<%= eslint.main %>' - }, - main: [ + all: [ '**/*.js', '!lib/**', '!node_modules/**', @@ -45,6 +39,6 @@ module.exports = function ( grunt ) { banana: conf.MessagesDirs } ); - grunt.registerTask( 'test', [ 'eslint:main', 'stylelint', 'jsonlint', 'banana' ] ); + grunt.registerTask( 'test', [ 'eslint', 'stylelint', 'jsonlint', 'banana' ] ); grunt.registerTask( 'default', 'test' ); };