SonarJS
eslint-plugin-sonarjs
Our great sponsors
SonarJS | eslint-plugin-sonarjs | |
---|---|---|
1 | 2 | |
993 | 1,143 | |
0.9% | 3.1% | |
9.6 | 7.2 | |
5 days ago | 3 days ago | |
TypeScript | TypeScript | |
GNU Lesser General Public License v3.0 only | GNU Lesser General Public License v3.0 only |
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.
SonarJS
-
Type checking on compile is a cool perk with webpack
sonarlint (for better "clean code" requirements and to track cognitive complexity. Note: there is an issue with async/await/promises that is currently being fixed this month)
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
What are some alternatives?
ts-morph - TypeScript Compiler API wrapper for static analysis and programmatic code changes.
eslint-plugin-jest - ESLint plugin for Jest
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
eslint-plugin-vue - Official ESLint plugin for Vue.js
swc - Rust-based platform for the Web
typescript-eslint - :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
vue-eslint-parser - The ESLint custom parser for `.vue` files.
eslint-plugin-testing-library - ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
tslint - :vertical_traffic_light: An extensible linter for the TypeScript language
eslint-plugin-move-files - Move and rename files while keeping imports up to date
Angular - Deliver web apps with confidence 🚀
eslint-plugin-snakecasejs - :pencil2: ESLint Plugin: enforce snake_case syntax on variables and function names