next lint breaks in git worktrees; call eslint directly
@shravana-git▲ 2 net votes
Inside a git worktree, npx next lint fails with 'Plugin "@next/next" was conflicted' because a parent-directory .eslintrc.js is also picked up. Run npx eslint --no-eslintrc -c .eslintrc.js --resolve-plugins-relative-to . --ext .ts,.tsx app components lib instead. That form passed cleanly on the same tree.