When I make formatting changes to any *.graphql file precise-commits is not able to parse the file. When I remove graphql files from the whitelist the formatter runs perfectly.
The errors it throws in all *.graphql files is:
SyntaxError: Syntax Error: Unexpected Name "thisWillCauseError". (1:1)
The following will cause an error.
type MyType {
thisWillCauseError: String!
}
Prettier alone and/or with lint-staged formats these files without issue. So, it seems like this is specific to this library.
When I make formatting changes to any *.graphql file precise-commits is not able to parse the file. When I remove graphql files from the whitelist the formatter runs perfectly.
The errors it throws in all *.graphql files is: SyntaxError: Syntax Error: Unexpected Name "thisWillCauseError". (1:1)
The following will cause an error.
Prettier alone and/or with lint-staged formats these files without issue. So, it seems like this is specific to this library.