Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/valpackett/eslint-plugin-pug
An ESLint plugin for linting inline scripts in Pug files
https://github.com/valpackett/eslint-plugin-pug
eslint eslint-plugin pug
Last synced: 26 days ago
JSON representation
An ESLint plugin for linting inline scripts in Pug files
- Host: GitHub
- URL: https://github.com/valpackett/eslint-plugin-pug
- Owner: valpackett
- License: unlicense
- Created: 2015-08-02T17:55:24.000Z (over 9 years ago)
- Default Branch: trunk
- Last Pushed: 2024-11-19T05:20:37.000Z (about 1 month ago)
- Last Synced: 2024-11-19T06:26:04.137Z (about 1 month ago)
- Topics: eslint, eslint-plugin, pug
- Language: JavaScript
- Homepage:
- Size: 633 KB
- Stars: 20
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![npm version](https://img.shields.io/npm/v/eslint-plugin-pug.svg?style=flat)](https://www.npmjs.org/package/eslint-plugin-pug)
[![npm downloads](https://img.shields.io/npm/dm/eslint-plugin-pug.svg?style=flat)](https://www.npmjs.org/package/eslint-plugin-pug)
[![Build Status](https://github.com/valpackett/eslint-plugin-pug/workflows/Node.js%20CI/badge.svg)](https://github.com/valpackett/eslint-plugin-pug/actions)
[![Unlicense](https://img.shields.io/badge/un-license-green.svg?style=flat)](https://unlicense.org)# eslint-plugin-pug
An [ESLint] plugin for linting inline scripts in [Pug] files!
Only extracts `script` tags with no type or `text/javascript` type.
See also: [eslint-plugin-html].
[ESLint]: https://eslint.org
[Pug]: https://pugjs.org
[eslint-plugin-html]: https://github.com/BenoitZugmeyer/eslint-plugin-html## Installation
Install with [npm], obviously:
```bash
npm install --save-dev eslint eslint-plugin-pug
```And add to your [ESLint configuration] -- `.eslintrc` or `eslintConfig` in `package.json`:
```json
{
"plugins": [
"pug"
]
}
```[npm]: https://www.npmjs.com
[ESLint configuration]: https://eslint.org/docs/user-guide/configuring## Contributing
Please feel free to submit pull requests!
By participating in this project you agree to follow the [Contributor Code of Conduct](https://contributor-covenant.org/version/1/4/) and to release your contributions under the Unlicense.
## License
This is free and unencumbered software released into the public domain.
For more information, please refer to the `UNLICENSE` file or [unlicense.org](https://unlicense.org).