oxc/crates/oxc_linter
Radu Baston afeed17be9
feat(linter): eslint-lugin-unicorn no_useless_length_check (#1541)
I have an issue with this rule. I am able to identify the condition that
breaks the rule, but I can't manage to get the fix done. I was thinking
of concatenating the valid conditions with the common operator, but I am
not sure how to do that (from `Expression` to turn to `string` to be
passed as a parameter to the fix). any help is appreciated.

NOTE: I will probably do some refactorization for this code after
implementing the fix

---------

Co-authored-by: Radu Baston <radu.baston@sectorlabs.ro>
2023-11-27 19:53:39 +08:00
..
examples fix(parser,semantic): make semantic own Trivias (#711) 2023-08-10 15:30:32 +08:00
fixtures/import feat(linter) eslint-plugin-import: no-amd (#1171) 2023-11-07 20:28:39 +08:00
src feat(linter): eslint-lugin-unicorn no_useless_length_check (#1541) 2023-11-27 19:53:39 +08:00
tests chore(rustfmt): run cargo fmt 2023-05-21 11:52:26 +08:00
Cargo.toml refactor(rust): move to workspace lint table (#1444) 2023-11-20 14:38:10 +08:00