mirror of
https://github.com/trycua/computer.git
synced 2025-12-30 18:09:55 -06:00
Include MDX files when formatting with Prettier
This commit is contained in:
@@ -7,7 +7,7 @@ repos:
|
||||
entry: prettier --write
|
||||
language: node
|
||||
additional_dependencies: ["prettier@3.6.2"]
|
||||
files: \.(ts|tsx|js|jsx|json|md|yaml|yml)$
|
||||
files: \.(ts|tsx|js|jsx|json|md|mdx|yaml|yml)$
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"scripts": {
|
||||
"prettier:check": "prettier --check '**/*.{ts,tsx,js,jsx,json,md,yaml,yml}'",
|
||||
"prettier:format": "prettier --write '**/*.{ts,tsx,js,jsx,json,md,yaml,yml}'"
|
||||
"prettier:check": "prettier --check '**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml}'",
|
||||
"prettier:format": "prettier --write '**/*.{ts,tsx,js,jsx,json,md,mdx,yaml,yml}'"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prettier": "^3.6.2"
|
||||
|
||||
Reference in New Issue
Block a user