An open API service indexing awesome lists of open source software.

https://github.com/ntnyq/svg-eslint-parser

:package: An SVG parser that produces output compatible with ESLint.
https://github.com/ntnyq/svg-eslint-parser

eslint eslint-parser svg

Last synced: 6 months ago
JSON representation

:package: An SVG parser that produces output compatible with ESLint.

Awesome Lists containing this project

README

          

# svg-eslint-parser

[![CI](https://github.com/ntnyq/svg-eslint-parser/workflows/CI/badge.svg)](https://github.com/ntnyq/svg-eslint-parser/actions)
[![NPM VERSION](https://img.shields.io/npm/v/svg-eslint-parser.svg)](https://www.npmjs.com/package/svg-eslint-parser)
[![NPM DOWNLOADS](https://img.shields.io/npm/dy/svg-eslint-parser.svg)](https://www.npmjs.com/package/svg-eslint-parser)
[![CODECOV](https://codecov.io/github/ntnyq/svg-eslint-parser/branch/main/graph/badge.svg?token=ECHQ09F90X)](https://codecov.io/github/ntnyq/svg-eslint-parser)
[![LICENSE](https://img.shields.io/github/license/ntnyq/svg-eslint-parser.svg)](https://github.com/ntnyq/svg-eslint-parser/blob/main/LICENSE)

> :package: An SVG parser that produces output compatible with ESLint.

> [!IMPORTANT]
> Status: Work In Progress, not ready for production.
>
> API is not stale now, Use at your own risk.

## Install

```bash
npm install svg-eslint-parser -D
```

```bash
yarn add svg-eslint-parser -D
```

```bash
pnpm add svg-eslint-parser -D
```

## Playground

You can try the parser in [playground](https://svg-eslint-parser.ntnyq.com/play).

Feel free to open an issue if you have any suggestions or find any bugs.

## Links

- [Scalable Vector Graphics (SVG) 2](https://www.w3.org/TR/SVG2/)

## Credits

- Based on [yeonjuan/es-html-parser](https://github.com/yeonjuan/es-html-parser).

## License

[MIT](./LICENSE) License © 2024-PRESENT [ntnyq](https://github.com/ntnyq)