Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-marlint

traveloka1.3kMIT7.0.0

ESLint shareable config for Marlint

eslint, config, jshint, jscs, jshint, jslint, standard, flow, flowtype, ts, tsx, typescript, babel, babel-eslint, styleguide, traveloka, linter, lint

readme

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