metal-soy-critic
Version:
A metal-soy code validation utility.
28 lines (18 loc) • 684 B
Markdown
# metal-soy-critic
[](https://travis-ci.org/mthadley/metal-soy-critic)
A utility for validating your `metal-soy` components. This tool is not meant to
to do the same work that your javascript or soy compiler already does. Instead
it is meant to check for bad practices in your components.
## Usage
First install `mcritic` from npm:
```
$ npm install -g metal-soy-critic
```
Then pass it a directory containing soy files that you would like to check:
```
$ mcritic src
```
You can also ignore files matching a particular glob:
```
$ mcritic . --ignore "**/{node_modules,classes,build}/**"
```