Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 740 Bytes

File metadata and controls

37 lines (27 loc) · 740 Bytes

@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"
  }
}