Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 9, 2023
1 parent 28854d4 commit 6795962
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/dom.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line n/file-extension-in-import
import Yoga, {type Node as YogaNode} from 'yoga-wasm-web/auto';
import measureText from './measure-text.js';
import {type Styles} from './styles.js';
Expand Down
1 change: 0 additions & 1 deletion src/get-max-width.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line n/file-extension-in-import
import Yoga, {type Node as YogaNode} from 'yoga-wasm-web/auto';

const getMaxWidth = (yogaNode: YogaNode) => {
Expand Down
1 change: 0 additions & 1 deletion src/ink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import autoBind from 'auto-bind';
import signalExit from 'signal-exit';
import patchConsole from 'patch-console';
import {type FiberRoot} from 'react-reconciler';
// eslint-disable-next-line n/file-extension-in-import
import Yoga from 'yoga-wasm-web/auto';
import reconciler from './reconciler.js';
import render from './renderer.js';
Expand Down
1 change: 0 additions & 1 deletion src/reconciler.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import process from 'node:process';
import createReconciler from 'react-reconciler';
import {DefaultEventPriority} from 'react-reconciler/constants.js';
// eslint-disable-next-line n/file-extension-in-import
import Yoga, {type Node as YogaNode} from 'yoga-wasm-web/auto';
import {
createTextNode,
Expand Down
1 change: 0 additions & 1 deletion src/render-node-to-output.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import widestLine from 'widest-line';
import indentString from 'indent-string';
// eslint-disable-next-line n/file-extension-in-import
import Yoga from 'yoga-wasm-web/auto';
import wrapText from './wrap-text.js';
import getMaxWidth from './get-max-width.js';
Expand Down
1 change: 0 additions & 1 deletion src/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import {type Boxes, type BoxStyle} from 'cli-boxes';
import {type LiteralUnion} from 'type-fest';
import {type ForegroundColorName} from 'ansi-styles'; // Note: We import directly from `ansi-styles` to avoid a bug in TypeScript.
// eslint-disable-next-line n/file-extension-in-import
import Yoga, {type Node as YogaNode} from 'yoga-wasm-web/auto';

export type Styles = {
Expand Down

0 comments on commit 6795962

Please sign in to comment.