PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616)
* Format md,mdx files with prettier on lint-staged * Manually run prettier on docs/sources
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@
|
||||
"*.{js,ts,tsx}": [
|
||||
"eslint --ext .js,.tsx,.ts --cache --fix"
|
||||
],
|
||||
"*.{json,scss}": [
|
||||
"*.{json,scss,md,mdx}": [
|
||||
"prettier --write"
|
||||
],
|
||||
"*pkg/**/*.go": [
|
||||
|
||||
Reference in New Issue
Block a user