@repeaterts/eslint-config
v1.0.9
Published
Standard Sharable ESLint for RepeaterTS in TS
Downloads
5
Readme
@repeaterts/eslint-config
Installation
Peer Dependencies
yarn add -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-config-prettier eslint-plugin-prettier eslint prettier typescript
Then me
yarn add -D @repeaterts/eslint-config
Usage
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"]
}