KonstantinSimeonov / tsx-control-statements

Control flow JSX/TSX elements that get compiled to plain old javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'tsx-control-statements' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies

jimmykane opened this issue · comments

'tsx-control-statements' should be listed in the project's dependencies, not devDependencies  import/no-extraneous-dependencies

As the title describes.

But it should be at dev.

Any solution or pointers?

big yikes

potential workaround:

// in your own file (let's say "src/components/control.tsx"), do:

// eslint-disable-next-line
export * from "tsx-control-statements"

// then, in your files:

import { If } from "src/components/control"

On a second thought, this might crash spectacularly. Don't have the bandwidth to address this rn, but I'll think on it