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 1,000,000+ packages pre-installed, including @vimeo/eslint-config-player with all npm packages installed. Try it out:

require("eslint/package.json"); // eslint is a peer dependency. var eslintConfigPlayer = require("@vimeo/eslint-config-player")

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

@vimeo/eslint-config-player v5.0.1

Default ESLint configuration for Player projects.

Player ESLint Config npm version

Default ESLint configuration for Player projects.

How to use it

First, install the npm package:

npm install @vimeo/eslint-config-player

Then add the extends option to the .eslintrc.json file:

{
    "extends": "@vimeo/eslint-config-player"
}

If the project is using ES6, extend from the ES6 version instead:

{
    "extends": "@vimeo/eslint-config-player/es6"
}

You can override specific settings by specifying them as normal. See http://eslint.org/docs/developer-guide/shareable-configs for more details.

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