eslint-config-videoamp
v6.0.0
Published
VideoAmp's base ESLint config for our Typescript projects
Downloads
54
Readme
eslint-config-videoamp
This package uses ESLint to enforce VideoAmp's code style and provides a shared base configuration for our Typescript projects.
Install
yarn
yarn add eslint-config-videoamp eslint --devUsage
Create a .eslintrc file in base of your project:
For Node Projects
{
extends: 'videoamp'
}For React Projects
{
extends: 'videoamp/react'
}Enabling Prettier
Add "prettier": "eslint-config-videoamp/prettier.config" to your package.json.
Contributing
You can make sure this module lints with itself using yarn lint.
