diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml new file mode 100644 index 00000000..46701f9c --- /dev/null +++ b/.github/workflows/vale.yml @@ -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 diff --git a/.gitignore b/.gitignore index ee65e64c..581e0d9f 100644 --- a/.gitignore +++ b/.gitignore @@ -27,4 +27,5 @@ javascript/src/lib/fallbacks docs/languages*.svg docs/_tags docs/objects.inv -fortran/problems.f90 \ No newline at end of file +fortran/problems.f90 +styles/** \ No newline at end of file diff --git a/.vale.ini b/.vale.ini new file mode 100644 index 00000000..657b1370 --- /dev/null +++ b/.vale.ini @@ -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 diff --git a/docs/index.rst b/docs/index.rst index ac0e244a..db3c0a2d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -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