If your only tickets were for parking violations (that is, things like staying too long at a parking meter or parking your car in a red zone), you don't even need to mention these on Form N-400. But for any violation where you were behind the wheel, or your motor was running, your best bet is to mention it.
Source: https://www.gardnerandmendoza.com/traffic-tickets-immigration/