Skip to content

Use 3 literals in the bad example of G-1050 #205

Closed
@PhilippSalvisberg

Description

@PhilippSalvisberg

The guideline G-1050 suggests now that a literal should not be duplicated more than once.

To reduce the number of false positives, the number of occurrences of a literal should be less than 3.

As a result, we should change the bad example. It should use a literal at least 3 times.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions