Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/airdrop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint": "^10",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check for peer dependency conflicts with ESLint 10 in Next.js apps

echo "=== Checking eslint-config-next version ==="
rg -n "eslint-config-next" --type=json -g 'apps/*/package.json'

echo -e "\n=== Checking current ESLint versions ==="
rg -n '"eslint":\s*"\^?[0-9]' --type=json -g 'apps/*/package.json'

echo -e "\n=== Simulating npm install to check peer dependencies ==="
echo "ESLint 10 with eslint-config-next 16.2.6 will produce warnings like:"
echo "WARN  eslint-plugin-react@7.37.5 requires eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 but ESLint 10.x is installed"
echo "WARN  eslint-plugin-import@2.32.0 requires eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 but ESLint 10.x is installed"
echo "WARN  eslint-plugin-jsx-a11y@6.10.2 requires eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9 but ESLint 10.x is installed"
echo "WARN  eslint-plugin-react-hooks@7.0.1 requires eslint@^3.0.0 || ... || ^9.0.0 but ESLint 10.x is installed"

Repository: Sentriscloud/frontend

Length of output: 1669


🌐 Web query:

eslint-config-next 16.2.6 peer dependencies ESLint 10 support

💡 Result:

As of May 18, 2026, eslint-config-next version 16.2.6 does not officially support ESLint 10 as a peer dependency [1]. Users attempting to use ESLint 10 with this version of eslint-config-next will encounter peer dependency resolution errors [1]. This is because the package and its underlying dependencies (such as eslint-plugin-import, eslint-plugin-react, and eslint-plugin-jsx-a11y) currently define peer dependency ranges that do not include ESLint 10 [1]. While there has been active tracking of this issue within the Next.js repository (e.g., issue #91702), official support remains pending as the ecosystem works to update upstream plugin dependencies to be compatible with ESLint 10 [1]. In the interim, users often resolve these installation conflicts by using package manager flags such as --legacy-peer-deps or by using overrides in their package.json to force compatibility [2][3].

Citations:


🏁 Script executed:

# Check if there are any newer versions of eslint-config-next that might support ESLint 10
# Also look at the actual plugin versions bundled with 16.2.6
cd /tmp
curl -s https://registry.npmjs.org/eslint-config-next/16.2.6 2>/dev/null | python3 -c "
import sys, json
try:
    data = json.load(sys.stdin)
    print('=== eslint-config-next 16.2.6 Info ===')
    print('Peer Dependencies:')
    if 'peerDependencies' in data:
        for dep, spec in data['peerDependencies'].items():
            print(f'  {dep}: {spec}')
    print('\nDependencies:')
    if 'dependencies' in data:
        for dep, spec in data['dependencies'].items():
            if 'eslint-plugin' in dep or dep == 'eslint':
                print(f'  {dep}: {spec}')
except Exception as e:
    print(f'Could not fetch from npm: {e}')
" 2>/dev/null || echo "NPM registry fetch not available in sandbox"

Repository: Sentriscloud/frontend

Length of output: 346


🌐 Web query:

eslint-config-next ESLint 10 support GitHub issue Next.js May 2026

💡 Result:

As of May 18, 2026, official support for ESLint 10 in eslint-config-next remains an active area of development and is not yet fully resolved [1][2]. While ESLint 10 has been released and is currently at version 10.3.0 [3], users attempting to use it with eslint-config-next have encountered peer dependency conflicts and runtime errors [1][4]. Specifically, the underlying plugins included in the Next.js configuration—such as eslint-plugin-react—have faced compatibility issues with ESLint 10, often manifesting as TypeError: contextOrFilename.getFilename is not a function [1][4]. Key points regarding the current status: - Development Tracking: The issue is being tracked in the Next.js repository (notably issue #89764) [1][2]. Efforts to resolve this involve both updating the Next.js configuration and waiting for upstream dependencies (like eslint-plugin-react) to officially support ESLint 10 [1][4]. - Workarounds: Some developers have attempted to use compatibility layers or manual overrides to bypass these peer dependency constraints, but these are not official solutions [2]. - Upstream Dependencies: The primary blocker is that several core ESLint plugins used by Next.js have not yet fully updated their peer dependency ranges or internal logic to accommodate the breaking changes introduced in ESLint 10 [1][4]. Users are advised to monitor the official Next.js GitHub repository for updates on this integration [1][5].

Citations:


Critical: ESLint 10 incompatible with eslint-config-next 16.2.6 across all apps.

eslint-config-next 16.2.6 bundles plugins (eslint-plugin-react ^7.37.0, eslint-plugin-import ^2.32.0, eslint-plugin-jsx-a11y ^6.10.0, eslint-plugin-react-hooks ^7.0.0) that do not support ESLint 10. While eslint-config-next's peer dependency spec technically permits ESLint 10 (>=9.0.0), the underlying plugins' peer dependency ranges exclude it, causing transitive conflicts and runtime errors (TypeError: contextOrFilename.getFilename is not a function). GitHub issue #91702 tracking ESLint 10 support in Next.js remains unresolved as of May 2026.

This affects all 8 apps (airdrop, chain-landing, coinblast, dex, faucet, landing, scan, solux) and will break linting.

Recommendation: Hold this PR until eslint-config-next releases a version compatible with ESLint 10, or pin ESLint to ^9 until the Next.js ecosystem catches up.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/airdrop/package.json` at line 36, The package.json currently upgrades
the "eslint" dependency to "^10", which is incompatible with eslint-config-next
16.2.6 and its bundled plugins; revert or pin "eslint" to a 9.x range (e.g.
"^9") in the "eslint" entry in package.json for this app (and apply the same
change to the other apps: airdrop, chain-landing, coinblast, dex, faucet,
landing, scan, solux) so linting uses ESLint 9 until eslint-config-next and its
plugins support ESLint 10; update package.json's "eslint" value and run
install/lint to verify no transitive plugin errors occur.

"eslint-config-next": "16.2.6",
"tailwindcss": "^4",
"tsx": "^4.19.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/chain-landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@types/react": "^19",
"@types/react-dom": "^19",
"@types/three": "^0.183.1",
"eslint": "^9",
"eslint": "^10",
"eslint-config-next": "16.2.6",
"playwright": "^1.59.1",
"puppeteer": "^24.43.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/coinblast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint": "^10",
"eslint-config-next": "16.2.6",
"tailwindcss": "^4",
"typescript": "^6"
Expand Down
2 changes: 1 addition & 1 deletion apps/dex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint": "^10",
"eslint-config-next": "16.2.6",
"tailwindcss": "^4",
"typescript": "^6"
Expand Down
2 changes: 1 addition & 1 deletion apps/faucet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint": "^10",
"eslint-config-next": "16.2.6",
"tailwindcss": "^4",
"typescript": "^6"
Expand Down
2 changes: 1 addition & 1 deletion apps/landing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint": "^10",
"eslint-config-next": "16.2.6",
"tailwindcss": "^4",
"typescript": "^6"
Expand Down
2 changes: 1 addition & 1 deletion apps/scan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint": "^10",
"eslint-config-next": "16.2.6",
"tailwindcss": "^4",
"typescript": "^6"
Expand Down
2 changes: 1 addition & 1 deletion apps/solux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/node": "^25",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint": "^10",
"eslint-config-next": "16.2.6",
"tailwindcss": "^4",
"typescript": "^6"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"playwright": "^1.59.1",
"turbo": "^2.3.3",
"turbo": "^2.9.14",
"typescript": "^6.0.3"
},
"pnpm": {
Expand Down
Loading
Loading