We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/* eslint-disable */ /* prettier-ignore */ // @ts-nocheck // noinspection JSUnusedGlobalSymbols // Generated by unplugin-auto-import export {} declare global { const useState: typeof import('react')['useState'] // ... }
Comment prettier-ignore only works on the next node in the abstract syntax tree from formatting. So export {} is excluded, but declare global is not, it still be format by prettier.
export {}
https://github.com/unplugin/unplugin-auto-import
System: OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa) CPU: (16) x64 AMD Ryzen 7 5700G with Radeon Graphics Memory: 27.15 GB / 31.35 GB Container: Yes Shell: 5.8 - /bin/zsh Binaries: Node: 18.4.0 - ~/.nvm/versions/node/v18.4.0/bin/node npm: 8.12.1 - ~/.nvm/versions/node/v18.4.0/bin/npm pnpm: 8.0.0 - ~/.nvm/versions/node/v18.4.0/bin/pnpm Browsers: Chrome: 115.0.5790.98
pnpm
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Comment prettier-ignore only works on the next node in the abstract syntax tree from formatting. So
export {}
is excluded, but declare global is not, it still be format by prettier.Reproduction
https://github.com/unplugin/unplugin-auto-import
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: