There are some ways to fix the mechanical keyboard double typing issue.
Clean up the dust with compressed air.
Update your keyboard driver.
Modify the repeat delay in the keyboard setting or registry.
Use the keyboard chattering software
Simply get a new keyboard if it’s convenient.