eslint-config
This config is the eslint config you should use for all blackfoot react project in typescript.
yarn add -D @blackfoot/eslint-config
Then add in your .eslintrc
{
"extends": "@blackfoot"
}
We recommand you to add these rules for a better typescript support.
{
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
]
}