eslint-config-marlint

7.0.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-config-marlint

Weekly Downloads

824

Version

7.0.0

License

MIT

Unpacked Size

40.8 kB

Total Files

17

Last publish

Collaborators

  • pveyes
  • traveloka-engineering