dired-kept-versions

dired-kept-versions is a variable defined in `files.el'.
Its value is
2


Documentation:
When cleaning directory, number of versions to keep.

You can customize this variable.