You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run npx featers generate service to create a service
Expected behavior
lines should end with semicolons
Actual behavior
.prettierrc is ignored
Probable fix
prettier.resolveConfig() seems to expect a file, not a directory. testing suggests that the file doesn't have to exist.
in packages/generators/src/commons.ts the line
Steps to reproduce
create
.prettierrc
withrun
npx featers generate service
to create a serviceExpected behavior
lines should end with semicolons
Actual behavior
.prettierrc
is ignoredProbable fix
prettier.resolveConfig()
seems to expect a file, not a directory. testing suggests that the file doesn't have to exist.in
packages/generators/src/commons.ts
the linecould be changed to something like this:
according to my minimal testing, cwd can also be omitted completely:
The text was updated successfully, but these errors were encountered: