Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

eslint-config-videoamp

npm version

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 --dev

Usage

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.