Merge pull request #158 from luclis/lint

Lint
This commit is contained in:
Seth Cottle
2025-06-29 21:20:14 -04:00
committed by GitHub
13 changed files with 109 additions and 90 deletions

2
.github/FUNDING.yml vendored
View File

@@ -3,4 +3,4 @@
github: sethcottle github: sethcottle
patreon: sethcottle patreon: sethcottle
ko_fi: sethcottle ko_fi: sethcottle
custom: [https://buymeacoffee.com/seth, https://paypal.me/sethcottle] custom: ["https://buymeacoffee.com/seth", "https://paypal.me/sethcottle"]

20
.pre-commit-config.yaml Normal file
View File

@@ -0,0 +1,20 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
args: ["--markdown-linebreak-ext=md,markdown"]
exclude: \.svg$
- id: end-of-file-fixer
exclude: \.svg$
- id: check-yaml
- id: double-quote-string-fixer
exclude: \.svg$
- repo: https://github.com/gitleaks/gitleaks
rev: v8.26.0
hooks:
- id: gitleaks
- repo: https://github.com/thoughtworks/talisman
rev: v1.37.0
hooks:
- id: talisman-commit

View File

@@ -228,4 +228,3 @@ docker run -d --name site1 -p 8080:80 littlelink-site1
# Run second site on port 8081 # Run second site on port 8081
docker run -d --name site2 -p 8081:80 littlelink-site2 docker run -d --name site2 -p 8081:80 littlelink-site2
``` ```