diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c0bc81837996..0f47e7cb0ef8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,8 +36,7 @@ repos: - prettier@3.4.2 args: - --check - files: '^.*\.(jsx|js|tsx|ts|mdx|md|json|yaml|yml|html|css)$' - pass_filenames: true + types: [javascript,jsx,ts,tsx,markdown,mdx,html,css,json,yaml] - repo: https://github.com/python-poetry/poetry rev: 1.8.0