[#2019]  Update lint version.


Problem description
===================

Compat used the old linter and need to update linter and build system and fix new errors.



Changes description
===================

Fix lint errors.


How to try and test the changes
===============================

reviewers @alibotean 

Check this before reviewing other compat branches.

Thanks!