-
Notifications
You must be signed in to change notification settings - Fork 76
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(deps): bump linters & update lint rules #943
Conversation
.eslintrc.js
Outdated
@@ -16,6 +16,8 @@ module.exports = { | |||
"warn", | |||
{ ignoreRestArgs: true }, | |||
], | |||
"no-unused-vars": "off", | |||
"@typescript-eslint/no-unused-vars": ["warn"], |
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.
Opps.. I'm going to resolve conflict. P.S: Done :) |
5f8da92
to
7b3e999
Compare
@yoshinorin could you fix eslint CI too? It should fail when there are some warnings but currently it doesn't. I guess it's a matter of some flag. |
OK. I will try 👌 |
@@ -75,7 +75,7 @@ class ScalaMainConfigProvider implements vscode.DebugConfigurationProvider { | |||
path: editor.document.uri.toString(true), | |||
runType: RunType.RunOrTestFile, | |||
}; | |||
return start(false, args).then((_) => { | |||
return start(false, args).then(() => { |
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.
delete unused var
const { defaultValue, workspaceValue } = config.inspect<A>(key)!; | ||
/* eslint-enable @typescript-eslint/no-non-null-assertion */ |
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 add eslint-disable @typescript-eslint/no-non-null-assertion
for non-null-assertion
.
Done :) |
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.
Looks good! Thanks @yoshinorin!
Are you on Scalameta Discord? I wanted to ask you one question, but it'll be easier on DM or some chat rather than Github discussions.
I joined Scalameta Discord just now :) |
Purpose
Current version of
@typescript-eslint
does not supporttypescript 4.6.3
.This PR purpose is update linters (
eslint
&typescript-eslint
)Thank you :)
Others
I checked the
eslint v8.0.0
migration guide and thetypescript-eslint 5.0.0
release note. One of the breaking change found but basically seems no problem.