diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61281a8597ffc..834a903bcac19 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -101,4 +101,5 @@ repos: hooks: - id: prettier # https://prettier.io/docs/en/options.html#print-width + files: \.(json|yml|yaml|toml) args: ["--print-width=120"] diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index c5646f7112746..0000000000000 --- a/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -# Ignore all MD files: -**/*.md