Skip to content

Commit 40831a3

Browse files
fix: correct error in lint-staged config
1 parent 5620f9d commit 40831a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: lint-staged.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ module.exports = {
99
...commands,
1010
micromatch.isMatch(file, eslintMatcher)
1111
? `eslint --cache --report-unused-disable-directives --max-warnings 0 --fix '${file}'`
12-
: `prettier --write '${file}'``git add '${file}'`,
12+
: `prettier --write '${file}'`,
13+
`git add '${file}'`,
1314
],
1415
[],
1516
),

0 commit comments

Comments
 (0)