Skip to content

Slidev

Use Slidev support from the main v2 package.

bash
pnpm add -D @santi020k/eslint-config-basic

The default install above remains recommended. If you use the manual-dependency lite package, install this framework config package too:

bash
pnpm add -D @santi020k/eslint-config-lite @santi020k/eslint-config-slidev eslint
import { defineConfig } from '@santi020k/eslint-config-basic'
export default await defineConfig({
frameworks: {
slidev: true
},
typescript: true
})

Most projects can also rely on auto-detection and use eslintConfig() with no framework object.

  • Browser runtime globals for Slidev deck code.
  • Vue support when slidev is enabled through the main composer.
  • Relaxed Markdown expression rules for slides.md and pages/**/*.md.

Did this page help?

One click helps us spot documentation that needs another pass. No personal data is sent.