Skip to content

Instantly share code, notes, and snippets.

View mehmetsagir's full-sized avatar
:octocat:

Mehmet Sağır mehmetsagir

:octocat:
View GitHub Profile
@mehmetsagir
mehmetsagir / settings.md
Last active March 9, 2024 14:13
Eslint, Prettier, husky and lint-staged configurations for TypeScript projects

If husky is not running, run the following command

chmod ug+x .husky/*

Installation

Install dependencies

yarn add -D prettier eslint eslint-config-prettier eslint-plugin-prettier eslint-plugin-simple-import-sort husky lint-staged