Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format cache options in code backticks. #298

Merged
merged 1 commit into from
Jan 3, 2023
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ app/views/users/_graph.html.erb:27:37: Extra space detected where there should b

## Caching

The cache is currently opt-in - to turn it on, use the --cache option:
The cache is currently opt-in - to turn it on, use the `--cache` option:

```sh
erblint --cache ./app
Expand All @@ -630,7 +630,7 @@ via the `--cache-dir` option. Cache filenames are computed with a hash of inform
These files store instance attributes of the `CachedOffense` object, which only contain the `Offense` attributes
necessary to restore the results of running `erb-lint` for output. The cache also automatically prunes outdated files each time it's run.

You can also use the --clear-cache option to delete the cache file directory.
You can also use the `--clear-cache` option to delete the cache file directory.

## License

Expand Down