diff --git a/.github/styles/vocab.txt b/.github/styles/vocab.txt new file mode 100644 index 000000000..83c831f0b --- /dev/null +++ b/.github/styles/vocab.txt @@ -0,0 +1 @@ +# test diff --git a/.github/workflows/lint-text.yml b/.github/workflows/lint-text.yml new file mode 100644 index 000000000..e24c6e49a --- /dev/null +++ b/.github/workflows/lint-text.yml @@ -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 diff --git a/.vale.ini b/.vale.ini new file mode 100644 index 000000000..7e8e41eb6 --- /dev/null +++ b/.vale.ini @@ -0,0 +1,5 @@ +StylesPath = .github/styles +MinAlertLevel = suggestion + +[*.md] +BasedOnStyles = Vale diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 000000000..8b18b6a16 --- /dev/null +++ b/_typos.toml @@ -0,0 +1,2 @@ +[files] +extend-exclude = [ "l10n/*.js*", "js-old/**", "/tests/test_helper/feeds/*", "AUTHORS.md" ]