Skip to content

The Open Source DocuSign Alternative.

refactor: use lint-staged.config.cjs as configuration for lint-staged

Nicholas Sylke58d765924f36
diff --git a/lint-staged.config.cjs b/lint-staged.config.cjs
new file mode 100644
index 000000000..6e6b7a83e
--- /dev/null
+++ b/lint-staged.config.cjs
@@ -0,0 +1,5 @@
+module.exports = {
+ "**/*.{ts,tsx,md}": [
+ "prettier --write"
+ ]
+}
diff --git a/package.json b/package.json
index 2f7a01de2..495578aab 100644
--- a/package.json
+++ b/package.json
@@ -23,10 +23,5 @@
"workspaces": [
"apps/*",
"packages/*"
- ],
- "lint-staged": {
- "**/*.{ts,tsx,md}": [
- "prettier --write"
- ]
- }
+ ]
}