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

https://github.com/thoughtbit/eslint-config-base

:package: ThoughtBit for eslint config
https://github.com/thoughtbit/eslint-config-base

eslint eslint-config eslintconfig

Last synced: about 1 month ago
JSON representation

:package: ThoughtBit for eslint config

Awesome Lists containing this project

README

          

# eslint-config
ThoughtBit config for ESLint

## Package contents

`@thoughtbit` basic rules

`@thoughtbit/eslint-config/browser` browser rules and environment

`@thoughtbit/eslint-config/es6` ES6 rules and environment, including [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import)

`@thoughtbit/eslint-config/node` Node.js rules and environment

`@thoughtbit/eslint-config/react` rules for [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react)

`@thoughtbit/eslint-config/angular` rules for [eslint-plugin-angular](https://github.com/Gillespie59/eslint-plugin-angular)

`@thoughtbit/eslint-config/vue` rules for [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue)

`@thoughtbit/eslint-config/test` mocha, chai, sinon rules and environment, including [eslint-plugin-bdd](https://github.com/Nate-Wilkins/eslint-plugin-bdd)

## Usage example

```json
{
"parser": "babel-eslint",
"extends": [
"@thoughtbit",
"@thoughtbit/eslint-config/browser",
"@thoughtbit/eslint-config/es6",
"@thoughtbit/eslint-config/node",
"@thoughtbit/eslint-config/react",
"@thoughtbit/eslint-config/angular",
"@thoughtbit/eslint-config/vue",
"@thoughtbit/eslint-config/test"
]
}
```

## 参考

https://github.com/uedlinker/eslint-config-react
https://github.com/uedlinker/eslint-config-base