Format code according to coding standards