We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3349548 commit f9a6962Copy full SHA for f9a6962
src/config/lintstagedrc.js
@@ -5,12 +5,10 @@ const doctoc = resolveBin('doctoc')
5
6
module.exports = {
7
'README.md': [`${doctoc} --maxlevel 3 --notitle`],
8
- '*.+(json|yml|yaml|css|less|scss|md|graphql|mdx|vue)': [
+ '*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)': [
9
`${hoverScripts} format`,
10
- `${hoverScripts} test --findRelatedTests`,
11
],
12
'*.+(js|jsx|ts|tsx)': [
13
- `${hoverScripts} format`,
14
`${hoverScripts} lint`,
15
`${hoverScripts} test --findRelatedTests`,
16
0 commit comments