diff --git a/.gitkeep b/.gitkeep deleted file mode 100644 index 7e2f179..0000000 --- a/.gitkeep +++ /dev/null @@ -1 +0,0 @@ -assets diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..4067666 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,9 @@ +repos: +- repo: https://github.com/doublify/pre-commit-rust + rev: master + hooks: + - id: fmt + args: ['-all', '--', '--check'] + - id: cargo-check + - id: clippy + args: ['--', '-D', 'warnings'] diff --git a/assets/.gitkeep b/assets/.gitkeep new file mode 100644 index 0000000..e69de29