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

lough-lint 把 .eslintrc.js 以及 .prettierrc.js 改为 .json 文件 #1

Open
anciity opened this issue May 5, 2023 · 3 comments
Open
Assignees
Labels
question Further information is requested

Comments

@anciity
Copy link
Member

anciity commented May 5, 2023

以兼容项目根 package.json type 为 module 时,eslint 报错的情况

@anciity anciity self-assigned this May 5, 2023
@anciity anciity added the question Further information is requested label May 5, 2023
@anciity
Copy link
Member Author

anciity commented May 31, 2023

使用 monorepo 架构就不会有问题。

@anciity anciity closed this as completed May 31, 2023
@anciity anciity reopened this Jun 1, 2023
@anciity
Copy link
Member Author

anciity commented Jun 1, 2023

.commitlintrc.js 也需要修改

@anciity
Copy link
Member Author

anciity commented Jun 12, 2023

方案2:type=module时,后缀改cjs

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

No branches or pull requests

1 participant