eslint-functional/eslint-plugin-functional
ESLint rules to disable mutation and promote fp in JavaScript and TypeScript.
TypeScriptMIT
Issues
- 1
Determine immutability for const type parameters
#827 opened by bjb568 - 8
- 4
`prefer-tacit`: regression on method calls
#805 opened by abrahamguo - 1
- 0
- 1
- 1
`readonly-type` Is triggered by empty object
#796 opened by RebeccaStevens - 1
immutable-data.ignoreNonConstDeclarations doesn't complain mutating function arguments
#724 opened by rickmed - 0
New rule: no-decreasing-immutability
#526 opened by danielnixon - 3
- 3
prefer-immutable-types: incorrectly inferring ReadonlyShallow array as ReadonlyDeep
#578 opened by danielnixon - 1
functional/no-mixed-types fails when a function type is aliased using typeof
#734 opened by apolishch - 1
[immutable-data] can't ignore when casting
#790 opened by RebeccaStevens - 1
Flat config with ESM modules doesn’t work
#791 opened by cherryblossom000 - 4
New rule: no partial array reduce
#527 opened by danielnixon - 3
prefer-immutable-types: upgrade from v5 to v6 introduces an infinite recursion issue
#733 opened by danielnixon - 2
Support "Flat Config" (ESLint 9)
#776 opened by JoshuaKGoldberg - 1
immutable-data ignoreImmediateMutation option does not work when creating an array with .split()
#759 opened by QuaidBartolomei - 1
[immutable-data] Arrays from `Object.entries` and the like are not treated as new arrays being created
#773 opened by RebeccaStevens - 1
Update docs for non-TS users and create new config that doesn't use ts requiring rules
#768 opened by RebeccaStevens - 4
- 1
- 3
`prefer-immutable-types` How to require readonly on the class variable's type, but not the property field?
#635 opened by foray1010 - 3
Array mutation pattern with new ```immutable-data```'s ```ignoreNonConstDeclarations``` is not working
#692 opened by rickmed - 7
- 1
- 2
- 4
- 1
- 4
Rename `ignorePattern`
#467 opened by RebeccaStevens - 6
FYI: typescript-eslint@v6 will remove parserServices.hasFullTypeInformation
#678 opened by JoshuaKGoldberg - 11
type-declaration-immutability: ignorePattern doesn't work on member name
#599 opened by adrian-gierakowski - 3
When trying to do the examples: Parameter should have an immutability of at least "Immutable" (actual: "Unknown")
#676 opened by atmosbear - 2
Enforce Mutable Return Types
#674 opened by bitjson - 2
Crashes on Node 14
#633 opened by RettentoRectangle - 2
Support for TypeScript 5.x
#613 opened by DiggesT - 2
New rule: no-interfaces
#572 opened by MaxDac - 0
- 0
- 3
[type-declaration-immutability] add support for union types when they are interfaces
#529 opened by m4thieulavoie - 0
Dependency Dashboard
#423 opened by renovate - 2
- 1
Autofix for `functional/prefer-readonly-type` produces confusing formatting
#387 opened by maxpatiiuk - 0
- 0
- 5
[prefer-tacit] should not consider as error when the user intentionally skipped some parameters
#486 opened by foray1010 - 0
Action Required: Fix Renovate Configuration
#481 opened by renovate - 1
The automated release is failing 🚨
#404 opened by github-actions - 1
`functional/prefer-readonly-type ` reports false positive for `Readonly<>` generics
#386 opened by maxpatiiuk - 2