script-utils/linters/eslint-rules/readonly-params-options-result-members
ESLint rule: readonly-params-options-result-members
Reports an error when an interface or type alias whose name ends with Params, Options, or Result has a property signature that is not readonly. Parameter/options/result bags should be immutable — callers should never mutate the object they received.
Variables
Section titled “Variables”| Variable | Description |
|---|---|
| MESSAGE_ID | Message ID reported when a member of a *Params/*Options/*Result interface is not declared readonly. |
| readonlyParamsOptionsResultMembers |