npm install --save-dev eslint eslint-plugin-prefer-let eslint-config-blimp
Then, add this to your .eslintrc
file:
{
"extends": ["blimp"],
"rules": {
// your overrides
}
}
Note: We omitted the eslint-config-
prefix since it is automatically assumed by ESLint.
Shareable configs are designed to work with the extends
feature of .eslintrc
files. You can learn more about Shareable Configs on the official ESLint website.
You can override settings from the shareable config by adding them directly into your
.eslintrc
file.