\documentclass{article}

\usepackage[stylemods,style=treenoname]{glossaries-extra}

\newglossaryentry{sample}{name={sample},description={an example}}

\begin{document}
\printunsrtglossary
\end{document}
