eslint-plugin-sonarjs
SonarJS
eslint-plugin-sonarjs | SonarJS | |
---|---|---|
2 | 1 | |
1,143 | 993 | |
1.2% | 0.3% | |
7.2 | 9.6 | |
6 days ago | 8 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.
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
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)
What are some alternatives?
eslint-plugin-jest - ESLint plugin for Jest
ts-morph - TypeScript Compiler API wrapper for static analysis and programmatic code changes.
eslint-plugin-vue - Official ESLint plugin for Vue.js
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
typescript-eslint - :sparkles: Monorepo for all the tooling which enables ESLint to support TypeScript
swc - Rust-based platform for the Web
eslint-plugin-testing-library - ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library
vue-eslint-parser - The ESLint custom parser for `.vue` files.
eslint-plugin-move-files - Move and rename files while keeping imports up to date
tslint - :vertical_traffic_light: An extensible linter for the TypeScript language
eslint-plugin-snakecasejs - :pencil2: ESLint Plugin: enforce snake_case syntax on variables and function names
Angular - Deliver web apps with confidence 🚀