- Notifications
You must be signed in to change notification settings - Fork1.9k
Run linter with prettier 2#1477
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Siemienik left a comment
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.
This pr again introduce lots of changes, which has no sense. Lets we keep current style rules
alubbe commentedSep 28, 2020
Agreed - I've reset the arrow-parens behaviour back to prettier v1 ('as-needed'). The other changes were always 'wrong', I think and they looks safe enough to merge |
Siemienik left a comment
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've added more comments, If is it fine to you I'm going to propose some rules changes according to my comments 😉
Uh oh!
There was an error while loading.Please reload this page.
Siemienik left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
After some investigation, I changed max-len option to 100. Before was 160 - that value is too much for properly priettier 2 working.
As effect some improvements was introduced like:
https://github.com/exceljs/exceljs/pull/1477/files#diff-a083b92106d7d843e5f325cb350dbf25L102-R109
alubbe commentedSep 29, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Looks good, I also found another typo - fixed, will merge |

Summary
Some files haven't had the linter applied to, so let's fix that :)
Test plan
No new tests are needed