I don't know why you say they don't eat anything. In fact earwigs eat EVERYTHING, including aphids, flies and other insects, decaying plant and animal matter (helping to break it down), and also living plants including lettuce, celery, cauliflower and others.
A couple control methods are diatomaceous earth and traps. They are active at night and like to have a hiding place in the day time. A short piece of hose, rolled up newspaper, hollowed out squash, etc place on the ground near where you have seen them, should collect a bunch of them, which then can be dumped out into soapy water. Or an empty tuna can filled with tuna oil, bacon grease, etc and buried so that the lip is at ground level, should be a good trap for them.