Skip to content

Commit

Permalink
🧐 Add linters to contracts-por and fix style errors (#1216)
Browse files Browse the repository at this point in the history
* Add linters

* Run linter on CI

* Disable slither

Co-authored-by: Michał Sieczkowski <michal.sieczkowski@archblock.com>
  • Loading branch information
pkuchtatt and msieczko authored Nov 10, 2022
1 parent 39743f8 commit 172c8e1
Show file tree
Hide file tree
Showing 9 changed files with 708 additions and 171 deletions.
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ jobs:
- attach_workspace:
at: .
- run: yarn lint
lint-package-contracts-por:
docker:
- image: cimg/node:16.1.0
steps:
- attach_workspace:
at: .
- run: yarn workspace @trusttoken-smart-contracts/contracts-por lint
test-package-contracts-por:
docker:
- image: cimg/node:16.1.0
Expand Down Expand Up @@ -141,9 +148,9 @@ workflows:
- lint:
requires:
- setup
- slither:
- lint-package-contracts-por:
requires:
- setup
- build
- test-package-contracts-por:
requires:
- build
Expand Down
Loading

0 comments on commit 172c8e1

Please sign in to comment.