Skip to content
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

Rule change for ESLint to error on unused variables. #1744

Merged
merged 1 commit into from
Aug 31, 2020

Conversation

rogermparent
Copy link
Contributor

@rogermparent rogermparent commented Aug 31, 2020

This effectively makes commits with an unused variable blocked, fixes #1291

This effectively makes commits with an unused variable blocked.
@shcheklein shcheklein temporarily deployed to dvc-landing-error-on-un-gvohd4 August 31, 2020 22:28 Inactive
@@ -28,7 +28,8 @@
{ "prefixWithI": "always" }
],
"no-tabs": "error",
"react/prop-types": "off"
"react/prop-types": "off",
"@typescript-eslint/no-unused-vars": "error"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we want to make some other checks an error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's likely, this is just the only one that comes to mind right now.

@shcheklein shcheklein merged commit c636ddc into master Aug 31, 2020
@shcheklein shcheklein deleted the error-on-unused-vars branch February 28, 2021 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI does not fail on unused imports
2 participants