Skip to content

Commit

Permalink
chore(eslint): Enable no-duplicate-enum-values and fix violations (#8…
Browse files Browse the repository at this point in the history
…3544)

Relying on automation to find any problems with this.
  • Loading branch information
ryan953 authored Jan 15, 2025
1 parent 8cff0dc commit 05cf949
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,6 @@ export default typescript.config([
// Recommended overrides
'@typescript-eslint/ban-ts-comment': 'off', // TODO(ryan953): Fix violations and delete this line
'@typescript-eslint/no-array-constructor': 'off', // TODO(ryan953): Fix violations and delete this line
'@typescript-eslint/no-duplicate-enum-values': 'off', // TODO(ryan953): Fix violations and delete this line
'@typescript-eslint/no-empty-object-type': 'off', // TODO(ryan953): Fix violations and delete this line
'@typescript-eslint/no-explicit-any': 'off', // TODO(ryan953): Fix violations and delete this line
'@typescript-eslint/no-extra-non-null-assertion': 'off', // TODO(ryan953): Fix violations and delete this line
Expand Down
3 changes: 1 addition & 2 deletions static/app/types/group.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export enum IssueTitle {
PROFILE_JSON_DECODE_MAIN_THREAD = 'JSON Decoding on Main Thread',
PROFILE_REGEX_MAIN_THREAD = 'Regex on Main Thread',
PROFILE_FRAME_DROP = 'Frame Drop',
PROFILE_FRAME_DROP_EXPERIMENTAL = 'Frame Drop',
PROFILE_FUNCTION_REGRESSION = 'Function Regression',
PROFILE_FUNCTION_REGRESSION_EXPERIMENTAL = 'Function Duration Regression (Experimental)',

Expand Down Expand Up @@ -168,7 +167,7 @@ const ISSUE_TYPE_TO_ISSUE_TITLE = {
profile_json_decode_main_thread: IssueTitle.PROFILE_JSON_DECODE_MAIN_THREAD,
profile_regex_main_thread: IssueTitle.PROFILE_REGEX_MAIN_THREAD,
profile_frame_drop: IssueTitle.PROFILE_FRAME_DROP,
profile_frame_drop_experimental: IssueTitle.PROFILE_FRAME_DROP_EXPERIMENTAL,
profile_frame_drop_experimental: IssueTitle.PROFILE_FRAME_DROP,
profile_function_regression: IssueTitle.PROFILE_FUNCTION_REGRESSION,
profile_function_regression_exp: IssueTitle.PROFILE_FUNCTION_REGRESSION_EXPERIMENTAL,

Expand Down
1 change: 0 additions & 1 deletion static/app/views/insights/cache/referrers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ export enum Referrer {
SAMPLES_CACHE_TRANSACTION_DURATION_CHART = 'api.performance.cache.samples-cache-transaction-duration-chart',
SAMPLES_CACHE_TRANSACTION_DURATION = 'api.performance.cache.samples-cache-transaction-duration',
SAMPLES_CACHE_SPAN_SAMPLES = 'api.performance.cache.samples-cache-span-samples',
SAMPLES_CACHE_SPAN_SAMPLES_TRANSACTION_DURATION = 'api.performance.cache.samples-cache-span-samples',
SAMPLES_CACHE_HIT_MISS_CHART = 'api.performance.cache.samples-cache-hit-miss-chart',
}

0 comments on commit 05cf949

Please sign in to comment.