Skip to content

A local-first personal finance app

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

Matiss Janis Aboltins9489e2f3b4bd
diff --git a/package.json b/package.json
index 1a1a76f193..10c4c8bb2e 100644
--- a/package.json
+++ b/package.json
@@ -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": "[email protected]",
"browserslist": [
diff --git a/upcoming-release-notes/4757.md b/upcoming-release-notes/4757.md
new file mode 100644
index 0000000000..c7b75947da
--- /dev/null
+++ b/upcoming-release-notes/4757.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [MatissJanis]
+---
+
+add eslint auto-fixer to lint-staged