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

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

@geoknee

Description

@geoknee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions