-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider adding a .prettierignore file #209
Labels
Comments
Good idea. Would you like to create an PR for that? |
Sure ! Where should I add the file ? On the main generator or in the subgenerator? |
I'd say main generator probably. Prettier is added by generator-node, and generator-generator is composed on top of that one. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Thanks for this generator. However, it can be a bit frustrating when you start using it. The reason is because JSON template files are being piped through prettier on every commit. Obviously, template files do not pass any JSON linter. According to prettier documentation is as easy as adding a .prettierignore file. The content should be
**/templates
I tried it and works like a charm.
Thanks in advance
The text was updated successfully, but these errors were encountered: