Linting for the Odyssey API layer
Install
npm install -D @brightcove-gs/eslint-config
-or-
yarn add -d @brightcove-gs/eslint-config
Configure
Add a .eslintrc
file to your project
{
"extends": ["@brightcove-gs"]
}
Caveat
ESLint is a peerDependency, so you must install it as well
npm install -D eslint