Skip to content

Commit

Permalink
chore(typos): ignore short words
Browse files Browse the repository at this point in the history
ci(pre-commit): fix mixed line endings
chore(docker-compose): remove obsolete `version` entry
  • Loading branch information
DeadNews committed May 9, 2024
1 parent b9677ab commit 53dfa00
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ ci:
autofix_commit_msg: "chore: auto fixes from `pre-commit` hooks"
autoupdate_commit_msg: "chore(pre-commit): autoupdate"
autoupdate_schedule: quarterly
skip: [hadolint-docker]

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand All @@ -16,6 +15,8 @@ repos:
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
args: [--fix=lf]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
Expand Down Expand Up @@ -43,7 +44,7 @@ repos:
hooks:
- id: checkmake

- repo: https://github.com/hadolint/hadolint
- repo: https://github.com/aleksac/hadolint-py
rev: v2.12.0
hooks:
- id: hadolint-docker
- id: hadolint
5 changes: 5 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
[files]
extend-exclude = ["CHANGELOG.md"]

[default]
extend-ignore-re = [
"[a-z]{0,3}", # ignore short words
]
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Workspace settings override user settings.
{
"[typescript][javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
Expand Down
5 changes: 2 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
version: "3"
services:
web:
build: .
ports:
- 127.0.0.1:${NODE_PORT:-3000}:${NODE_PORT:-3000}
- 127.0.0.1:${NODE_PORT:-8080}:${NODE_PORT:-8080}
environment:
NODE_PORT: ${NODE_PORT:-3000}
NODE_PORT: ${NODE_PORT:-8080}

0 comments on commit 53dfa00

Please sign in to comment.