dotnet-sonarjs

Configure ESLint with SonarJS rules for .NET frontend JavaScript and TypeScript assets.

42|10|Updated Mar 27, 2026
One-click install
npx skills add https://github.com/managedcode/PrompterOne --skill dotnet-sonarjs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-sonarjs
Source: https://github.com/managedcode/PrompterOne/tree/main/.codex/skills/dotnet-sonarjs
Command: npx skills add https://github.com/managedcode/PrompterOne --skill dotnet-sonarjs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires eslint-plugin-sonarjs, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables the integration of SonarJS-derived rules into .NET repositories that include JavaScript or TypeScript frontends, helping developers identify and fix bugs, code smells, and complex logic.

Core Features & Use Cases

  • Code Quality Checks: Apply SonarJS rules to frontend assets to improve maintainability and bug detection.
  • CI/CD Integration: Incorporate deep code analysis into existing SonarQube or SonarCloud pipelines for enhanced project oversight.
  • Use Case: When updating a large web application, use this Skill to enforce stricter code standards on JavaScript files, reducing runtime bugs and improving refactoring safety.

Quick Start

Install eslint-plugin-sonarjs in your project and run ESLint to analyze your frontend codebase with the specified rules.

Frequently Asked Questions about dotnet-sonarjs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate SonarJS code quality rules into a .NET project frontend?

To integrate SonarJS rules into a .NET project frontend, configure ESLint with the eslint-plugin-sonarjs dependency to analyze JavaScript and TypeScript assets for bug risks and maintainability issues.

Can I use SonarJS to check JavaScript and TypeScript code in my .NET repository?

Yes, you can use SonarJS to check JavaScript and TypeScript code in a .NET repository by installing eslint-plugin-sonarjs and running ESLint to identify bugs, code smells, and complex logic.

How do I add SonarJS analysis to an existing SonarQube or SonarCloud CI/CD pipeline?

You can add SonarJS analysis to an existing SonarQube or SonarCloud pipeline by configuring the ESLint analysis pipeline to incorporate deep code analysis for enhanced project oversight of frontend assets.

What is the best way to enforce stricter code standards on JavaScript files in a .NET web application?

The best way to enforce stricter code standards on JavaScript files in a .NET web application is applying SonarJS-derived rules through ESLint to reduce runtime bugs and improve refactoring safety.

Do I need eslint-plugin-sonarjs to identify code smells in TypeScript frontends?

Yes, you need the eslint-plugin-sonarjs dependency installed in your project to run ESLint and analyze your TypeScript frontend codebase with specified SonarJS rules for code smell detection.

Why configure ESLint for JavaScript assets in a .NET project instead of using standard linters?

Configuring ESLint with SonarJS for JavaScript assets in a .NET project specifically improves bug risk identification and maintainability by integrating SonarJS-derived rules rather than relying on standard linter configurations.