-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
ruleA new rule for the linterA new rule for the linter
Description
integer, parameter :: a = 1, b = 2
! Prefer:
integer, parameter :: a = 1
integer, parameter :: b = 2This can get especially confusing when the variables on the right-hand-side have different dimensions.
However, I personally don't mind seeing this when it comes to loop variables:
integer :: i, j, kI'm unsure if there should be a way for users to set exceptions to this rule for loop variables, file units, etc., or if that would just add too much complexity.
Should be an optional style rule, and could use a lot of utilities from #558
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ruleA new rule for the linterA new rule for the linter