Skip to content

Commit

Permalink
fix lint task
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan committed Jul 24, 2023
1 parent 7c96cde commit 742e211
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "turbo run test",
"build": "turbo run build",
"release": "turbo run lint test build && changeset publish"
"release": "turbo run test build && changeset publish"
},
"author": "",
"license": "MIT",
Expand Down
4 changes: 3 additions & 1 deletion packages/zora-1155-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"test": "forge test",
"test-gas": "forge test --gas-report",
"prettier:check": "prettier --check 'src/**/*.sol' 'test/**/*.sol' 'package/**/*.ts' 'wagmi.config.ts'",
"prettier": "prettier --write 'src/**/*.sol' 'test/**/*.sol' 'package/**/*.ts' 'wagmi.config.ts'",
"lint": "yarn run prettier",
"prettier": "prettier 'src/**/*.sol' 'test/**/*.sol' 'package/**/*.ts' 'wagmi.config.ts'",
"prettier:fix": "npm run prettier -- --write",
"coverage": "forge coverage --report lcov",
"write-gas-report": "forge test --gas-report > gasreport.ansi",
"prepack": "node script/copy-deployed-contracts.mjs && yarn wagmi && yarn bundle-configs && yarn build",
Expand Down
1 change: 1 addition & 0 deletions packages/zora-721-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"build": "forge build",
"build-ts": "tsup package/index.ts --format cjs --dts --sourcemap",
"bundle-configs": "node js-scripts/bundle-chainConfigs.mjs",
"lint": "yarn run prettier",
"prettier": "npx prettier \"js-scripts/**/*.mjs\" \"package/**/*.ts\" \"wagmi.config.ts\" --check",
"prettier:fix": "npm run prettier -- --write",
"wagmi": "wagmi generate",
Expand Down
4 changes: 3 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"test": {
"dependsOn": ["^test"]
},
"lint": {},
"lint": {
"dependsOn": ["^lint"]
},
"dev": {
"cache": false,
"persistent": true
Expand Down

0 comments on commit 742e211

Please sign in to comment.