0.1.1 • Published 4 years ago

@nomadinteractive/eslint-config v0.1.1

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

Nomad team's shared eslint config

Based on airbnb config

Plugins enabled:

  • airbnb
  • import
  • react/jsx
  • flow
  • unicorn

Install

1) npm install --save-dev @nomadinteractive/eslint-config

2) Create .eslintrc file in your project root with following content:

{
    "extends": "@nomadinteractive"
}

3) 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.

License

MIT