remove unused sinon dep and lint the source code