Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pugjs/pug-lint-config-migration-v2
pug-lint configuration to help migrate projects to Pug 2.0.0.
https://github.com/pugjs/pug-lint-config-migration-v2
Last synced: about 2 months ago
JSON representation
pug-lint configuration to help migrate projects to Pug 2.0.0.
- Host: GitHub
- URL: https://github.com/pugjs/pug-lint-config-migration-v2
- Owner: pugjs
- License: mit
- Created: 2016-06-05T02:33:11.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-04T04:38:43.000Z (over 8 years ago)
- Last Synced: 2024-11-14T14:29:18.383Z (3 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE.md
Awesome Lists containing this project
README
# pug-lint-config-migration-v2
[pug-lint] configuration for migration to Pug 2.
[![npm](https://img.shields.io/npm/v/pug-lint-config-migration-v2.svg?maxAge=2592000)](https://www.npmjs.com/package/pug-lint-config-migration-v2)
## How to use
First, install [pug-lint] and this configuration package:
```sh
$ npm i --save-dev pug-lint pug-lint-config-migration-v2
```Next, add a `.pug-lintrc.json` file in your project root:
```json
{
"extends": "migration-v2"
}
```And now, you can run the linter as
```sh
$ ./node_modules/.bin/pug-lint .
```You should see a list of errors that might prevent your app from working properly in Pug 2.
## License
MIT
[pug-lint]: https://www.npmjs.com/package/pug-lint