{"enrichment":{"faq":[{"a":"ESLint is a static analysis tool that enforces code quality in JavaScript and TypeScript. To set up ESLint for your .NET JavaScript frontend, install it locally via npm or yarn in your frontend directory, create an .eslintrc configuration file specifying your environment (browser, Node.js, or both), and define which rule sets to extend (e.g., eslint:recommended). For .NET repos with package.json, ESLint integrates alongside your existing build tools and can be invoked via npm scripts or CI/CD pipelines.","q":"How do I set up ESLint for .NET JavaScript frontend?"},{"a":"ESLint supports TypeScript through the @typescript-eslint parser and plugin. To lint TypeScript in ASP.NET Core, install @typescript-eslint/eslint-plugin and @typescript-eslint/parser, update your .eslintrc to specify the TypeScript parser, and add typescript-eslint rules to your configuration. Point ESLint at your .ts and .tsx files using glob patterns in your lint command, then integrate the command into your ASP.NET build or CI/CD workflow for automated validation.","q":"What is the process to lint TypeScript in ASP.NET Core?"},{"a":"ESLint React rules configuration requires the eslint-plugin-react package. Install it, then add 'react' to the plugins array in your .eslintrc and enable recommended rules via extends: ['plugin:react/recommended']. Configure React-specific settings like the JSX pragma and version detection. For TypeScript React projects, combine this with @typescript-eslint and eslint-plugin-react-hooks to enforce best practices for hooks and component patterns.","q":"How do I configure ESLint React rules?"},{"a":"Yes, ESLint includes an auto-fix feature. Run eslint --fix on your source files to automatically correct many common issues like formatting, unused variables, and import ordering. Not all rules support auto-fix; some require manual intervention. Use --fix in your development workflow or pre-commit hooks, and integrate it into CI/CD to catch and repair issues before they reach production.","q":"Can ESLint automatically fix JavaScript errors?"},{"a":"ESLint integrates into CI/CD by adding a lint step to your pipeline configuration (GitHub Actions, Azure Pipelines, etc.). Install ESLint and dependencies in your build environment, run eslint with a glob pattern targeting your frontend source files, and fail the build if violations exceed your threshold. Store your .eslintrc in version control so all environments use consistent rules. This ensures frontend code quality is validated on every commit or pull request.","q":"How do I integrate ESLint into my CI/CD pipeline?"},{"a":"ESLint ignore patterns prevent linting of specified files and directories. Use an .eslintignore file or the ignorePatterns property in .eslintrc to exclude node_modules, build outputs, and generated files. Scoping rules to specific file types (e.g., .js, .ts, .jsx) via overrides in your config lets you apply different rule sets to different parts of your codebase, such as stricter rules for source files and relaxed rules for test files.","q":"What does ESLint ignore patterns and scoping do?"}],"shadow_tags":["code-quality","static-analysis","frontend-tooling","ci-cd-integration","typescript-support","react-ecosystem","configuration-management","auto-fix-capability","cross-platform-dev","linting-rules"],"summary_rewrite":"This skill configures ESLint to lint JavaScript, TypeScript, and React code in .NET repositories that include frontend assets. It detects existing configurations, installs dependencies locally, and establishes repeatable lint commands in your build pipeline. Use it when your repo has package.json, frontend source files, or explicit linting requests."},"files":[{"bytes":5974,"path":"catalog/Tools/ESLint/skills/eslint/SKILL.md","sha256":"df9b37a17f0fdc9440de2ac7f7882357e74c61fdc4dcf2e4cb641f0997a2fdc5","url":"https://skillfed.io/files/managedcode/dotnet-skills/eslint/a64514f6/SKILL.md"}],"id":"managedcode/dotnet-skills/eslint","links":{"html":"https://skillfed.io/managedcode/dotnet-skills/eslint","md":"https://skillfed.io/managedcode/dotnet-skills/eslint.md","repo":"https://github.com/managedcode/dotnet-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":35,"language":"C#","last_updated":"2026-07-25","license":"MIT","name":"eslint","publisher":"managedcode","stars":463},"relations":{"similar":[{"id":"managedcode/dotnet-skills/metalint"},{"id":"managedcode/dotnet-skills/biome"},{"id":"managedcode/dotnet-skills/sonarjs"},{"id":"managedcode/dotnet-skills/stylelint"},{"id":"managedcode/dotnet-skills/webhint"},{"id":"managedcode/dotnet-skills/chous"},{"id":"secondsky/claude-skills/ultracite"},{"id":"managedcode/dotnet-skills/htmlhint"},{"id":"managedcode/dotnet-skills/quality-ci"},{"id":"haydenbleasel/ultracite/ultracite"}]},"slug":{"owner":"managedcode","repo":"dotnet-skills","skill":"eslint"},"version":"a64514f6"}
