Skip to content

Latest commit

 

History

History

svelte-parser

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@markuplint/svelte-parser

npm version

Use markuplint with Svelte.

Install

$ npm install @markuplint/svelte-parser

$ yarn add @markuplint/svelte-parser

Usage

Add parser option to your configuration.

{
  "parser": {
    ".svelte$": "@markuplint/svelte-parser"
  }
}

Use with SvelteKit

{
  "parser": {
--  ".svelte$": "@markuplint/svelte-parser"
++  ".svelte$": "@markuplint/svelte-parser",
++  ".html$": "@markuplint/svelte-parser/kit"
  }
}