Svelte Svelte
Docs
SvelteSvelteKitCLIAI
Blog
search ⌘K
  • Introduction

    • Overview
    • Frequently asked questions
  • Commands

    • sv create
    • sv add
    • sv check
    • sv migrate
  • Add-ons

    • ai-tools
    • better-auth
    • drizzle
    • eslint
    • experimental
    • mdsvex
    • paraglide
    • playwright
    • prettier
    • storybook
    • sveltekit-adapter
    • tailwindcss
    • vitest
    • [create your own]
  • API

    • sv
    • sv-utils

CLI • Add-ons

eslint

On this page
  • Usage
  • What you get

ESLint finds and fixes problems in your code.

Usage

npx sv add eslint

What you get

  • the relevant packages installed including eslint-plugin-svelte
  • an eslint.config.js file
  • updated .vscode/extensions.json
  • configured to work with TypeScript and prettier if you’re using those packages
Edit this page on GitHub llms.txt
Previous drizzle Next experimental

On this page

  • eslint
  • Usage
  • What you get