From 3d158e4f421d6dfe31f5f59644d79697d3738bb2 Mon Sep 17 00:00:00 2001 From: mauvehed Date: Sun, 30 Jul 2023 21:17:38 -0500 Subject: [PATCH] add curlylint to pre-commit hooks chore(pre-commit): update pre-commit hooks and configurations fix(memorial.html): add missing closing div tag --- .pre-commit-config.yaml | 17 ++++++----------- memorial.html | 2 +- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e68ee4c..96302d3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,10 +3,10 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 # use `pre-commit autoupdate` to get the latest rev hooks: - - id: check-yaml # check for proper yaml formatting - - id: check-json # check for proper json formatting - id: no-commit-to-branch args: ['--branch', 'main'] # prevent local commits to main branch + - id: check-yaml # check for proper yaml formatting + - id: check-json # check for proper json formatting # - id: pretty-format-json # - id: end-of-file-fixer # - id: trailing-whitespace @@ -14,15 +14,10 @@ repos: # rev: v1.0.5 # use `pre-commit autoupdate` to get the latest rev # hooks: # - id: csslint -#- repo: https://github.com/thibaudcolas/curlylint -# rev: v0.13.1 # use `pre-commit autoupdate` to get the latest rev -# hooks: -# - id: curlylint -#- repo: https://github.com/klieret/jekyll-relative-url-check -# rev: v2.0.1 # use `pre-commit autoupdate` to get the latest rev -# hooks: -# - id: jekyll-relative-url-check-html -# - id: jekyll-relative-url-check-markdown +- repo: https://github.com/thibaudcolas/curlylint + rev: v0.13.1 # use `pre-commit autoupdate` to get the latest rev + hooks: + - id: curlylint - repo: https://github.com/pre-commit/mirrors-prettier rev: v3.0.0 hooks: diff --git a/memorial.html b/memorial.html index e88040a..b8ebebe 100644 --- a/memorial.html +++ b/memorial.html @@ -170,6 +170,6 @@ Content and Images, unless otherwise specified, © Rest In Code || Website design by Sunfire 2019 - +