From 7850f0de5842d915884ce46cdd0ac741ad1ccd96 Mon Sep 17 00:00:00 2001 From: William Warriner <6930772+wwarriner@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:21:59 -0500 Subject: [PATCH] add checking info --- .gitignore | 6 +++--- .markdownlint.json | 5 ++--- .pre-commit-config.yaml | 14 ++++++++++++++ .prettierrc | 4 ++++ 4 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 .pre-commit-config.yaml create mode 100644 .prettierrc diff --git a/.gitignore b/.gitignore index 787a47f..1986982 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ # File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig -# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,linux,macos,python,r -# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,linux,macos,python,r +# Created by https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,r,python,macos,linux +# Edit at https://www.toptal.com/developers/gitignore?templates=windows,visualstudiocode,r,python,macos,linux ### Linux ### *~ @@ -322,7 +322,7 @@ $RECYCLE.BIN/ # Windows shortcuts *.lnk -# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,linux,macos,python,r +# End of https://www.toptal.com/developers/gitignore/api/windows,visualstudiocode,r,python,macos,linux # Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) diff --git a/.markdownlint.json b/.markdownlint.json index bf68de2..eee9681 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -47,9 +47,7 @@ "MD040": { "language_only": false }, - "MD041": { - "level": 1 - }, + "MD041": false, "MD043": false, "MD044": { "code_blocks": false, @@ -60,6 +58,7 @@ "UAB Research Computing" ] }, + "MD045": false, "MD046": { "style": "fenced" }, diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..751b8d3 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,14 @@ +repos: + - repo: https://github.com/DavidAnson/markdownlint-cli2 + rev: v0.13.0 + hooks: + - id: markdownlint-cli2 + require_serial: true + - repo: local + hooks: + - id: quarto-render + name: Build presentation + entry: "conda activate quarto && quarto render" + language: system + always_run: true + pass_filenames: false diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..39963d4 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,4 @@ +{ + "bracketSameLine": true, + "htmlWhitespaceSensitivity": "ignore" +} -- GitLab