@theappteam/eslint-config
v0.0.2
Published
ESLint preset extending Airbnb, Flow, Prettier and Jest
Downloads
12
Maintainers
Readme
eslint-config-tat
TAT eslint config utilizing Airbnb's styleguide, Flow, Prettier and Jest support.
Plugins and configs used:
- eslint-config-airbnb
- eslint-config-prettier
- eslint-plugin-prettier
- eslint-plugin-flowtype
- eslint-plugin-jest
- eslint-plugin-react-native
- eslint-plugin-import
- eslint-plugin-react-hooks
Additionally, it sets these environments:
{
"env": {
"browser": true,
"es6": true,
"node": true
}
}
Installation
yarn add --dev eslint @theappteam/eslint-config
Note: We're using yarn
to install deps. Feel free to change commands to use npm
3+ and npx
if you like
Usage
Add to your eslint config (.eslintrc
, or eslintConfig
field in package.json
):
{
"extends": "@theappteam"
}
Example of extending the configuration
{
"extends": "@theappteam",
"rules": {
"global-require": 0,
"prefer-destructuring": 0
}
}