VideoAmp's base ESLint config for our Typescript projects


Keywords
eslint, javascript, typescript
License
Apache-2.0
Install
npm install eslint-config-videoamp@5.2.0

Documentation

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.