diff --git a/Build/Gruntfile.js b/Build/Gruntfile.js index 164ffb2c922884e1b1dd21cdfaf5df2e08d305df..088d10e1aec247ca182d629f01d91b5a822fd7c6 100644 --- a/Build/Gruntfile.js +++ b/Build/Gruntfile.js @@ -533,6 +533,17 @@ module.exports = function (grunt) { */ grunt.registerTask('default', ['css']); + /** + * grunt lint + * + * call "$ grunt lint" + * + * this task does the following things: + * - tslint + * - stylelint + */ + grunt.registerTask('lint', ['tslint', 'stylelint']); + /** * grunt format * diff --git a/Build/Resources/Public/Sass/typo3/_element_animation.scss b/Build/Resources/Public/Sass/typo3/_element_animation.scss index c756c4c15d7c5fe20c580559114d252dc10cb106..dd95cd94d1413c01c28b544978e01f691ec940df 100644 --- a/Build/Resources/Public/Sass/typo3/_element_animation.scss +++ b/Build/Resources/Public/Sass/typo3/_element_animation.scss @@ -18,4 +18,4 @@ @include transition-property(#{"width, visibility"}); } -} \ No newline at end of file +} diff --git a/Build/package.json b/Build/package.json index 528da1370abc13296597fd498f04eabac09a63ae..72566cf3464cfddf13e8d34ce28e7da7ee458499 100644 --- a/Build/package.json +++ b/Build/package.json @@ -53,7 +53,6 @@ }, "scripts": { "bower": "./node_modules/.bin/bower install", - "grunt-stylelint": "./node_modules/.bin/grunt stylelint", - "grunt-tslint": "./node_modules/.bin/grunt tslint" + "lint": "./node_modules/.bin/grunt lint" } }