Does icarus verilog work better in linting Yosys projects and libraries?
I tried verilator and verible-verilog-lint and they fail.
Regardless of the tool, I think that Yosys should have at least one known good linter that is also be used in Yosys automated testing.