-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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(): prettify all source code #8276
Conversation
If there is a stlye rule ( those are all defaults from prettier ) that you don't like this is the moment to talk about 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 like
condition
? value
: other
and prefer
condition ?
value :
other;
BUT as long as VSCODE formats it for me f*** it
? [255, 255, 255, 0] | ||
: Color.sourceFromHex(color) || | ||
Color.sourceFromRgb(color) || | ||
Color.sourceFromHsl(color) || [0, 0, 0, 1]; // color is not recognize let's default to black as canvas does |
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 like this
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.
see if is configurable and change it
I wonder (and dread) how hard it will be to rebase PRs from before the migration |
Copy and reapply the changes. Indeed we waited too much to do this. |
which do you prefer? https://eslint.org/docs/latest/rules/operator-linebreak |
What is the difference between this https://github.com/prettier/eslint-plugin-prettier and https://github.com/prettier/eslint-config-prettier? Anyways I managed to get it more or less as I prefer but only when I run lint. prettier doesn't do it |
It seems that https://github.com/prettier/eslint-config-prettier disables the rule I added when running with prettier |
the issue is that that is a Lint rule. Prettier just does formatting and has a set of lint rules with the intent of being only disabled, to aovid overlapping. eslint-config-prettier: Disable eslint rules that overlap with prettier. I would prefer separation of concern between formatting and lintable bugs |
ok maybe we have to swallow it. This is what a popular tool offer and debating where the question mark goes is wasted time. }
else { But i had to keep it for 7 long years |
Yeah yeah sure. |
This reverts commit 7efdc7a.
Isn't |
Could be that without JS files anymore is dead. |
In theory no changes here.