Skip to content

Commit

Permalink
feat: Add vale lint (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
l0kal authored Sep 16, 2021
1 parent 4366702 commit 32d3e44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,8 @@
description: Lint commit messages according to the conventional conventions
entry: extenda/commitlint
language: docker_image
- id: vale
name: Vale lint
description: Lint natural language with the Extenda Retail writing style
entry: extenda/vale
language: docker_image
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ default_stages: [commit]
* `--target` - set the Java compiler target version (default `1.8`)
* `google-java-formatter` - Runs Google's Java formatter on all staged `java` source files. **Please note: Java 11 or newer is required in v0.5+** Use v0.4 if you need Java 8 support.
* `pre-commitlint` - Runs [commitlint](https://commitlint.js.org) to validate commit messages.
* `vale` - Runs [Extenda docker-vale](https://github.com/extenda/docker-vale) wrapping [Vale lint](https://github.com/errata-ai/vale) and Extenda's own lint style to validate natural language in files.

## Google Java format in your IDE

Expand Down

0 comments on commit 32d3e44

Please sign in to comment.