finish lint configuration & code polishing