Just a index.js config file nothing special. Used to reduce config files and remain consistent throughout projects.
yarn add --dev https://github.com/zollf/dylan-eslint-config.git
yarn add --dev prettier
yarn add --dev eslint eslint-config-prettier eslint-plugin-prettier
yarn add --dev @typescript-eslint/eslint-plugin @typescript-eslint/parser
Add to package.json
"eslintConfig": {
"extends": "./node_modules/dylan-eslint-config/index"
},
Run Eslint Test
yarn run eslint . --ext .ts,.tsx