Verified Commit cabbdf8a authored by Marco Kellershoff's avatar Marco Kellershoff 🤸
Browse files

Add `Advanced usage` section to README.md

This commit add the `Advanced usage` section to the README.md file.
It also adds a `code` example on how to specify a directory (where the
linting checks should take place).
parent 267fcc84
...@@ -40,6 +40,14 @@ Switch to the root of your project directory and run the following command: ...@@ -40,6 +40,14 @@ Switch to the root of your project directory and run the following command:
go lint go lint
``` ```
### Advanced usage
You can also specify a directory (passed via arguments) like so:
```bash
go lint ./src/...
```
## Passing checks ## Passing checks
To pass the *linting* rules, your code has to pass the following checks: To pass the *linting* rules, your code has to pass the following checks:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment