-
Notifications
You must be signed in to change notification settings - Fork 40
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 no-throw-literal lint exception not needed #81
remove no-throw-literal lint exception not needed #81
Conversation
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 file is usually copied over to all the projects to enforce a standard that is valid across all our projects. Removing individual rules here that don't apply to this project will break that.
But if this really is a change in how we want to write our code in general, and there is a good reason behind it, this is of course fine - but it should be explained then.
@janpio Actually, this file isn't consistent across all projects AFAIK. As a matter of fact, I added the However, I agree that it would be great to enforce a consistent code style across all projects. But we should not do that by copying |
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.
no-unused-vars
is a very useful addition IMHO. In fact I added it myself IIRC.
OTOH, removing the disabling of no-throw-literal
would be more than fine with me.
8e35cc0
to
f739ebe
Compare
I just updated the title and force-pushed the change to remove the single A quick review would be really appreciated. P.S. I see that @raphinesse added |
UPDATED:
no-unused-vars
entry, as requested in the discussion belowmaster
with force-push after merge of PR Fix ESLint violations where applicable #83As there is desire to keep the custom
no-unused-vars
entry, there seems to be only one exception that we can remove without updating the code. This is why I updated the title and force-pushed the change with the updated commit message.