ðĒ Functional Lite
Use this preset when you want a moderate functional step up from immutable.
Config keyâ
immutable.configs["functional-lite"]
Flat Config exampleâ
import immutable from "eslint-plugin-immutable-2";
export default [immutable.configs["functional-lite"]];
This preset keeps the full immutable baseline and layers only a small set of structural functional rules on top of it while still allowing returning branches in conditional expressions. The "lite" label refers to the added functional constraints, not the total number of enabled immutable rules.
Rules in this presetâ
Fixlegend:ð§= autofixableðĄ= suggestions availableâ= report only