This is a Strict Standard configuration for ESLint. You might want to use the strict-standard
tool for convenience.
npm install --save-dev eslint eslint-config-strict-standard eslint-plugin-standard
Create an .eslintrc
file in your project:
{
"extends": "strict-standard"
}
Add the following to your package.json
:
{
"scripts": {
"lint": "eslint ."
}
}