-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
ref: replace consistent-type-imports with verbatimModuleSyntax #95225
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
Changes from 5 commits
f18ad64
0d87afa
8af1279
09af760
3b5766a
bf44fa6
b9f2cdd
f3c4c9f
2faec4d
ba9d227
aae787f
3edf4f4
9cfa2ca
8ae55a7
1bb2731
7add448
4822931
8540224
594a66d
b9c9a3f
41bc3a6
3ccb400
920f4a9
2b6e661
39346b0
c4f1d01
a8a362d
c7b0f5f
0e33012
574b977
c99f30a
88cacd5
6bc141a
be6d14f
f3b35a1
9d0d762
93da88d
ca3f8ab
0f77d54
49c50d6
d540b90
6e9647d
48f46ec
2077291
378ab2c
7b89cd5
f7cac73
5714dea
0b8470d
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 |
---|---|---|
@@ -1,12 +1,13 @@ | ||
import type {Location, LocationDescriptorObject} from 'history'; | ||
|
||
import ExternalLink from 'sentry/components/links/externalLink'; | ||
import {DEFAULT_QUERY} from 'sentry/constants'; | ||
import {t, tct} from 'sentry/locale'; | ||
import type {Event} from 'sentry/types/event'; | ||
import type {Group, GroupTombstoneHelper} from 'sentry/types/group'; | ||
import type {Organization} from 'sentry/types/organization'; | ||
|
||
export const DEFAULT_QUERY = 'is:unresolved issue.priority:[high, medium]'; | ||
|
||
export enum Query { | ||
FOR_REVIEW = 'is:unresolved is:for_review assigned_or_suggested:[me, my_teams, none]', | ||
PRIORITIZED = DEFAULT_QUERY, // eslint-disable-line @typescript-eslint/prefer-literal-enum-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. note: verbatimModuleSyntax also enables isolatedModules, where files must be parseable on their own. For enums, that means they can’t reference a value outside of its file, or it’ll error with:
This is the only place where we had this violation (it’s also a lint violation as we can see), and since |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"verbatimModuleSyntax": false | ||
}, | ||
} |
Uh oh!
There was an error while loading. Please reload this page.