-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: update eslint to v8 #18264
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
feat: update eslint to v8 #18264
Changes from all commits
98848a4
98df199
0c8a787
316df6b
2cdbe7c
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 |
|---|---|---|
|
|
@@ -39,5 +39,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
|
Member
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. why is this rule no longer applied? (no objections here since it's a test but we still want this rule in src files)
Member
Author
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. It is a typescript eslint rule and it was never working, since it was a |
||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,5 +33,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,5 +30,4 @@ async function run() { | |
| }); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,5 +39,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,5 +41,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -43,5 +43,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,5 +37,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,5 +37,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,5 +44,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,5 +45,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,5 +44,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,5 +42,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,5 +58,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,5 +42,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,5 +42,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,5 +33,4 @@ async function run() { | |
| ); | ||
| } | ||
|
|
||
| // eslint-disable-next-line @typescript-eslint/no-floating-promises | ||
| run(); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,6 @@ | ||
| // import/export got a false positive, and affects most of our index barrel files | ||
| // can be removed once following issue is fixed: https://github.com/import-js/eslint-plugin-import/issues/703 | ||
| /* eslint-disable import/export */ | ||
|
Member
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. l: can we add a small explanation why we disable this here and in the other files? I guess once the false positive gets fixed, we'd get an "unused directive" lint error, so whoever runs into this will have some context.
Member
Author
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. Good idea. I'll add a comment everywhere directly |
||
| export type { ErrorHandlerOptions } from './errorhandler'; | ||
|
|
||
| export * from '@sentry/browser'; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.