@nomadinteractive/eslint-config
v0.1.1
Published
Based on airbnb config
Downloads
15
Readme
Nomad team's shared eslint config
Based on airbnb config
Plugins enabled:
- airbnb
- import
- react/jsx
- flow
- unicorn
Install
npm install --save-dev @nomadinteractive/eslint-config
Create .eslintrc file in your project root with following content:
{
"extends": "@nomadinteractive"
}
- Then add eslint script in your package.json scripts:
scripts": {
"eslint": "eslint ./example-app"
},
Usage
Run npm run eslint
to check your code agains eslint.