Skip to content

Commit bf1b44b

Browse files
committed
feat(config/lintstagedrc): update max DocToc depth to 4
1 parent 33956ee commit bf1b44b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/lintstagedrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const hoverScripts = resolveHoverScripts()
44
const doctoc = resolveBin('doctoc')
55

66
module.exports = {
7-
'README.md': [`${doctoc} --maxlevel 3 --notitle`],
7+
'README.md': [`${doctoc} --maxlevel 4 --notitle`],
88
'*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)': [
99
`${hoverScripts} format`,
1010
],

0 commit comments

Comments
 (0)