Skip to content

Commit

Permalink
feat: add .gql files in lintstagedrc (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed Apr 9, 2021
1 parent e507091 commit b4bbe72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const doctoc = resolveBin('doctoc')

module.exports = {
'README.md': [`${doctoc} --maxlevel 3 --notitle`],
'*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)': [
'*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|gql|graphql|mdx|vue)': [
`${kcdScripts} format`,
`${kcdScripts} lint`,
`${kcdScripts} test --findRelatedTests`,
Expand Down

0 comments on commit b4bbe72

Please sign in to comment.