Skip to content

Commit

Permalink
chore: remove license-checker in favour of Snyk (#84)
Browse files Browse the repository at this point in the history
* chore: remove license-checker in favour of Snyk

* fix: fix clippy linting (#85)

---------

Co-authored-by: Afonso Barracha <[email protected]>
  • Loading branch information
pablodenadai and afonsobarracha authored Dec 16, 2024
1 parent 69ca9a0 commit aacbefe
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 213 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,3 @@ jobs:

- name: Test
run: yarn test:macos

- name: License Check
run: yarn license:check
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"build:macos": "mkdir -p ./out && ./scripts/build.sh MACOS ./out",
"build:windows": "mkdir -p .\\out && .\\scripts\\build.sh WINDOWS .\\out",
"build:linux": "mkdir -p ./out && ./scripts/build.sh LINUX ./out",
"license:check": "license-checker --excludePrivatePackages --excludeScopes '@mattrglobal' --onlyAllow 'MIT;BSD;Apache-2.0;Apache 2.0;Apache License, Version 2.0;Apache*;Unlicense;ISC;Artistic-2.0;WTFPL;CC-BY-3.0;CC-BY-4.0;CC0-1.0;Python-2.0;MPL-2.0;' --summary",
"gen:c-header": "./scripts/generate-c-header.sh",
"test": "make test",
"test:macos": "./scripts/test.sh C MACOS",
Expand All @@ -31,7 +30,6 @@
"conventional-changelog": "5.1.0",
"conventional-changelog-cli": "4.1.0",
"husky": "8.0.3",
"license-checker-commit": "25.0.2",
"prettier": "2.8.8",
"pretty-quick": "3.1.3"
}
Expand Down
2 changes: 1 addition & 1 deletion src/bbs_verify_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ impl<'a> Deserialize<'a> for PoKOfSignatureProofWrapper {
{
struct DeserializeVisitor;

impl<'a> Visitor<'a> for DeserializeVisitor {
impl Visitor<'_> for DeserializeVisitor {
type Value = PoKOfSignatureProofWrapper;

fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {
Expand Down
Loading

0 comments on commit aacbefe

Please sign in to comment.