You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will resolve user's src/index.tsx outside node_modules unexpectedly, of course it should be a tsx issue, but it can be prevented in @prettier/plugin-pug's side.
Additional Context
I'd like to raise a PR for it if you agree.
import { CATEGORY_PUG } from './' would work, or we should extract CATEGORY_PUG into constant.ts.
The text was updated successfully, but these errors were encountered:
Info
Prettier config
"@1stg/prettier-config"
Context
I'm using tsx to run
.ts
files withtsconfig.json
, there is"*": ["src/*"]
alias:plugin-pug/src/options/common.ts
Line 2 in a94d175
It will resolve user's
src/index.tsx
outsidenode_modules
unexpectedly, of course it should be atsx
issue, but it can be prevented in@prettier/plugin-pug
's side.Additional Context
I'd like to raise a PR for it if you agree.
import { CATEGORY_PUG } from './'
would work, or we should extractCATEGORY_PUG
intoconstant.ts
.The text was updated successfully, but these errors were encountered: