Skip to content

Commit a9924e4

Browse files
committed
biome:fix
1 parent ed85dd3 commit a9924e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

browser-extension/src/entrypoints/content.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CONFIG, ModeType } from '../lib/config'
1+
import { CONFIG, type ModeType } from '../lib/config'
22
import { logger } from '../lib/logger'
33
import { EnhancerRegistry, TextareaRegistry } from '../lib/registries'
44
import { githubPrNewCommentContentScript } from '../playgrounds/github-playground'
@@ -8,7 +8,7 @@ const enhancedTextareas = new TextareaRegistry()
88

99
export default defineContentScript({
1010
main() {
11-
if (CONFIG.MODE as ModeType === 'PLAYGROUNDS_PR') {
11+
if ((CONFIG.MODE as ModeType) === 'PLAYGROUNDS_PR') {
1212
githubPrNewCommentContentScript()
1313
return
1414
}

browser-extension/src/lib/enhancers/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import hljs from 'highlight.js'
2+
import { logger } from '../../lib/logger'
23
import OverType, { type OverTypeInstance } from '../../overtype/overtype'
34
import type { CommentEnhancer, CommentSpot } from '../enhancer'
4-
import { logger } from '../../lib/logger'
55

66
const GITHUB_SPOT_TYPES = [
77
'GH_PR_ADD_COMMENT',

0 commit comments

Comments
 (0)