-
Notifications
You must be signed in to change notification settings - Fork 49
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
chore: add plugins files to format script #127
Conversation
👍 LGTM |
So, main config is: {
"bracketSpacing": false,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5",
"useTabs": true
} and plugin config is: {
"bracketSpacing": false,
"quoteProps": "preserve",
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "none",
"useTabs": true
} @carloslancha: Is the thing you mean by "CKEditor doesn't support" the |
@wincent I added
If we're fine about getting tons of warnings during the build process we don't need this... 😅 |
I like how it displays "warning" in two different languages. I'm mostly OK with those warnings because when I read them I understand they are being emitted because of the use of trailing commas, but I think it can confuse people - so we can either add a note somewhere in the README when talking about building ckeditor |
I wonder if there is an easy way for us to pass a Although look at this:
Note this bit:
If we can pass that through, then that might make this problem go away... |
Yes it does , if we add |
I'd also add to prettier config
|
Yeah.
Up to you. If it is a single warning I'd probably just ignore it and avoid the clutter of a second config. But if you want to have the other config, feel free. |
Done |
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.
Since we're adding custom plugins to this repo we need to format them, but CKEditor doesn't support some of the rules we were working with, so here I'm adding a specific prettier configuration for plugins and updating the format scripts to make it work.