diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e1287eb8..fb85ec4d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,11 +16,10 @@ repos: name: Run formatter (prettier) language: system entry: npx prettier --write --ignore-unknown - pass_filenames: true + files: ".*\\.(js|jsx)$" - id: lint name: Run linter (eslint) language: system entry: npx eslint --fix files: ".*\\.(js|jsx)$" - pass_filenames: true