Skip to content

Commit

Permalink
feat: add linting for text
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Molenaar <[email protected]>
  • Loading branch information
SMillerDev committed Aug 18, 2024
1 parent 227ce26 commit 6e0e719
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/styles/vocab.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# test
23 changes: 23 additions & 0 deletions .github/workflows/lint-text.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Lint

on:
pull_request:
push:
branches:
- master

jobs:
typos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: typos-action
uses: crate-ci/typos@master

vale:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: errata-ai/vale-action@reviewdog
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]
BasedOnStyles = Vale
2 changes: 2 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[files]
extend-exclude = [ "l10n/*.js*", "js-old/**", "/tests/test_helper/feeds/*", "AUTHORS.md" ]

0 comments on commit 6e0e719

Please sign in to comment.