Prerequisites: Node.js (Version 12.4.0 or later)
$ npm install @markuplint/svelte-parser
$ yarn add @markuplint/svelte-parser
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.
$ git clone [email protected]:markuplint/markuplint.git -b master
$ yarn
$ yarn build
$ yarn test
Copyright © 2020 markuplint. Under the MIT License.