Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ let g:syntastic_pug_checkers = ['pug_lint']

## Build system integration

### Shell

The fastest way to lint multiple `.pug` files is by using the standard `find` unix command. The command below assumes you have a `views` directory which contains other nested directories with `.pug` files.

```sh
find ./views -type f -name '*.pug' | xargs pug-lint
```

### Gulp

If you're using Gulp as your build system, you can use [gulp-pug-linter](https://github.com/ilyakam/gulp-pug-linter) for easier integration.
Expand Down