Skip to content

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

Merged
antfu merged 4 commits into
unplugin:mainfrom
yi-boide:eslintrc_setting
May 10, 2024
Merged

feat(eslint): support generate mjs/cjs eslint config #488#494
antfu merged 4 commits into
unplugin:mainfrom
yi-boide:eslintrc_setting

Conversation

@yi-boide

Copy link
Copy Markdown
Contributor

Description

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

Linked Issues

#487

Additional context

@bolt-new-by-stackblitz

Copy link
Copy Markdown

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
@yi-boide

yi-boide commented May 10, 2024

Copy link
Copy Markdown
Contributor Author

当前更改还有些问题,你这边中的改动最后那块没有使用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.

2 participants