Skip to content

refactor: switch statement to detect property type

This check has been archived and is scheduled for deletion. Learn more about checks retention
Codecov / codecov/patch failed Jun 29, 2023 in 0s

67.64% of diff hit (target 97.61%)

View this Pull Request on Codecov

67.64% of diff hit (target 97.61%)

Annotations

Check warning on line 33 in lib/rules/prefer-read-only-props.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/rules/prefer-read-only-props.js#L30-L33

Added lines #L30 - L33 were not covered by tests

Check warning on line 80 in lib/rules/prefer-read-only-props.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/rules/prefer-read-only-props.js#L80

Added line #L80 was not covered by tests

Check warning on line 102 in lib/rules/prefer-read-only-props.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/rules/prefer-read-only-props.js#L100-L102

Added lines #L100 - L102 were not covered by tests

Check warning on line 106 in lib/rules/prefer-read-only-props.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/rules/prefer-read-only-props.js#L105-L106

Added lines #L105 - L106 were not covered by tests

Check warning on line 109 in lib/rules/prefer-read-only-props.js

See this annotation in the file changed.

@codecov codecov / codecov/patch

lib/rules/prefer-read-only-props.js#L109

Added line #L109 was not covered by tests