Skip to content

Commit 2cc486a

Browse files
committed
remove prettier/prettier eslint error ignore
1 parent 5de3876 commit 2cc486a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

client/utils/dispatcher.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ describe('dispatcher', () => {
1212

1313
beforeEach(() => {
1414
origin = 'https://example.com';
15-
// eslint-disable-next-line prettier/prettier
16-
mockFrame = { postMessage: jest.fn() } as unknown as Window;
15+
mockFrame = ({ postMessage: jest.fn() } as unknown) as Window;
1716
});
1817

1918
afterEach(() => {

client/utils/dispatcher.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export const MessageTypes = {
1414
SKETCH: 'SKETCH',
1515
REGISTER: 'REGISTER',
1616
EXECUTE: 'EXECUTE'
17-
// eslint-disable-next-line prettier/prettier
1817
} as const;
1918

2019
/** Codesandbox dispatcher message types */

0 commit comments

Comments
 (0)