Skip to content

Commit

Permalink
chore: fixes for nix and rust versions, semgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
Kodylow committed Apr 8, 2024
1 parent 3063b22 commit 331cb37
Show file tree
Hide file tree
Showing 21 changed files with 447 additions and 903 deletions.
16 changes: 16 additions & 0 deletions .config/semgrep.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
rules:
- id: use-of-unwrap
pattern: $X.unwrap()
message: "Found use of unwrap(). Consider using more robust error handling."
languages: [rust]
severity: WARNING
- id: use-of-expect
pattern: $X.expect(...)
message: "Found use of expect(). Consider providing clearer error messages or using more robust error handling."
languages: [rust]
severity: WARNING
- id: direct-panic
pattern: panic!(...)
message: "Direct use of panic!(). Consider if there's a more graceful way to handle this error case."
languages: [rust]
severity: ERROR
Loading

0 comments on commit 331cb37

Please sign in to comment.