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

https://github.com/jamen/eslint-plugin-typling

Eslint plugin for typling
https://github.com/jamen/eslint-plugin-typling

Last synced: about 1 year ago
JSON representation

Eslint plugin for typling

Awesome Lists containing this project

README

          

# eslint-plugin-typling

> Typling plugin for Eslint

![Screenshot](docs/screenshot.png)

## Installation

```sh
$ npm install --save eslint-plugin-typling
```

## Usage

Load it in your `"plugins"` array:

```js
"plugins": ["typling" /*, "react", "promise", ... */]
```

Configure the rules

```js
"rules": {
// 1 for warnings, 2 for errors:
"typling/type-invalid": 2,
"typling/type-missing": 1,
"typling/def-missing": 1
}
```

And you're done

## License

MIT © [Jamen Marz](https://git.io/jamen)

---

[![version](https://img.shields.io/npm/v/eslint-plugin-typling.svg?style=flat-square)][package] [![travis](https://img.shields.io/travis/jamen/eslint-plugin-typling.svg?style=flat-square)](https://travis-ci.org/jamen/eslint-plugin-typling) [![downloads](https://img.shields.io/npm/dt/eslint-plugin-typling.svg?style=flat-square)][package] [![license](https://img.shields.io/npm/l/express.svg?style=flat-square)][package] [![follow](https://img.shields.io/github/followers/jamen.svg?style=social&label=Follow)](https://github.com/jamen)

[package]: https://npmjs.org/package/eslint-plugin-typling