Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.07 KB

File metadata and controls

43 lines (30 loc) · 1.07 KB

@markuplint/svelte-parser

npm version Build Status Coverage Status

Install

Prerequisites: Node.js (Version 12.4.0 or later)

$ npm install @markuplint/svelte-parser

$ yarn add @markuplint/svelte-parser

Usage

Add parser option into your .eslintrc.* file.

{
	"extends": "@markuplint/html-spec",
	"parser": {
		".vue$": "@markuplint/svelte-parser"
	}
}

parserOptions option is work in progress. current setting is { "sourceType": "module" } that hard coded.

Contributing

$ git clone [email protected]:markuplint/markuplint.git -b master
$ yarn
$ yarn build
$ yarn test

Copyright © 2020 markuplint. Under the MIT License.