Default ESLint configuration for Player projects.
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.