# Linter Error

Can you look at the linter error?

**1mo ago** · **2m** · **11 calls**

## Fixed

The linter error was a typecheck failure in `cmd/entire/cli/auth/repo_token.go:81`: it still called `contexts.DefaultConfigDir()` and `discovery.DefaultCacheDir()`, which no longer exist — per-user config/cache dir resolution was consolidated into the `internal/entireclient/userdirs` package (the rest of the auth package, e.g. `data_api.go:91`, already uses it).

### The fix:
- Replaced the call with `userdirs.Config()` and `userdirs.Cache()`.
- Dropped the now-unused `contexts` and `discovery` imports.
- Added the `userdirs` import.

`mise run fmt && mise run lint` passes with 0 issues, and the auth package tests pass.

## Commit Reference
[15e37e0fixed lint/package name issue](/content/gh/entireio/cli/commit/15e37e006c11ce78ff97bee2dd7684f5feb803ca/index.html)
