]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
fix: remove broken Sass linting from Sass compilation task and move it to build task
authorNicolas Coden <nicolas@ncoden.fr>
Wed, 15 Aug 2018 20:35:39 +0000 (22:35 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Wed, 15 Aug 2018 20:35:39 +0000 (22:35 +0200)
commit6c45b451e9ea4692b58208b53b3676519f6e62c2
tree0605066e28c9d5966dc46e587ad42cc2f736e912
parentcf2b6b1db7bb84b0a426d3c6ee33fd0a0aa8a6cf
fix: remove broken Sass linting from Sass compilation task and move it to build task

Changes:
- Remove broken Sass linting from the `sass:foundation` task. The `finish` gulp event is an stream internal event and is not suitable to chain tasks.
- Add `lint:graceful`, `lint:graceful:sass` and `lint:graceful:javascript` to check for linting errors without throwing errors and breaking the chain of tasks.
- Call `lint:graceful` on the build task. For now, there is too much linting issues to display them at each Sass/Javascript compilation.
gulp/tasks/lint.js
gulp/tasks/sass.js
gulpfile.js