Skip to content

Commit

Permalink
Revert "fix(build): don’t run git add when linting"
Browse files Browse the repository at this point in the history
This reverts commit 4d9ea38.

We need the git add otherwise the prettier changes wont be added to the commit

[ci skip]
  • Loading branch information
Leon Radley committed Apr 16, 2018
1 parent 4d9ea38 commit 66a5071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .lintstagedrc.json
@@ -1,3 +1,3 @@
{
"*.ts": ["prettier --write"]
"*.ts": ["prettier --write", "git add"]
}

0 comments on commit 66a5071

Please sign in to comment.