-
Notifications
You must be signed in to change notification settings - Fork 42
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: remove prettier, and default to eslint #1495
Conversation
size-limit report 📦
|
1770711
to
c09cab1
Compare
99320df
to
b1ef3f7
Compare
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.
Do not run format or lint on generated files:
- it just creates more mess as you know have 2 scripts that breaks each-other outputs (same as you had with eslint and prettier)
- the files are auto-generated so nobody is going to "mess up" the formatting
- the files are auto-generated so even if the linter find an issue, there is nothing you will be able to do to fix it.
6683824
to
0780c4d
Compare
@fryorcraken -- |
w.uint32(10); | ||
w.string(obj.contentTopic); | ||
} | ||
if ((obj.contentTopic != null && obj.contentTopic !== '')) { |
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.
oh no, why do we change to single quote?
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.
we don't -- this is just the proto
autogen files that we don't run linting on anymore :)
This PR
npm run proto
prettier
on it anymore, there is a huge diffproto
fromeslintIgnore
but i am not sure why it was added to ignore (704f277)