Some loan programs have a minimum condition standard for homes they will lend money on.

If you are going to be selling to buyers using those loan programs then your home will at least need to meet the minimum standards. The majority of homes meet these standards.