Prettier will always break lines(as long as the arguments are long or multiline),and there's no simple configuration to disable this behavior. Try to accept its defaults rules. Prettier is a good tools in frontend world.