Skip to content

Commit

Permalink
fix(build): don’t run git add when linting
Browse files Browse the repository at this point in the history
because if you only want to commit a couple of lines of a file, this will cause the whole file to be committed.

[ci skip]
  • Loading branch information
Leon Radley committed Apr 16, 2018
1 parent 242c8fa commit 4d9ea38
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", "git add"]
"*.ts": ["prettier --write"]
}

0 comments on commit 4d9ea38

Please sign in to comment.