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

勘误 #101

Closed
1 task
green961 opened this issue Jul 27, 2023 · 1 comment · Fixed by #102
Closed
1 task

勘误 #101

green961 opened this issue Jul 27, 2023 · 1 comment · Fixed by #102
Labels
accepted enhancement New feature or request

Comments

@green961
Copy link

What problem do you want to solve?

https://zh-hans.eslint.org/docs/latest/use/configure/configuration-files-new
可以包括内置规则、希望它们被执行
如何

parser - 包含 parse() 方法的对象,或者表示插件内解析器名称的字符串(如 "pluginName/parserName",默认为 "@/espree")
parserOptions - 指定额外选项的对象,直接传递给解析器的 parser() 方法
第二个也应该是 parse

如果指定了 files,则只适用于与之匹配匹配的文件
多了一个匹配

则规则配置只适用于与之匹配匹配文用
多了一个匹配, 文用 应为 文件

What do you think is the correct solution?

勘误

Participation

  • I am willing to submit a pull request for this change.

Additional comments

No response

@green961 green961 added the enhancement New feature or request label Jul 27, 2023
@green961
Copy link
Author

green961 commented Jul 27, 2023

https://zh-hans.eslint.org/docs/latest/use/configure/configuration-files-new
settings - 包含对所有规则可供的名值对的对象
可用

这个配置对会象匹配 src 目录下的所有 JavaScript 文件
对象会

@kecrily kecrily mentioned this issue Aug 7, 2023
1 task
@kecrily kecrily linked a pull request Aug 7, 2023 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants