Skip to content

[Fix] `no-deprecated`: prevent false positive on commonjs import

Codecov / codecov/patch failed Aug 5, 2023 in 1s

91.66% of diff hit (target 97.63%)

View this Pull Request on Codecov

91.66% of diff hit (target 97.63%)

Annotations

Check warning on line 165 in lib/rules/no-deprecated.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/rules/no-deprecated.js#L165

Added line #L165 was not covered by tests