Skip to content

Commit

Permalink
fix: Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
3y3 committed Apr 3, 2024
1 parent 22805ff commit 3d7e51b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/parsers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
WINDOW_WIDTH,
} from '../constants';

import {first, last, second} from '../lenses';
import {first, second} from '../lenses';

// unwrap first element of the string array
const firstString = first<string>();
Expand All @@ -18,10 +18,6 @@ const fst = compose(defaultTo(''), view(firstString));
const secondString = second<string>();
const snd = compose(defaultTo(''), view(secondString));

const lastString = last<string>();
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const lst = compose(defaultTo(''), view(lastString));

// extract sentences naively splitting by delimiters
const sentencePattern = `([^${SENTENCE_END_MARKERS}]*?[${SENTENCE_END_MARKERS}]+)`;
const senteceFlags = 'gmu';
Expand Down

0 comments on commit 3d7e51b

Please sign in to comment.