Remove eslint:fix

Not very useful now rules are stable.

Change-Id: I67407404acbf4f647c800961c46452628981330e
This commit is contained in:
Ed Sanders 2017-04-28 17:33:08 +01:00
parent 05166d9ecd
commit 9e1986131c

View file

@ -36,20 +36,14 @@ module.exports = function ( grunt ) {
watch: {
files: [
'.{stylelintrc,.eslintrc.json}',
'<%= eslint.main %>',
'<%= eslint.all %>',
'<%= stylelint.core.src %>',
'<%= stylelint[ "ve-math" ].src %>'
],
tasks: 'test'
},
eslint: {
fix: {
options: {
fix: true
},
src: '<%= eslint.main %>'
},
main: [
all: [
'*.js',
'modules/**/*.js',
'!**/node_modules/**'
@ -57,7 +51,6 @@ module.exports = function ( grunt ) {
}
} );
grunt.registerTask( 'test', [ 'eslint:main', 'stylelint', 'jsonlint', 'banana' ] );
grunt.registerTask( 'fix', 'eslint:fix' );
grunt.registerTask( 'test', [ 'eslint', 'stylelint', 'jsonlint', 'banana' ] );
grunt.registerTask( 'default', 'test' );
};