Skip to content

Commit 49c77a6

Browse files
committed
fix: lint
1 parent 5fd0d00 commit 49c77a6

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

src/command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import API from '@hackmd/api'
2-
import {ux, Command} from '@oclif/core'
2+
import {Command, ux} from '@oclif/core'
33

44
import config from './config'
55
import {setAccessTokenConfig} from './utils'

src/commands/history.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {ux, Flags} from '@oclif/core'
1+
import {Flags, ux} from '@oclif/core'
22

33
import HackMDCommand from '../command'
44

src/commands/notes/create.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
CreateNoteOptions,
44
NotePermissionRole,
55
} from '@hackmd/api/dist/type'
6-
import {ux, Flags} from '@oclif/core'
6+
import {Flags, ux} from '@oclif/core'
77
import * as fs from 'fs'
88

99
import HackMDCommand from '../../command'
@@ -37,7 +37,7 @@ raUuSTetT5uQbqQfLnz9lA A new note gvfz2UB5THiKABQJQnLs6Q
3737
content: noteContent,
3838
readPermission: notePermission,
3939
writePermission: notePermission,
40-
commentPermission: commentPermission,
40+
commentPermission,
4141
editor,
4242
...ux.table.flags(),
4343
}

src/commands/notes/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {ux, Flags} from '@oclif/core'
1+
import {Flags, ux} from '@oclif/core'
22

33
import HackMDCommand from '../../command'
44
import {noteId} from '../../flags'

src/commands/team-notes/create.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {CommentPermissionType, CreateNoteOptions, NotePermissionRole} from '@hackmd/api/dist/type'
2-
import {ux, Flags} from '@oclif/core'
2+
import {Flags, ux} from '@oclif/core'
33
import fs from 'fs'
44

55
import HackMDCommand from '../../command'
@@ -27,7 +27,7 @@ raUuSTetT5uQbqQfLnz9lA A new note gvfz2UB5THiKABQJQnLs6Q n
2727
content: noteContent,
2828
readPermission: notePermission,
2929
writePermission: notePermission,
30-
commentPermission: commentPermission,
30+
commentPermission,
3131
editor,
3232
...ux.table.flags(),
3333
}

src/commands/team-notes/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {ux, Flags} from '@oclif/core'
1+
import {Flags, ux} from '@oclif/core'
22

33
import HackMDCommand from '../../command'
44
import {teamPath} from '../../flags'

src/commands/teams.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {ux, Flags} from '@oclif/core'
1+
import {Flags, ux} from '@oclif/core'
22

33
import HackMDCommand from '../command'
44

src/commands/whoami.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {ux, Flags} from '@oclif/core'
1+
import {Flags, ux} from '@oclif/core'
22

33
import HackMDCommand from '../command'
44

0 commit comments

Comments
 (0)