# Migrate To Rslint

> Migrate ESLint or other linters to Rslint. Use when asked to replace ESLint flat config, lint scripts, VS Code ESLint settings, inline directives, rules, presets, plugins, or lint dependencies with Rslint equivalents.

- **Type:** Skill
- **Install:** `agentstack add skill-rstackjs-agent-skills-migrate-to-rslint`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [rstackjs](https://agentstack.voostack.com/s/rstackjs)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [rstackjs](https://github.com/rstackjs)
- **Source:** https://github.com/rstackjs/agent-skills/tree/main/skills/migrate-to-rslint

## Install

```sh
agentstack add skill-rstackjs-agent-skills-migrate-to-rslint
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Migrate to Rslint

## Goal

Migrate lint tooling to Rslint with minimal behavior changes and clear validation.

## Supported source linters

- ESLint flat config

## Migration principles (must follow)

1. **Official docs first**: treat Rslint docs as source of truth for CLI, config, inline directives, VS Code settings, rules, and presets.
2. **Smallest-change-first**: migrate package, command, config, and editor wiring before changing source files.
3. **Preserve lint intent**: keep supported rule severities/options where Rslint supports them; call out unsupported rules/plugins instead of silently dropping behavior.
4. **Do not rewrite inline directives by default**: Rslint supports `eslint-disable` and `rslint-disable`; replace prefixes only when the user asks.
5. **Validate before cleanup**: keep old linter dependencies/config until the Rslint command passes for the migrated scope, then remove obsolete linter-only artifacts.

## Workflow

1. **Detect source linter**
   - ESLint flat config: `eslint.config.*`, `eslint` dependency, or package scripts that run `eslint`.
   - If the source linter is not covered by a reference yet, inventory the current behavior and explain that no dedicated migration reference exists.

2. **Apply source-specific migration guide**
   - ESLint flat config: `references/eslint-flat-config.md`

3. **Validate behavior**
   - Run the migrated lint command.
   - If the project had a fix command, run the migrated fix command only when appropriate for the task.
   - Resolve config, rule, and editor-setting issues before removing legacy files.

4. **Cleanup and summarize**
   - Remove obsolete linter dependencies/config after Rslint is green.
   - Summarize changed files, migrated presets/plugins, unsupported gaps, and remaining manual follow-ups.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [rstackjs](https://github.com/rstackjs)
- **Source:** [rstackjs/agent-skills](https://github.com/rstackjs/agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-rstackjs-agent-skills-migrate-to-rslint
- Seller: https://agentstack.voostack.com/s/rstackjs
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
