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

13 lines
441 B
Plaintext

Unnecessarily verbose declarations and initializations make it harder to read the code, and should be simplified.
Specifically the following should be omitted when they can be inferred:
* array element type
* array size
* ``++new DelegateType++``
* ``++new Nullable<Type>++``
* object or collection initializers ({})
* type of lambda expression parameters
* parameter declarations of anonymous methods when the parameters are not used.