From f642d685089a70bbc44bd4e4195d37f065a0c229 Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:11:21 +0200 Subject: [PATCH] ci/lint: simlify prettier (#19742) --- .pre-commit-config.yaml | 1 + .prettierignore | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 .prettierignore diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61281a8597..834a903bca 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 c5646f7112..0000000000 --- a/.prettierignore +++ /dev/null @@ -1,2 +0,0 @@ -# Ignore all MD files: -**/*.md