convert line endings
fix lint errors