Remove eslint:fix
Not very useful now rules are stable. Change-Id: Iafc8a393449bdd1909385fb14d051b11255f7cca
This commit is contained in:
12
Gruntfile.js
12
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' );
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user