xiaohongshu
xiaohongshu
ln-741-linter-configurator
Configures ESLint, Prettier, Ruff, and .NET analyzers
Full skill instructions
Type: L3 Worker Category: 7XX Project Bootstrap Parent: ln-740-quality-setup
Configures code linting and formatting tools for TypeScript, .NET, and Python projects.
Does:
Does NOT:
| Technology | Linter | Formatter | Config Files |
|---|---|---|---|
| TypeScript/React | ESLint 9+ (flat config) | Prettier | eslint.config.mjs, .prettierrc |
| .NET | Roslyn Analyzers | dotnet format | .editorconfig, Directory.Build.props |
| Python | Ruff | Ruff (built-in) | ruff.toml or pyproject.toml |
Before generating configs, check what already exists.
Files to Check:
| Stack | Config Files | Glob Pattern |
|---|---|---|
| TypeScript | ESLint config | eslint.config.*, .eslintrc* |
| TypeScript | Prettier config | .prettierrc*, prettier.config.* |
| .NET | Editor config | .editorconfig |
| .NET | Build props | Directory.Build.props |
| Python | Ruff config | ruff.toml, pyproject.toml |
Decision Logic:
Use templates from references/ folder. Customize placeholders based on project.
TypeScript/React:
eslint_template.mjs to project root as eslint.config.mjsprettier_template.json as .prettierrcpackage.json:
"lint": "eslint .""lint:fix": "eslint . --fix""format": "prettier --write .""format:check": "prettier --check .".NET:
editorconfig_template.ini as .editorconfigdirectory_build_props_template.xml as Directory.Build.propsPython:
ruff_template.toml as ruff.toml
pyproject.toml under [tool.ruff]pyproject.toml or document commandsInstall required packages for each stack.
TypeScript/React:
npm install -D eslint @eslint/js typescript-eslint eslint-plugin-react eslint-plugin-react-hooks eslint-config-prettier prettier
CRITICAL:
eslint-config-prettieris REQUIRED to prevent ESLint/Prettier conflicts.
.NET:
Python:
pip install ruff
# OR with uv:
uv add --dev ruff
After configuration, verify linter works.
TypeScript:
npm run lint
npm run format:check
Expected: Exit code 0
.NET:
dotnet format --verify-no-changes
Expected: Exit code 0
Python:
ruff check .
ruff format --check .
Expected: Exit code 0
On Failure: Check error output, adjust config, re-verify.
RULE 1: Always include
eslint-config-prettierwhen using ESLint + Prettier together.
RULE 2: Use ESLint flat config format (eslint.config.mjs), NOT legacy .eslintrc.
RULE 3: Ruff replaces Black, isort, flake8, and many other Python tools. Do NOT install them separately.
RULE 4: Never disable strict TypeScript rules without documented reason.
| File | Purpose |
|---|---|
| eslint_template.mjs | ESLint flat config template |
| prettier_template.json | Prettier config template |
| editorconfig_template.ini | .NET editorconfig template |
| directory_build_props_template.xml | .NET analyzers template |
| ruff_template.toml | Python Ruff config template |
| linter_guide.md | Detailed configuration guide |
| Error | Cause | Resolution |
|---|---|---|
| ESLint/Prettier conflict | Missing eslint-config-prettier | Install and add to config |
| TypeScript parse errors | Parser version mismatch | Align typescript-eslint with TS version |
| Ruff not found | Not installed | pip install ruff or uv add ruff |
| dotnet format fails | Missing SDK | Install .NET SDK |
Version: 2.0.0 Last Updated: 2026-01-10
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience