Motivation
solar has compatibility with the latest Solidity language breaking version (0.8.*), so linting projects that are older results in errors like the ones reported in #11668 (comment)
Solution
we should disable lint_on_build
for older solidity version