Skip to content
New issue

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

feat(eslint): support generate mjs/cjs eslint config #488 #494

Merged
merged 4 commits into from
May 10, 2024

Conversation

yi-boide
Copy link
Contributor

Description

If eslintrc filepath is a.js suffix, default export is provided
解决.json不支持最新版本的eslint8.57.0的使用

Linked Issues

#487

Additional context

Copy link

stackblitz bot commented May 10, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@antfu antfu changed the title If eslintrc filepath is a.js suffix, default export is provided #488 feat(eslint): support generate mjs/cjs eslint config #488 May 10, 2024
@antfu antfu merged commit 670688c into unplugin:main May 10, 2024
5 of 6 checks passed
@yi-boide
Copy link
Contributor Author

yi-boide commented May 10, 2024

当前更改还有些问题,你这边中的改动最后那块没有使用else,前面的更改都会被后面的content = ${content}\n覆盖掉
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants