Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
devleejb committed Jan 12, 2024
1 parent 7ab6092 commit 6ddd53e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
3 changes: 2 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"prettier": "prettier . --check"
"prettier": "prettier . --check",
"prettier-write": "prettier . --write"
},
"dependencies": {
"@codemirror/commands": "^6.3.3",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/yorkie/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export { yorkieSync, yorkieSyncFacet, YorkieSyncConfig };

export function yorkieCodeMirror<
T extends YorkieCodeMirrorDocType,
P extends YorkieCodeMirrorPresenceType
P extends YorkieCodeMirrorPresenceType,
>(doc: yorkie.Document<T, P>, client: yorkie.Client) {
const yorkieSyncConfig = new YorkieSyncConfig(doc, client);
const plugins = [yorkieSyncFacet.of(yorkieSyncConfig), yorkieSync];
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/yorkie/yorkieSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type YorkieCodeMirrorPresenceType = {

export class YorkieSyncConfig<
T extends YorkieCodeMirrorDocType,
P extends YorkieCodeMirrorPresenceType
P extends YorkieCodeMirrorPresenceType,
> {
doc: yorkie.Document<T, P>;
client: yorkie.Client;
Expand Down

0 comments on commit 6ddd53e

Please sign in to comment.