Skip to content

Commit

Permalink
chore: Add solhint (#44)
Browse files Browse the repository at this point in the history
chore: Lint
  • Loading branch information
fzavalia committed Aug 10, 2022
1 parent 6c9057b commit 7ff008a
Show file tree
Hide file tree
Showing 9 changed files with 4,984 additions and 3,470 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/compile-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npx hardhat compile
- run: npx hardhat test
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm run lint
- run: npm run compile
- run: npm run test
6 changes: 6 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
}
}

0 comments on commit 7ff008a

Please sign in to comment.