typescript-eslint
eslint-plugin-jest
typescript-eslint | eslint-plugin-jest | |
---|---|---|
129 | 3 | |
15,906 | 1,161 | |
0.5% | 0.1% | |
9.8 | 9.3 | |
4 days ago | 7 days ago | |
TypeScript | TypeScript | |
MIT License | 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.
typescript-eslint
-
How to build a MCP (model context protocol) server for UI libraries + repo
TypeScript Best Practices
- BookMS
-
JavaScript's New Superpower: Explicit Resource Management
Here’s some relevant discussion about some of the footguns:
https://github.com/typescript-eslint/typescript-eslint/issue...
https://github.com/tc39/proposal-explicit-resource-managemen...
I imagine there will eventually be lint rules for this somewhere and many of those using such a modern feature are likely to be using static analysis via eslint to help mitigate the risks here, but until it’s more established and understood and lint rules are fleshed out and widely adopted, there is risk here for sure.
Seems a bit like popular lint library maintainers are overly wary to add rules before it’s better understood through wider adoption and potential adopters are wary of using it until footguns are mitigated — not quite a standstill but maybe not great either
-
Set up a new React project: Vite, TypeScript, ESLint, Prettier and pre-commit hooks
However, I prefer more thorough rules like checking unused type imports or type narrowing problems. In order to enable these checks, we need to tweak eslint.config.js. I prefer simply adding recommendedTypeChecked config to the project. Don't forget that you also need to adapt parserOptions to this change.
-
Eslint rules for dealing with Enums peculiarities
EsLint: New to ESLint? It helps you write better JavaScript and TypeScript. https://typescript-eslint.io/
-
TypeScript strictly typed - Part 1: configuring a project
For ESLint + TypeScript ESLint, with the new flat config eslint.config.js:
-
Mastering Type-Safe JSON Serialization in TypeScript
Typescript-eslint can assist in this task. This tool helps identify all instances of unsafe any usage. Specifically, all usages of JSON.parse can be found and it can be ensured that the received data's format is checked. More about getting rid of the any type in a codebase can be read in the article Making TypeScript Truly "Strongly Typed".
-
Oxlint – written in Rust – 50-100 Times Faster than ESLint
> Only lint files that have changed? How hard that is?
Quite hard, especially since type-aware rules from e.g. https://typescript-eslint.io/ mean that changing the type of a variable in file A can break your code in file B, even if file B hasn't changed.
-
How to Do a TypeScript Conversion: an opinionated take on gradual conversions
The article only touches this: when converting to TypeScript, `any` is useful, but in the end you don't want this type in your codebase - so don't forget to use typescript-eslint [0] and turn on those no-unsafe-* rules which guard against `any` leaking into your code.
[0] https://github.com/typescript-eslint/typescript-eslint
- How do I add additional rules to my typescript-eslint settings?
eslint-plugin-jest
-
Starting React Native Project in 2025
Jest has a number of globally-available functions, so we need to introduce these functions to ESLint with eslint-plugin-jest.
-
Creating vite vue ts template: Configure Eslint for Jest
Install eslint-plugin-jest
-
Testing - Extract render and assertion to function gives eslint error
I ended up adding a the function name in a rule https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/expect-expect.md
What are some alternatives?
eslint-config-google - ESLint shareable config for the Google JavaScript style guide
gatsby-themes - Get high-quality and customizable Gatsby themes to quickly bootstrap your website! Choose from many professionally created and impressive designs with a wide variety of features and customization options.
ts-node - TypeScript execution and REPL for node.js
eslint-plugin-chakra-ui - ESLint plugin for Chakra UI
ts-standard - Typescript style guide, linter, and formatter using StandardJS
eslint-plugin-sonarjs - SonarJS rules for ESLint