Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@html-eslint/parser

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@html-eslint/parser - npm Package Compare versions

Comparing version 0.16.0 to 0.17.0

dist/index.d.ts

16

package.json
{
"name": "@html-eslint/parser",
"version": "0.16.0",
"version": "0.17.0",
"description": "Parser for @html-eslint/eslint-plugin",

@@ -8,3 +8,3 @@ "author": "yeonjuan",

"license": "MIT",
"main": "lib/index.js",
"main": "dist/index.js",
"directories": {

@@ -15,3 +15,4 @@ "lib": "lib",

"files": [
"lib"
"lib",
"dist"
],

@@ -26,3 +27,5 @@ "publishConfig": {

"scripts": {
"test": "jest --coverage --updateSnapshot --passWithNoTests"
"test": "jest --coverage --updateSnapshot --passWithNoTests",
"ts": "tsc --noEmit",
"build": "tsc -p ./tsconfig.build.json"
},

@@ -38,3 +41,6 @@ "engines": {

},
"gitHead": "a866203b2c65d63b3f101b16c8d7d1a3bde32c75"
"devDependencies": {
"typescript": "^4.9.4"
},
"gitHead": "4ff87ae244278c889699622cba70400595ea069d"
}
# `@html-eslint/parser`
Parser for `@html-eslint/plugin`.
A parser for HTML-ESLint.
It makes AST generated by [ES-HTML-parser](https://github.com/yeonjuan/es-html-parser) compatible with ESLint.
This project contains code forked from [parse5](https://github.com/inikulin/parse5). Some codes were transformed for generating suitable AST for `@html-eslint/plugin`.
## Install
```bash
$ yarn add -D @html-eslint/parser
$ npm install -D @html-eslint/parser
```
## Usage
Set the `parser` property in your ESLint configuration file.
```json
{
"parser": "@html-eslint/parser"
}
```
const parser = require('@html-eslint/parser');
// TODO: DEMONSTRATE API
```
## License
MIT
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc