lint/refactor/replace-attribute-value-with-constant
Not in any preset. Unsafe fix: it can change behavior.
What it does
Replace key value on specific attribute to class constant
Configuration
[lint.rules]
"refactor/replace-attribute-value-with-constant" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
AttributeKeyToClassConstFetch(rector)