Commit 0a3df261 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

contracts-bedrock: fix linter (#2682)

Fixes the linter to ensure that the prettier
that was installed is used instead of a global
prettier executable
parent e031de8d
......@@ -23,8 +23,8 @@
"lint:ts:check": "eslint .",
"lint:contracts:check": "yarn solhint -f table 'contracts/**/*.sol'",
"lint:check": "yarn lint:contracts:check && yarn lint:ts:check",
"lint:ts:fix": "prettier --write .",
"lint:contracts:fix": "prettier --write 'contracts/**/*.sol'",
"lint:ts:fix": "yarn prettier --write .",
"lint:contracts:fix": "yarn prettier --write 'contracts/**/*.sol'",
"lint:fix": "yarn lint:contracts:fix && yarn lint:ts:fix",
"lint": "yarn lint:fix && yarn lint:check"
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment