teutat3s
|
e26af156c6
|
devshell: stash only unstaged changes in pre-commit hook
|
2023-07-04 01:41:40 +02:00 |
|
teutat3s
|
9b5abf76ea
|
devshell: stash only unstaged changes in pre-commit hook
|
2023-07-02 15:10:11 +02:00 |
|
teutat3s
|
5b44e97088
|
lint: exclude file generated by nvfetcher
Fix pre-commit hook to only format staged files
|
2023-05-05 18:32:40 +02:00 |
|
teutat3s
|
8f0790b6fd
|
pre-commit hook: only format modified lines
instead of entire files
|
2023-04-26 12:49:44 +02:00 |
|
teutat3s
|
5ad5c9bae6
|
Switch to alejandra for formatting
Use treefmt
For context, see upstream PR: https://github.com/divnix/digga/pull/491
|
2022-11-20 23:10:39 +01:00 |
|
teutat3s
|
0fc1a7fe20
|
hooks: apply upstream pre-commit changes
|
2022-08-09 11:56:42 +02:00 |
|
teutat3s
|
b911badb8a
|
pre-commit hook: only format modified lines
instead of entire files
|
2022-04-09 16:37:19 +02:00 |
|
teutat3s
|
03e6c47086
|
pre-commit hook: fix shellcheck SCSC2181
Check exit code directly with e.g. if mycmd;
not indirectly with $?
https://github.com/koalaman/shellcheck/wiki/SC2181
|
2022-04-09 15:42:36 +02:00 |
|
teutat3s
|
7ecfcf5814
|
pre-commit hook: fix shellcheck SC2207
Prefer mapfile or read -a to split command output
https://github.com/koalaman/shellcheck/wiki/SC2207
|
2022-04-09 15:22:37 +02:00 |
|
David Arnold
|
33fb25e011
|
ref: move devshell module here to devos again
|
2021-07-07 21:03:31 -05:00 |
|