-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Update typescript eslint to v4.8 #83520
Changes from all commits
2240867
1acebc0
bce5239
721267f
d2aa382
c3aab72
01b9c98
118aa14
b2b6cd3
23aba70
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -863,7 +863,8 @@ module.exports = { | |
'no-shadow-restricted-names': 'error', | ||
'no-sparse-arrays': 'error', | ||
'no-this-before-super': 'error', | ||
'no-undef': 'error', | ||
// rely on typescript | ||
'no-undef': 'off', | ||
'no-unreachable': 'error', | ||
'no-unsafe-finally': 'error', | ||
'no-useless-call': 'error', | ||
|
@@ -998,7 +999,8 @@ module.exports = { | |
'no-shadow-restricted-names': 'error', | ||
'no-sparse-arrays': 'error', | ||
'no-this-before-super': 'error', | ||
'no-undef': 'error', | ||
// rely on typescript | ||
'no-undef': 'off', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there are no |
||
'no-unreachable': 'error', | ||
'no-unsafe-finally': 'error', | ||
'no-useless-call': 'error', | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -143,8 +143,8 @@ export type RouteValidatorFullConfig<P, Q, B> = RouteValidatorConfig<P, Q, B> & | |
* @internal | ||
*/ | ||
export class RouteValidator<P = {}, Q = {}, B = {}> { | ||
public static from<P = {}, Q = {}, B = {}>( | ||
opts: RouteValidator<P, Q, B> | RouteValidatorFullConfig<P, Q, B> | ||
public static from<_P = {}, _Q = {}, _B = {}>( | ||
opts: RouteValidator<_P, _Q, _B> | RouteValidatorFullConfig<_P, _Q, _B> | ||
Comment on lines
-146
to
+147
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is that really an opinionated decision from the |
||
) { | ||
if (opts instanceof RouteValidator) { | ||
return opts; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,6 @@ | |
"types": [ | ||
"node", | ||
"jest", | ||
"react", | ||
"flot", | ||
"jest-styled-components", | ||
"@testing-library/jest-dom" | ||
|
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.
there are no
*.js
files butscripts/**