GOFLAGS=-mod=vendor still needed?

I am reading the docs at: GitHub - loft-sh/devspace: DevSpace - The Fastest Developer Tool for Kubernetes ⚡ Automate your deployment workflow with DevSpace and develop software directly inside Kubernetes.

This project is mainly written in Golang. If you want to contribute code:

Ensure you are running golang version 1.11.4 or greater for go module support
Set the following environment variables:

   GO111MODULE=on
   GOFLAGS=-mod=vendor

I guess GO111MODULE=on is not needed if I use go 1.18.

But what about GOFLAGS=-mod=vendor. Is it needed if I use go 1.18?