flaviostutz / monolint

Linter for monorepos. Checks folder structure, module contents, file contents and naming conventions
MIT License
7 stars 4 forks source link

Create rule "module-run-lint" #10

Open flaviostutz opened 2 years ago

flaviostutz commented 2 years ago

Runs custom lint rules inside each module to check if it's ok. Defaults to run 'make lint'. Fails check if exit of command is different from '0'.

{
  "rules": {
    "module-run-lint": true
  }
}
{
  "rules": {
    "module-run-lint": "npx prettier && npm run checkstyle"
  }
}