🔧 added eslint auto-fix to the lint-staged step (#4757)

small DX improvement
This commit is contained in:
Matiss Janis Aboltins
2025-04-10 08:19:44 +01:00
committed by GitHub
parent 608b4be765
commit 9489e2f3b4
2 changed files with 10 additions and 1 deletions

View File

@@ -85,7 +85,10 @@
"node": ">=18.0.0"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,json,yml}": "prettier --write"
"*.{js,jsx,ts,tsx,md,json,yml}": [
"eslint --fix",
"prettier --write"
]
},
"packageManager": "yarn@4.7.0",
"browserslist": [

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [MatissJanis]
---
add eslint auto-fixer to lint-staged