-
Notifications
You must be signed in to change notification settings - Fork 924
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
Prettier configuration does not take effect #7864
Comments
What you see in the bit env get you attached is the config of the env of the env (which is teambit.envs/env) |
This error is very strange. I can pass with 'bit lint', but if I use 'bit build' or 'bit tag', an error will be reported. The eslint I configured removes the trailing part number and uses single quotes. |
Hi Also, if you want formatting to run automatically during the build pipeline, you'll need to add the formatter task, with your config, to the build() pipeline in your custom env. |
Thank you for your answer, I found the cause, but I can't solve it well, because eslint's 'rules: { prettier/prettier: { "error" } }', I tried a lot of methods, there will still be a conflict between eslint and prettier, I can only turn off this check to pass bit build. |
when running |
formatting should not run during with recent updates, and |
Description
How to Change Prettier Configuration in Custom Env?
Specifications
Context and additional information
The text was updated successfully, but these errors were encountered: