Compare commits
3 commits
be86f4dbb1
...
7b9d66b68a
Author | SHA1 | Date | |
---|---|---|---|
Bruno BELANYI | 7b9d66b68a | ||
Bruno BELANYI | e76a1c0927 | ||
Bruno BELANYI | d09e9f54f8 |
8
.envrc
Normal file
8
.envrc
Normal file
|
@ -0,0 +1,8 @@
|
|||
use_flake() {
|
||||
watch_file flake.nix
|
||||
watch_file flake.lock
|
||||
eval "$(nix print-dev-env)"
|
||||
}
|
||||
|
||||
ulimit -s unlimited # Bypass current bug in `nix` flakes evaluation
|
||||
use flake
|
13
.pre-commit-config.yaml
Normal file
13
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
repos:
|
||||
- repo: 'https://github.com/pre-commit/pre-commit-hooks'
|
||||
rev: 'v2.3.0'
|
||||
hooks:
|
||||
- id: 'trailing-whitespace'
|
||||
- id: 'end-of-file-fixer'
|
||||
- id: 'check-yaml'
|
||||
- id: 'check-added-large-files'
|
||||
- repo: 'https://github.com/jumanjihouse/pre-commit-hooks'
|
||||
rev: '2.1.4'
|
||||
hooks:
|
||||
- id: 'forbid-binary'
|
||||
- id: 'shellcheck'
|
Loading…
Reference in a new issue