@html-eslint/parser
Advanced tools
Comparing version 0.16.0 to 0.17.0
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18545
28
335
26
1
1