[misc] Enable EOL and EOF checking