Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: lint
  • Loading branch information
Yukaii committed Apr 28, 2023
commit 49c77a6bbe91c8cd3bb1a64ae8a0fb9ec065925e
2 changes: 1 addition & 1 deletion src/command.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import API from '@hackmd/api'
import {ux, Command} from '@oclif/core'
import {Command, ux} from '@oclif/core'

import config from './config'
import {setAccessTokenConfig} from './utils'
Expand Down
2 changes: 1 addition & 1 deletion src/commands/history.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ux, Flags} from '@oclif/core'
import {Flags, ux} from '@oclif/core'

import HackMDCommand from '../command'

Expand Down
4 changes: 2 additions & 2 deletions src/commands/notes/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
CreateNoteOptions,
NotePermissionRole,
} from '@hackmd/api/dist/type'
import {ux, Flags} from '@oclif/core'
import {Flags, ux} from '@oclif/core'
import * as fs from 'fs'

import HackMDCommand from '../../command'
Expand Down Expand Up @@ -37,7 +37,7 @@ raUuSTetT5uQbqQfLnz9lA A new note gvfz2UB5THiKABQJQnLs6Q
content: noteContent,
readPermission: notePermission,
writePermission: notePermission,
commentPermission: commentPermission,
commentPermission,
editor,
...ux.table.flags(),
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/notes/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ux, Flags} from '@oclif/core'
import {Flags, ux} from '@oclif/core'

import HackMDCommand from '../../command'
import {noteId} from '../../flags'
Expand Down
4 changes: 2 additions & 2 deletions src/commands/team-notes/create.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {CommentPermissionType, CreateNoteOptions, NotePermissionRole} from '@hackmd/api/dist/type'
import {ux, Flags} from '@oclif/core'
import {Flags, ux} from '@oclif/core'
import fs from 'fs'

import HackMDCommand from '../../command'
Expand Down Expand Up @@ -27,7 +27,7 @@ raUuSTetT5uQbqQfLnz9lA A new note gvfz2UB5THiKABQJQnLs6Q n
content: noteContent,
readPermission: notePermission,
writePermission: notePermission,
commentPermission: commentPermission,
commentPermission,
editor,
...ux.table.flags(),
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/team-notes/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ux, Flags} from '@oclif/core'
import {Flags, ux} from '@oclif/core'

import HackMDCommand from '../../command'
import {teamPath} from '../../flags'
Expand Down
2 changes: 1 addition & 1 deletion src/commands/teams.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ux, Flags} from '@oclif/core'
import {Flags, ux} from '@oclif/core'

import HackMDCommand from '../command'

Expand Down
2 changes: 1 addition & 1 deletion src/commands/whoami.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ux, Flags} from '@oclif/core'
import {Flags, ux} from '@oclif/core'

import HackMDCommand from '../command'

Expand Down