Project Setup Setup ESLint to work with TypeScript Install the Dev Dependencies yarn add eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin -D Create .eslintrc file and write the following in it: { "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 2020, "sourceType": "module" }, "extends": [ "plugin:@typescript-eslint/recommended" ], "rules": { } } Adding Prettier Install Dev Dependencies yarn add prettier eslint-config-prettier eslint-config-prettier -D Create .prettierrc fule and right a few rules like this: { "semi": true, "trailingComma": "all", "singleQuote": true, "printWidth": 100, "tabWidth": 2, "bracketSpacing": true } Update .eslintrc file { "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 2020, "sourceType": "module" }, "extends": [ "plugin:@typescript-eslint/recommended", "prettier/@typescript-eslint", "plugin:prettier/recommended" ], "rules": {} }