Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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