ðĄ Functional
Use this preset when you want strict functional-style constraints as your default.
Config keyâ
immutable.configs.functional
Flat Config exampleâ
import immutable from "eslint-plugin-immutable-2";
export default [immutable.configs.functional];
functional builds on functional-lite and additionally bans classes, this, throw, try, and bare expression statements while promoting no-method-signature from a migration warning to an error.
Rules in this presetâ
Fixlegend:ð§= autofixableðĄ= suggestions availableâ= report only