linted code for clarity