From [0] and [1], it seems it was a mixed ruling. I am actually not sure whether it's now legal to scrape, since the Court ruled against hiQ due to a breach of terms of service, but previously the Ninth Circuit Court affirmed its ruling against LinkedIn.
[0] https://www.natlawreview.com/article/court-finds-hiq-breache...
[1] https://www.natlawreview.com/article/hiq-and-linkedin-reach-...