Skip to content

Commit

Permalink
Use files: over types: in pre-commit configuration (#2759)
Browse files Browse the repository at this point in the history
See #2745
  • Loading branch information
asottile authored and vjeux committed Sep 5, 2017
1 parent 9c4ec68 commit 4d68faf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-hooks.yaml
Expand Up @@ -2,4 +2,5 @@
name: prettier
entry: prettier --write
language: node
types: [javascript]
# From https://github.com/prettier/prettier/blob/133303f47a30f6b3e46ffdf9d5c2d6609d65c416/src/options.js#L32-L42
files: \.(css|less|scss|html|ts|tsx|graphql|gql|json|js|jsx)$

0 comments on commit 4d68faf

Please sign in to comment.