Skip to content

Commit

Permalink
Merge pull request #637 from tomato42/add-vale
Browse files Browse the repository at this point in the history
add Vale - English text linter
  • Loading branch information
tomato42 committed Jan 29, 2020
2 parents d9fec58 + c4ccae4 commit 831f243
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/styles/vocab.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
alog
cavp
ecdsa
http
kario
khaitovich
plaintext
py
pycrypto
rsa
sosedkin
ssl
tls
tripledes
utf
varga
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Linting
on: [push]

jobs:
prose:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master

- name: Vale
uses: errata-ai/vale-action@v1.0.4
with:
styles: |
https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip
https://github.com/errata-ai/Google/releases/latest/download/Google.zip
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
5 changes: 5 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
StylesPath = .github/styles
MinAlertLevel = suggestion

[*.{md,rst,py}]
BasedOnStyles = Vale, write-good, Google

0 comments on commit 831f243

Please sign in to comment.