Skip to content

Commit

Permalink
Attempt adding vale style checks
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 11, 2024
1 parent 354858f commit 08eff82
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: vale
on: push

jobs:
vale:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: errata-ai/vale-action@reviewdog
with:
reporter: github-check
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ javascript/src/lib/fallbacks
docs/languages*.svg
docs/_tags
docs/objects.inv
fortran/problems.f90
fortran/problems.f90
styles/**
8 changes: 8 additions & 0 deletions .vale.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
StylesPath = styles

MinAlertLevel = suggestion

Packages = RedHat, proselint, write-good, alex, Readability, Joblint

[*]
BasedOnStyles = Vale, RedHat, proselint, write-good, alex, Readability, Joblint
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Code Size By Language

.. image:: ./languages.svg

Code Size By Language (Normalized)
----------------------------------
Code Size By Language (Normalized by File Count)
------------------------------------------------

.. image:: ./languages-normalized.svg

Expand Down

0 comments on commit 08eff82

Please sign in to comment.