npm.io
7.0.0 • Published 5 years ago

eslint-config-marlint

Licence
MIT
Version
7.0.0
Deps
0
Size
40 kB
Vulns
0
Weekly
0
Stars
25

eslint-config-marlint

ESLint shareable config for Marlint

This is ESLint config inspired from XO with some adjustment in order to support ES2015+, React and Flow by default, using babel-eslint internally.

For easier setup, you might want to use Marlint

Install

$ npm install eslint-config-marlint --save-dev

You also need to install other dependencies if you're on npm 3 (if you're on npm 2 it will be installed automatically)

$ npm install babel-eslint eslint-plugin-babel eslint-plugin-react eslint-plugin-jsx-a11y --save-dev

Usage

Add some ESLint config to your package.json:

{
  "name": "your-project-name",
  "eslintConfig": {
    "extends": "marlint"
  }
}

Or to .eslintrc:

{
  "extends": "marlint"
}

License

MIT Traveloka

Keywords