docs: fix error when generating the docs
chore: fix eslint warnings