Add scss files formatting for staged files

[MAILPOET-6370]
This commit is contained in:
Rostislav Wolny
2025-01-14 14:10:31 +01:00
committed by Oluwaseun Olorunsola
parent 7bca42a32e
commit 142b0f3d2c

View File

@@ -17,7 +17,7 @@
"format": "./node_modules/.bin/prettier --config .prettierrc.js --write 'src/**/*.{js,jsx,json,ts,tsx,yml,yaml,scss}'"
},
"lint-staged": {
"*.{js,jsx,json,ts,tsx,yml,yaml}": "npm run format",
"*.{js,jsx,json,ts,tsx,yml,yaml,scss}": "npm run format",
"*.{scss,css}": "npm run lint:css",
"*.{js,jsx,ts,tsx}": "npm run lint:js"
},