Skip to content

feat(default): ignore immer drafts

Vitaly Slobodin requested to merge vs-allow-param-reassign-for-immer into master

When working with immer objects developers should be allowed to reassign the function parameter because immer uses it for constructing the final object.

Add a new exclusion rule which allows parameters starting with the draft to be modified.

Merge request reports

Loading