Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bowei Liu committed Jan 23, 2023
1 parent c716cda commit 742d3bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const input = (
export const test = editor => {
return Array.from(Editor.positions(editor, { at: [], unit: 'character', reverse: true }))

Check failure on line 13 in packages/slate/test/interfaces/Editor/positions/all/unit-character-final-inline-fragmentation-reverse.tsx

View workflow job for this annotation

GitHub Actions / lint:eslint

Replace `Editor.positions(editor,·{·at:·[],·unit:·'character',·reverse:·true·})` with `⏎····Editor.positions(editor,·{·at:·[],·unit:·'character',·reverse:·true·})⏎··`
}

export const output = [
{ path: [0, 2], offset: 0 },
{ path: [0, 1, 0], offset: 0 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const input = (
export const test = editor => {
return Array.from(Editor.positions(editor, { at: [], unit: 'character' }))
}

export const output = [
{ path: [0, 0], offset: 0 },
{ path: [0, 0], offset: 1 },
Expand Down

0 comments on commit 742d3bd

Please sign in to comment.