Make lint hook ignore deleted files.

To update the linter in practice you would have to

```bash
rm .git/hooks/pre-commit
./scripts/hooks/lint.pre-commit
```

r?