aboutsummaryrefslogtreecommitdiff
path: root/.pre-commit-config.yaml
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2022-06-20 16:26:41 +0200
committerBlackDex <[email protected]>2022-06-22 16:30:31 +0200
commit006a2aacbbb31736edb67b5887842813728daf38 (patch)
tree20f67d882d7ddd6f5691537950941b8a697e3da8 /.pre-commit-config.yaml
parent887e320e7f8dfc62d9b3ed08aca216cd7ad229f1 (diff)
downloadvaultwarden-006a2aacbbb31736edb67b5887842813728daf38.tar.gz
vaultwarden-006a2aacbbb31736edb67b5887842813728daf38.zip
Allow FireFox relay in CSP.
This PR is needed for https://github.com/dani-garcia/bw_web_builds/pull/71 Without this the web-vault will refuse to make calls to the FireFox Relay API. Also fixed a small issue with the pre-commit config.
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r--.pre-commit-config.yaml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 8f31035a..eb44b47f 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -26,8 +26,8 @@ repos:
entry: cargo test
language: system
args: ["--features", "sqlite,mysql,postgresql,enable_mimalloc", "--"]
- types_or: [file, rust]
- files: (Cargo.toml|Cargo.lock)
+ types_or: [rust, file]
+ files: (Cargo.toml|Cargo.lock|.*\.rs$)
pass_filenames: false
- id: cargo-clippy
name: cargo clippy
@@ -35,6 +35,6 @@ repos:
entry: cargo clippy
language: system
args: ["--features", "sqlite,mysql,postgresql,enable_mimalloc", "--", "-D", "warnings"]
- types_or: [file, rust]
- files: (Cargo.toml|Cargo.lock)
+ types_or: [rust, file]
+ files: (Cargo.toml|Cargo.lock|.*\.rs$)
pass_filenames: false