mediacurrent / theme_generator_8

Yeoman generator for Drupal Themes - lets you quickly set up a Drupal 8 theme with sensible defaults and best practices.
MIT License
100 stars 25 forks source link

Adding style lint fix script #87

Closed rlahoda closed 3 years ago

rlahoda commented 3 years ago

This adds a small script into the package.json to fix linting errors. When run, it starts stylelint which checks for linting errors that can be fixed automatically and then fixes them. This is built-in stylelint functionality so no new installation or anything is necessary.

mariohernandez commented 3 years ago

Thanks for the PR @rlahoda could you include some resources or docs where this is explained or demoed? Thanks.