@gilt-tech/swig-lint
Lints front-end assets.
Last updated 3 years ago by gilt-tech .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @gilt-tech/swig-lint 
SYNC missed versions from official npm registry.

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 lint

You 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-stylelint

You can also instruct the linter to look at a specific source folder

swig lint --src /web/web-blah/target

In 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.

Current Tags

  • 1.9.9-beta.5                                ...           beta (3 years ago)
  • 2.5.0                                ...           latest (3 years ago)
  • 2.8.0-vue.1                                ...           vue (3 years ago)

31 Versions

  • 2.8.0-vue.1                                ...           3 years ago
  • 2.5.0                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.9.9-beta.5                                ...           3 years ago
  • 1.9.9-beta.4                                ...           3 years ago
  • 1.9.9-beta.3                                ...           3 years ago
  • 1.9.9-beta.2                                ...           3 years ago
  • 1.9.9-beta.1                                ...           3 years ago
  • 1.9.9-beta.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.3                                ...           4 years ago
  • 0.2.2                                ...           4 years ago
  • 0.2.1                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.11                                ...           5 years ago
  • 0.1.10                                ...           5 years ago
  • 0.1.9                                ...           5 years ago
  • 0.1.8                                ...           5 years ago
  • 0.1.7                                ...           5 years ago
  • 0.1.6                                ...           5 years ago
  • 0.1.5                                ...           5 years ago
  • 0.1.4                                ...           5 years ago
  • 0.1.3                                ...           5 years ago
  • 0.1.2                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
  • 0.1.0                                ...           5 years ago
  • 0.0.15                                ...           5 years ago
  • 0.0.14                                ...           5 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 2
Last Month 41
Dependencies (12)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |