We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在使用中发现 no-undef 规则默认是关闭的,我知道这个规则和 typescript 已有的语法检查有重复,但是如果出现使用了未定义变量的情况,尽管 typescript 能检测到,但并不强行要求修正,在向 git 提交代码时会将此问题提交到代码服务器上,开启 no-undef 规则可以借助 husky 和 lint-staged 很好的阻止这个错误提交到代码服务器上,Alloy 出于什么考虑关闭该规则呢?
The text was updated successfully, but these errors were encountered:
#241
https://typescript-eslint.io/linting/troubleshooting/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
Sorry, something went wrong.
No branches or pull requests
在使用中发现 no-undef 规则默认是关闭的,我知道这个规则和 typescript 已有的语法检查有重复,但是如果出现使用了未定义变量的情况,尽管 typescript 能检测到,但并不强行要求修正,在向 git 提交代码时会将此问题提交到代码服务器上,开启 no-undef 规则可以借助 husky 和 lint-staged 很好的阻止这个错误提交到代码服务器上,Alloy 出于什么考虑关闭该规则呢?
The text was updated successfully, but these errors were encountered: