Skip to content

Commit

Permalink
chore: add .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shmileee committed Dec 21, 2024
1 parent 9f43d05 commit 063e0bd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
args: ["--maxkb=1024"]
- id: check-merge-conflict
- id: end-of-file-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- id: check-merge-conflict
- id: check-executables-have-shebangs
- id: check-case-conflict
- id: mixed-line-ending
- id: detect-private-key
2 changes: 1 addition & 1 deletion config/private_dot_config/nvim/lazyvim.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
"NEWS.md": "10960"
},
"version": 7
}
}
2 changes: 1 addition & 1 deletion config/private_dot_config/nvim/stylua.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
indent_type = "Spaces"
indent_width = 2
column_width = 120
column_width = 120

0 comments on commit 063e0bd

Please sign in to comment.