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

启用新版 ESLint 扁平配置文件格式 #119

Closed
otomad opened this issue Jan 4, 2024 · 1 comment
Closed

启用新版 ESLint 扁平配置文件格式 #119

otomad opened this issue Jan 4, 2024 · 1 comment

Comments

@otomad
Copy link
Member

otomad commented Jan 4, 2024

ESLint 已支持全新的配置文件格式,使用更高效方便。并支持使用正则表达式来对特定文件单独制定规则。

由原先的 eslintrc.cjs 更新为 eslint.config.js

@otomad otomad changed the title 启用新版 ESLint 配置文件格式 启用新版 ESLint 扁平配置文件格式 Mar 8, 2024
@otomad
Copy link
Member Author

otomad commented Mar 8, 2024

更新分支:https://github.com/KIRAKIRA-DOUGA/KIRAKIRA-Cerasus/tree/feature-2024021801-EslintFlatConfig-Ranne

注:由于 eslint-plugin-vue 仍未完全支持新格式,功能似乎会出现异常。等待其完全支持后再继续。

跟踪链接:eslint/eslint#18093

@otomad otomad closed this as completed in cc651b1 Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant