-
Couldn't load subscription status.
- Fork 20
Open
Description
Background
The SCRC coding guidelines provide different flavors of guidelines. Currently, there is defect and subset, which usually tackle the same language shortcoming, but with a different strategy. Usually, it is not desirable to have more than one flavor used in a certain project. Therefore, we want to provide a way how to easily spot the flavor of a guideline and we also want a way to easily find the guidelines that tackle the same problem but with a different strategy.
Current approach
At the moment, the flavors are expressed in terms of rule tags. While that allows for easy filtering, this approach does have shortcomings:
- Tags are optional. It is therefore possible that one forgets to add this tag since there is no explicit hint that this decision has to be made.
- There is no link to the same-but-different rules
Suggested approach
- Promote the flavor tag to a separate property and make it mandatory (including an option to "not have a flavor")
- Add an optional property that becomes mandatory in case there is an explicit flavor set that links to one or more similar rules with a different strategy.
felix91gr
Metadata
Metadata
Assignees
Labels
No labels