-
Notifications
You must be signed in to change notification settings - Fork 170
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
Rules that should be refined further #330
Comments
@magurotuna have you found bugs in all the listed rules? IIRC most of implemented rules have ESLint tests ported, but I'm more than happy to add more tests if they are lacking. |
not necessarily, but I feel like lots of the listed rules are unable to catch nested violations. assert_lint_err_n::<NoWith>(
"with (foo) { with(bar) { console.log(42); }}",
vec![0, 13],
); it is expected to pass, but the rule doesn't detect I will fix them one by one, giving priority to "recommended" rules over the others. Hopefully it will not take much time, but I guess it will... |
@magurotuna I see, thanks for digging into this problem. |
@magurotuna is this issue still relevant? |
@bartlomieju Not really sure, let me check if the issue remains. |
Now that all the recommended rules have been implemented, it's good time to look back at the rules again.
I have looked through how the rules are implemented, and have noticed that some rules need more refinement. Current issues I've found are:
rules that need refinement
Note that this list has been made from my quick look, thus it may contain rules that actually don't need any fix.
recommended_rules
asset_lint_err!
macro #520asset_lint_err!
macro #578asset_lint_err!
macro #605assert_lint_err!
macro #606assert_lint_err!
macro and cleanup #624)var_decl
that has nodecl
#568)all_rules
The text was updated successfully, but these errors were encountered: