You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-config-pinterest
:
$ npm install eslint-config-pinterest --save-dev
Extend the pinterest
config in your .eslintrc
configuration file. You can omit the eslint-config-
prefix:
{
"extends": [
"pinterest"
]
}