prettier-react-tachyons
prettier-react-tachyons copied to clipboard
Doesn't work with prettier-atom
Hey, first congrats on this project, it's awesome!
I wanted to try it with prettier-atom since it runs prettier on the file save, but it's not working, I'm getting this error even after having installed the dependency.

Any way it could work with the atom editor?
My first guess would be - does your project have prettier as a dependency, or are you relying on the copy of prettier bundled with prettier-atom? If prettier isn't a dependency of the project, the path ./node_modules... will be likely be resolved relative to the atom plugin, rather than the project's root.
@tmcw yes, the project has a .prettierrc, prettier as a devDependency, and a prettier script in the package.json's scripts
Try using an absolute path to the configuration instead of a relative one?
Hey it works that way!
Sadly we can't commit that to the project's .prettierrc, it would be great it every editor could read from it.