This package uses ESLint to enforce VideoAmp's code style and provides an extended configuration of our base rules (found at eslint-config-videoamp
) for our Node.js projects.
If you are looking for our extended configuration for our React.js projects, see eslint-config-videoamp-react
.
yarn add --dev eslint-config-videoamp-node eslint
npm install --save-dev eslint-config-videoamp-node eslint
Add "extends": "videoamp-node"
to your .eslintrc
.
- ESLint config docs
eslint-plugin-node
eslint-plugin-unicorn
eslint-plugin-mocha
eslint-plugin-security
You can make sure this module lints with itself using yarn lint
.