@gilt-tech/swig-lint v2.5.0
swig-lint
Swig task that checks for possible issues in your code base.
Usage
Meant to be used via the Swig CLI, just run:
swig lintYou can also instruct the CSS linter to use a different engine (default is an ancient version of Lesshint), namely Stylelint, like so:
swig lint --use-stylelintYou can also instruct the linter to look at a specific source folder
swig lint --src /web/web-blah/targetIn this case you shall provide the linter a .stylelintrc.yml file with the necessary Stylelint
configuration.
By using Stylelint you can now also specify files to ignore (previously not possible), using the
special .stylelintignore config file, which uses a .gitignore-like syntax.
TODO
- Add more helpful information on the README (like list of JS/CSS rules) and how to override them.
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago