eslint-plugin-total-functions icon indicating copy to clipboard operation
eslint-plugin-total-functions copied to clipboard

An ESLint plugin to enforce the use of total functions (and prevent the use of partial functions) in TypeScript.

Results 60 eslint-plugin-total-functions issues
Sort by recently updated
recently updated
newest added

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-jest](https://togithub.com/jest-community/eslint-plugin-jest) | [`26.9.0` -> `27.0.1`](https://renovatebot.com/diffs/npm/eslint-plugin-jest/26.9.0/27.0.1) | [![age](https://badges.renovateapi.com/packages/npm/eslint-plugin-jest/27.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Open These updates have all been created already. Click a checkbox below to...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped)) | [`28.1.8` -> `29.0.0`](https://renovatebot.com/diffs/npm/@types%2fjest/28.1.8/29.0.0) |...

It's an language feature that seems to be useful for little more than generating prototype pollution CVEs.

It seems that this rule does not work correctly with [Symbol.iterator]. I'm trying to cast a readonly array to a readonly Iterable, but I get an error: "_Using a readonly...

This code throws an error when trying to assign (readonly & mutable) to readonly. I think there should be no error here. ``` type T_Mutable = { value : number[]...

Fantastic project, really made a lot of otherwise slightly scary TS much more bulletproof. :) I tried updating a medium-sized project to a version of this plugin post https://github.com/danielnixon/eslint-plugin-total-functions/issues/128 and...

help wanted

Error in vscode: `Passing a readonly type to a function that expects a mutable type can lead to unexpected mutation in the readonly value. eslinttotal-functions/no-unsafe-readonly-mutable-assignment` points to children in if...

The new no-unsafe-optional-property-assignment rule works, and it flags unsafe assignment as described in the original ticket https://github.com/danielnixon/eslint-plugin-total-functions/issues/39 but it's probably too noisy in practice to add to the recommended rule...

good first issue