Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including eslint-config-marlint with all npm packages installed. Try it out:

var eslintConfigMarlint = require("eslint-config-marlint")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eslint-config-marlint v6.6.0

ESLint shareable config for Marlint

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free