feat: Add autoformat and lint for ts/tsx files (#11806)

* feat: Add autoformat and lint for ts/tsx files

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Dariusz Niemczyk 2024-07-30 16:20:50 +02:00 committed by GitHub
parent 272a66baa5
commit dd20741b87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 273 additions and 4 deletions

5
.lintstagedrc Normal file
View file

@ -0,0 +1,5 @@
{
"*": "prettier --write",
"*.(ts|tsx|js|jsx)": ["eslint --fix"],
"*.pcss": ["stylelint"]
}