An ESLint config built to fit my personal preference.
Install the config using your favorite package manager:
$ yarn add -D eslint-config-tercek
$ npm i --save-dev eslint-config-tercek
Then just add whichever configs you want to the extends
section of your eslint config:
{
"extends": [
"tercek",
"tercek/react"
]
}
Rules for vanilla javascript and importing
Rules for react and react hooks
Rules for jest, jest-dom, and testing-library
Rules for typescript projects