-
Notifications
You must be signed in to change notification settings - Fork 379
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
Remove duplicate trailingComma setting from .prettierrc.js #1836 #4316
base: main
Are you sure you want to change the base?
Conversation
Fixed issue with .prettierrc.js containing trailingComma twice by removing 'none' value.
Hey @justinmclean, I've fixed the build error. Could you please review the changes? |
return "Cannot build ConfElement, some of required attributes are not set " + attributes; | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Jash2606 is this file you wanted or you added mistakenly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @jerryshao , I got this file while running up the prettier , So Should i keep it or remove it ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know who generates this file, from my point it is not necessary.
Hi @Jash2606 would you please fix the conflict of this PR, thanks. |
@Jash2606 The latter one takes effect when duplicate trailingComma, you can remove the |
@ Jash2606 It would be easier to review if the PR if it just fixed the above issue without making other changes. Any chance you can remove your formating changes? |
Fixed issue with .prettierrc.js containing trailingComma twice by removing 'none' value.
What changes were proposed in this pull request?
This pull request fixes the issue with
.prettierrc.js
containing thetrailingComma
setting twice with different values by removing thenone
value and keeping thees5
value.Why are the changes needed?
The changes are needed to resolve the conflict in the Prettier configuration and ensure consistent code formatting according to ES5 rules.
Fix: #1836
Does this PR introduce any user-facing change?
No, this PR does not introduce any user-facing changes.
How was this patch tested?
The changes were tested by running Prettier on the codebase.