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
If both of the above conditions are met simultaneously, the formatting will be interrupted or an "incorrect formatting" will occur
Screenshot of when interrupted
被中断时的截图
https://github.com/pany-ang/issue-eslint-config
System: OS: macOS 14.2.1 CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz Memory: 47.82 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 20.15.1 - /usr/local/bin/node Yarn: 1.22.22 - /usr/local/bin/yarn npm: 10.7.0 - /usr/local/bin/npm pnpm: 9.5.0 - ~/.npm-global/bin/pnpm Browsers: Chrome: 128.0.6613.120 Edge: 128.0.2739.67 Safari: 17.2.1
pnpm
The text was updated successfully, but these errors were encountered:
如果将 eslint.config.js 中的 formatters 设置为 false,将不会出现该问题
eslint.config.js
formatters
false
If you set 'formatters' in 'eslint.config.js' to 'false', the issue will not occur
Sorry, something went wrong.
演示「中断」和「错误的格式化」
Demo of 'Interrupt' and 'Incorrect Format'
No branches or pull requests
Describe the bug
If both of the above conditions are met simultaneously, the formatting will be interrupted or an "incorrect formatting" will occur
如果同时满足上面两个条件,那么格式化将被中断或者出现 "错误的格式化"
Screenshot of when interrupted
被中断时的截图
Reproduction
https://github.com/pany-ang/issue-eslint-config
System Info
System: OS: macOS 14.2.1 CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz Memory: 47.82 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 20.15.1 - /usr/local/bin/node Yarn: 1.22.22 - /usr/local/bin/yarn npm: 10.7.0 - /usr/local/bin/npm pnpm: 9.5.0 - ~/.npm-global/bin/pnpm Browsers: Chrome: 128.0.6613.120 Edge: 128.0.2739.67 Safari: 17.2.1
Used Package Manager
pnpm
Validations
Contributions
The text was updated successfully, but these errors were encountered: