glossaries package FAQ
As from v2.01, you can use the styles defined in glossary-longragged or glossary-superragged, but note that these packages have to be loaded explicitly after loading the glossaries package so you can’t use the
style package option. There are also additional ragged styles available with the glossary-longbooktabs package.
If you are using glossaries-extra, you can also use the glossary-longextra styles.
Alternative link: https://www.dickimaw-books.com/faq.php?itemlabel=ragged