Skip to content

The Open Source DocuSign Alternative.

feat: add prettier to lint

nafees nazik7631c6e90ee3
diff --git a/lint-staged.config.cjs b/lint-staged.config.cjs
index a23c3fd78..9f10dcc76 100644
--- a/lint-staged.config.cjs
+++ b/lint-staged.config.cjs
@@ -8,7 +8,7 @@ const buildPrettierCommand = (filenames) =>
/** @type {import('lint-staged').Config} */
module.exports = {
- '**/*.{ts,tsx,cts,mts}': [buildEslintCommand],
+ '**/*.{ts,tsx,cts,mts}': [buildEslintCommand, buildPrettierCommand],
'**/*.{js,jsx,cjs,mjs}': [buildPrettierCommand],
'**/*.{yml,mdx}': [buildPrettierCommand],
'**/*/package.json': 'npm run precommit',