Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kaola-fed/eslint-config-kaola

ESLint rules for Kaola
https://github.com/kaola-fed/eslint-config-kaola

eslint kaola

Last synced: 2 months ago
JSON representation

ESLint rules for Kaola

Awesome Lists containing this project

README

        

# eslint-config-kaola

[![npm](https://img.shields.io/npm/v/eslint-config-kaola.svg?style=flat-square)](https://www.npmjs.com/package/eslint-config-kaola)
[![Build Status](https://img.shields.io/travis/kaola-fed/eslint-config-kaola.svg?style=flat-square)](https://travis-ci.org/kaola-fed/eslint-config-kaola)

ESLint rules for Kaola.

|Type|Extends|
|---|---|
|Default|kaola|
|ES2015+|kaola/esnext|
|vue|kaola/vue|
|react|kaola/react|
|weex|kaola/weex|

## Installation

```bash
$ npm i eslint eslint-config-kaola -D
```

## Usage

```json
{
"extends": "kaola"
}
```

Add npm scripts:

```json
"scripts": {
"test": "npm run lint",
"lint": "eslint path/to/file"
}
```

After that, simply run

```bash
$ npm t
```

## License

MIT