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

https://github.com/ymc-github/eslint-config

lint my javascript code
https://github.com/ymc-github/eslint-config

2018 es2015 es2016 es2017 eslint eslint-config javascript style-guide yemiancheng

Last synced: 7 months ago
JSON representation

lint my javascript code

Awesome Lists containing this project

README

          

# eslint-config-yemiancheng

![Travis (.com) branch](https://img.shields.io/travis/com/ymc-github/eslint-config/master.svg?label=Travis%20CI&color=ff69b4&logo=Travis%20CI&logoColor=ff69b4&style=popout-square)
![GitHub repo size](https://img.shields.io/github/repo-size/ymc-github/eslint-config.svg?label=github%20repo%20size&color=ff69b4&logo=Github&logoColor=ff69b4&style=popout-square)
![GitHub commit activity](https://img.shields.io/github/commit-activity/m/ymc-github/eslint-config.svg?color=ff69b4&logo=Github&logoColor=ff69b4&style=popout-square)
![GitHub last commit (branch)](https://img.shields.io/github/last-commit/ymc-github/eslint-config/master.svg?label=github%20last%20commit%40master&color=ff69b4&logo=Github&logoColor=ff69b4&style=popout-square)
![Gitter](https://img.shields.io/gitter/room/ymc-github/eslint-config.svg?label=chat&color=ff69b4&logo=Github&logoColor=ff69b4&style=popout-square)
![GitHub language count](https://img.shields.io/github/languages/count/ymc-github/eslint-config.svg?label=languages&color=ff69b4&logo=Github&logoColor=ff69b4&style=popout-square)
![GitHub language top](https://img.shields.io/github/languages/top/ymc-github/eslint-config.svg?color=ff69b4&logo=Github&logoColor=ff69b4&style=popout-square)
![GitHub package.json version (branch)](https://img.shields.io/github/package-json/v/ymc-github/eslint-config/master.svg?label=github%20package.json%20version%40master&color=ff69b4&logo=Github&logoColor=ff69b4&style=popout-square)
![GitHub followers](https://img.shields.io/github/followers/ymc-github.svg?label=github%20followers&color=ff69b4&logo=Github&logoColor=ff69b4&style=popout-square)
![Twitter Follow](https://img.shields.io/twitter/follow/yemiancheng.svg?label=follow%20%40yemiancheng&color=ff69b4&logo=Twitter&logoColor=ff69b4&style=popout-square)

## desc

Lint my JavaScript code style

## how to use for production?

### install

```sh
npm install --save-dev eslint-config-yemiancheng
#or
npm install https://github.com/YMC-GitHub/eslint-config.git#v1.0.0 --save-dev
```

### usage

Add "extends": "yemiancheng" to your .eslintrc.js

```sh
echo "module.exports = {extends: ['yemiancheng']};" > .eslintrc.js
```

## Author

yemiancheng

## License

MIT