Open Kristinita opened 6 years ago
It would be nice, if the user would get one toast, if any numbers of errors/warnings.
As #24.
Except: I add grunt-notify to Gruntfile.js.
Gruntfile.js
Updated Gruntfile.js:
module.exports = function (grunt) { grunt.initConfig({ htmllint: { options: { force: true, maxerr: 5 }, src: [ 'SashaHtmllintDebugging.html' ] } }); grunt.loadNpmTasks('grunt-htmllint'); grunt.loadNpmTasks('grunt-notify'); grunt.registerTask('default', ['htmllint']); };
1 error — 1 toast.
If user have 400 errors, he got 400 toasts. It not good by these reasons:
As any another Grunt linter (examples: grunt-stylint, grunt-coffeelint, grunt-markdownlint):
If any numbers errors of warnings:
1 toast.
Thanks.
1. Summary
It would be nice, if the user would get one toast, if any numbers of errors/warnings.
2. Environment and configuration
As #24.
Except: I add grunt-notify to
Gruntfile.js
.Updated
Gruntfile.js
:3. Actual behavior
1 error — 1 toast.
If user have 400 errors, he got 400 toasts. It not good by these reasons:
4. Expected behavior
As any another Grunt linter (examples: grunt-stylint, grunt-coffeelint, grunt-markdownlint):
If any numbers errors of warnings:
1 toast.
Thanks.