eslint-plugin-expect-type
eslint-plugin-functional
eslint-plugin-expect-type | eslint-plugin-functional | |
---|---|---|
3 | 5 | |
87 | 729 | |
- | 1.8% | |
9.6 | 9.2 | |
2 days ago | 9 days ago | |
TypeScript | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
eslint-plugin-expect-type
-
eslint-plugin-expect-type VS vite-plugin-vitest-typescript-assert - a user suggested alternative
2 projects | 18 Jul 2022
- Extreme Explorations of TypeScript's Type System
-
Is there any known way to measure coverage of... types?
You can test types, at least in terms of asserting happy path types and whether a piece of code, runtime or purely type-level, should trigger a tsc type error. Here's an example using eslint-plugin-expect-type.
eslint-plugin-functional
-
How to add a property to an object that doesn't exist in its type?
It recommend using https://github.com/eslint-functional/eslint-plugin-functional to force readonly on all properties.
-
CI checks not rerunning when a bot makes a commit to a PR
Here's one the PRs that this issue happens with: https://github.com/eslint-functional/eslint-plugin-functional/pull/397
-
[ESLint] Passes locally but fails in CI
Here's the CI log link.
-
What other ways to enforce immutability in Angular beside using Immutable.js?
Also add this no-mutation ESLint rule as extra protection https://github.com/jonaskello/eslint-plugin-functional/blob/master/docs/rules/immutable-data.md
-
Which is the best functional programming library for typescript?
I just use https://github.com/jonaskello/eslint-plugin-functional
What are some alternatives?
nominal - Powerful nominal types for your Typescript project
fp-ts - Functional programming in TypeScript
vite-plugin-vitest-typescript-assert - 🔥 TypeScript type assertion plugin for vitest
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.
sum-types - Safe, ergonomic, non-generic sum types in TypeScript.
remeda - A utility library for JavaScript and TypeScript.
tsd - Check TypeScript type definitions
eslint-plugin-total-functions - An ESLint plugin to enforce the use of total functions (and prevent the use of partial functions) in TypeScript.
lambda-ioc - Super type safe dependency injection 💉 for TypeScript (inspired by Diddly)
pratica - 🥃 Functional Algebraic Data Types
typefuck - Type-level Brainfuck interpreter in TypeScript
FxTS - A functional programming library for TypeScript/JavaScript