HIGH
kotlin/data-class-var
`data class` with `var` properties — copy/equality semantics break; use `val` + `copy`.
**/*.kt, **/*.ktsmobile-androidstandards/stacks/kotlin.md:22Read it in the terminal
The same facts, from the checkout you are already in — no browser, and no network.
$ npx redlinegate explain kotlin/data-class-var
Where this came from
You are most likely here from a review comment. A finding names its rule and, when your repository has told Redline where the standard is published, its address:
Redline/HIGH [kotlin/data-class-var]: … → …/r/kotlin/data-class-var
That second line is written by redline init --docs-url and is empty until an organisation sets one — there is no default, because a link to somebody else's copy of the standard is worse than no link. See Onboard a repository.
In context
The Kotlin standard lists this rule with the rest of its stack, in the file a reviewer and an AI assistant both read.
Other HIGH rules in this stack
kotlin/public-mutable-statePublic `MutableStateFlow` / `MutableLiveData` — expose read-only `StateFlow`/`LiveData`, mutate privately.kotlin/lifecycle-unaware-collectionFlow collection in UI without `repeatOnLifecycle` / `collectAsStateWithLifecycle` — collects while backgrounded.kotlin/hardcoded-dispatcherHardcoded `Dispatchers.*` in classes — inject dispatchers for testability.kotlin/companion-mutable-stateCompanion-object mutable state (global by another name).kotlin/runcatching-silent-default`runCatching` chains that map failure to a default silently.kotlin/force-unwrap-in-tests`!!` in tests hiding what the test actually asserts — use `assertNotNull` semantics.