chore: Lint example js files as well
docs: Add example using `snapOptions`