ð Immutable
Use this preset when you want the broader immutable baseline beyond recommended.
Config keyâ
immutable.configs.immutable
Flat Config exampleâ
import immutable from "eslint-plugin-immutable-2";
export default [immutable.configs.immutable];
This preset keeps the targeted mutation guards from recommended and adds broader declaration and readonly typing discipline such as no-let, readonly-array, readonly-keyword, and warning-level no-method-signature, without the broader functional-style bans in functional-lite and functional.
Rules in this presetâ
Fixlegend:ð§= autofixableðĄ= suggestions availableâ= report only