Skip to content

Instantly share code, notes, and snippets.

@j2kun
Created November 16, 2021 19:47
Show Gist options
  • Save j2kun/aa4a768150d423f581b758103b2b020c to your computer and use it in GitHub Desktop.
Save j2kun/aa4a768150d423f581b758103b2b020c to your computer and use it in GitHub Desktop.
An example chktex-action configuration
# in the base directory of your project
QuoteStyle = Traditional
VerbEnvir
{
verbatim comment listing verbatimtab rawhtml errexam picture texdraw
filecontents pgfpicture tikzpicture minted lstlisting texttt
solution
}
# in .github/workflows/lint.yml
name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: LaTeX linter (chktex)
uses: j2kun/chktex-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment