Skip to content

Commit

Permalink
Refactor configuration to separate lint and lint+fix scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmv08 committed Aug 29, 2024
1 parent 4c9ee80 commit 6dcdf78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/allowances/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
"prepare": "pnpm run clean && npm run build",
"lint": "pnpm run lint:sol && npm run lint:ts",
"lint:sol": "solhint 'contracts/**/*.sol'",
"lint:ts": "eslint 'tasks/**/*.ts' 'test/**/*.ts' --max-warnings 0 --fix",
"lint:sol:fix": "solhint 'contracts/**/*.sol' --fix",
"lint:ts": "eslint 'tasks/**/*.ts' 'test/**/*.ts' --max-warnings 0",
"lint:ts:fix": "eslint 'tasks/**/*.ts' 'test/**/*.ts' --max-warnings 0 --fix",
"fmt": "pnpm run fmt:sol:write && npm run fmt:ts:write",
"fmt:check": "pnpm run fmt:sol:check && npm run fmt:ts:check",
"fmt:sol:check": "prettier 'contracts/**/*.sol' --check",
Expand Down

0 comments on commit 6dcdf78

Please sign in to comment.