update lint setting, improve code comment and test expression