Format code to standard