eslint-plugin-sonarjs
eslint-plugin-testing-library
eslint-plugin-sonarjs | eslint-plugin-testing-library | |
---|---|---|
2 | 3 | |
1,143 | 956 | |
1.2% | 0.7% | |
7.2 | 8.0 | |
5 days ago | 3 days ago | |
TypeScript | TypeScript | |
GNU Lesser General Public License v3.0 only | 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-sonarjs
-
16 November 2022 - Daily Chat Thread
ngikutin ini https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-small-switch.md
-
Typescript rule to catch this type of hidden/floating promises
This rule only fires in certain situations where ignoring the return value wouldn't make sense: https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-ignored-return.md
eslint-plugin-testing-library
-
Top 3 React Testing Library mistakes I should have spotted earlier 🚀
💡 Check out this related eslint-plugin rule
-
3 tips for setting up Jest and rtl for Next.js
It's a good habit to let eslint help you out when you're coding. There is a specific eslint library for testing: eslint-plugin-testing-library Here is how you configure it.
-
Fix Your Failing Tests: A Debugging Checklist for React Testing Library
To make sure you're not missing an async with React Testing Library functions, you can use eslint-plugin-testing-library . This will warn you if you're using async unnecessarily or you're missing it entirely.
What are some alternatives?
eslint-plugin-jest - ESLint plugin for Jest
html2canvas - Screenshots with JavaScript
eslint-plugin-vue - Official ESLint plugin for Vue.js
typescript-eslint - :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
angular-testing-library - 🐙 Simple and complete Angular testing utilities that encourage good testing practices
SonarJS - SonarSource Static Analyzer for JavaScript and TypeScript
SurveyJS - Free Open-Source JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout that lets you load and run multiple web forms, or build your own self-hosted form management system, retaining all sensitive data on your servers. You have total freedom of choice as to the backend, because any server + database combination is fully compatible.
eslint-plugin-move-files - Move and rename files while keeping imports up to date
react-hooks-testing-library - 🐏 Simple and complete React hooks testing utilities that encourage good testing practices.
eslint-plugin-snakecasejs - :pencil2: ESLint Plugin: enforce snake_case syntax on variables and function names
rematch - The Redux Framework