Closed chrishiestand closed 5 years ago
seems it was fixed by the bulitin rule, you can disable it:
prefer-const: 0
Strange, that is not the behavior I expected from the README. I thought that this plugin disabled the builtin fix behavior, but instead it is meant to replace the builtin? Should the README be updated to reflect this? Or is there something particular to my environment?
And to be clear: your suggestion worked, thanks!
agreed, seems the docs is a bit misleading, I'll update it later.
thanks for the feedback! :)
Just tried the plugin and can't get it working. Here's my
.eslintrc.yml
:When I type
it is "fixed" to:
I expect to still have
let
but with a linter error.