[Linter] Tune warnings and errors