mop-cli
Version:
Lint and maintain many projects at once
22 lines (16 loc) • 452 B
Markdown
Rules are functions that analyze a project and report any problems they find.
```js
const isGood = (project, ...args) => {
if (project.pkg.isAwful) {
return {
message : 'Project must be good, not awful'
};
}
};
```
- [Available rules](../../doc/README.md
- [Using rules](../../doc/README.md
- [Creating rules](../../doc/README.md