Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

prettier doesn't seem to work on our .sol files #17

Open
geoknee opened this issue Jan 28, 2021 · 0 comments
Open

prettier doesn't seem to work on our .sol files #17

geoknee opened this issue Jan 28, 2021 · 0 comments

Comments

@geoknee
Copy link
Contributor

geoknee commented Jan 28, 2021

If I run yarn prettier:check (which is hooked into our linting check on circle), I get an error printed but still get a successful exit code:

➜  statechannels-contracts git:(solidity-prettier) ✗ yarn prettier:check
yarn run v1.22.5
$ prettier --list-different **/*.sol
contracts/AttestationApp.sol[error] No parser could be inferred for file: contracts/AttestationApp.sol
✨  Done in 0.58s.

No formatting is applied as a result.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant