1.2.0 • Published 4 years ago
@covvee/eslint-config v1.2.0
@covvee/eslint-config
An ESLint Shareable Config for Cove repos
Install
yarn add -D @covvee/eslint-config eslint-config-airbnb-base eslint-config-prettier eslint-plugin-import eslint-plugin-prettier prettier eslint
Usage
Add this to your .eslintrc
file:
{
"extends": "@covvee/eslint-config"
}
You can override settings from the shareable config by adding them directly into your
.eslintrc
file.
Add a lint script to your package.json
file:
"scripts": {
"lint": "eslint './**/*.js' --fix"
}