1.0.9 • Published 5 years ago
@repeaterts/eslint-config v1.0.9
@repeaterts/eslint-config
Installation
Peer Dependencies
yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier eslint prettier typescriptThen me
yarn add -D @repeaterts/eslint-configUsage
Add the ESLint config to your package.json:
{
"name": "my-project",
"eslintConfig": {
"extends": "@repeaterts"
}
}Or to eslintrc.js / .eslintrc.json:
{
"extends": "@repeaterts"
}Create tsconfig.eslint.json next to the eslint config file, for example with content:
{
"extends": "./tsconfig.json",
"include": ["src", "test"]
}