-
Notifications
You must be signed in to change notification settings - Fork 9
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: small linter fixes/improvements #346
chore: small linter fixes/improvements #346
Conversation
@@ -91,14 +91,14 @@ describe('util', () => { | |||
], | |||
[{ exclude: [] }, ['exclude'], []], | |||
[ | |||
{ exclude: ['@scope/package'] }, // eslint-disable-line sonarjs/no-duplicate-string |
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.
IMO @scope/package
is fine. Let's add test/ts/util.ts
to the rule exclusions instead.
https://github.com/antongolub/yarn-audit-fix/blob/master/src/test/lint/.eslintrc.json#L6
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.
Done: 13c91de
Quality Gate passedIssues Measures |
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.
lgtm. Thanks
Description
This PR purpose a few linter fixes:
lint:fix
command, as the current command throws command "lint" not found. error.sonarjs/no-duplicate-string
linter error introduced by feat: new--exclude
and--ignore
CLI options. #345 without disabling the error for the line.@typescript-eslint/no-unused-vars
linter warnings.