Пересобранный и видоизмененный conky для ОСГОС
This commit is contained in:
commit
3a48cf8c86
738 changed files with 217718 additions and 0 deletions
24
lefthook.yml
Normal file
24
lefthook.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
pre-commit:
|
||||
parallel: true
|
||||
commands:
|
||||
web-linter:
|
||||
run: |
|
||||
npx -y eslint --fix {staged_files} \
|
||||
&& git add {staged_files}
|
||||
root: web/
|
||||
glob: '*.{ts,tsx,js,jsx}'
|
||||
cpp-linter:
|
||||
run: |
|
||||
clang-format -i {staged_files} \
|
||||
&& git add {staged_files}
|
||||
glob: '*.{c,cc,cxx,h,hh,cpp}'
|
||||
misc-linter:
|
||||
run: |
|
||||
npx -y prettier --write {staged_files} \
|
||||
&& git add {staged_files}
|
||||
glob: '*.{md,json,yml,yaml}'
|
||||
nix-linter:
|
||||
run: |
|
||||
alejandra -q {staged_files} \
|
||||
&& git add {staged_files}
|
||||
glob: '*.{nix}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue