rspec/rules/S2108/description.adoc
Arseniy Zaostrovnykh 7ca29f686f Force linebreaks
2021-02-02 15:02:10 +01:00

4 lines
207 B
Plaintext

Fields that are never updated will always return their default values and so they should be explicitly marked constant.
This rule applies to non-constant class fields which are not set within the codebase.