Remove immutable state vars from var-name-mixedcase
Like constant state vars I also like to snake-case my immutable state vars because it makes it easier to spot in my code where I am relying on immutable values.

However, currently this clashes with two rules I also use:
-
var-name-mixedcaseforces me to also makeimmutablemixed-case -
const-name-snakecasedoes not force me to makeimmutablesnake-case
I would like to propose one of the following alterantives as feature requests:
Alternative 1: New rule: immutable-name-snakecase that when turned on overrides the var-name-mixedcase rules.
Alternative 2: strict option for var-name-mixedcase which when false does not include immutable vars && strict option for const-name-snakecase that when true also forces immutable vars to be snakecase
I ran into this as well.
I would actually suggest that immutable variables should be treated exactly like constant variables as far as these rules are concerned (var-name-mixedcase and const-name-snakecase).
I don't think new rules or options are necessary.
I guess some people still like to make immutable vars mixed-case because they do not have to be initialized like constant vars and that sort of sets them apart.
So I think having the extra immutable-name-snakecase rule would be benificial for both groups.
yes please!
How are we on this?
I had this issue too, and I also support the idea of having immutable-name-snakecase.