Skip to content

Conversation

@RembrandtK
Copy link
Contributor

No description provided.

RembrandtK and others added 6 commits January 14, 2026 16:17
Update catalog versions:
- eslint: 9.37.0 -> 9.39.2
- @typescript-eslint/*: 8.46.1 -> 8.53.0
- prettier: 3.6.2 -> 3.7.4
- mocha: 11.7.1 -> 11.7.5
- markdownlint-cli: 0.45.0 -> 0.47.0
- lint-staged: 16.2.4 -> 16.2.7
- ethers: 6.15.0 -> 6.16.0
- viem: pinned to 2.31.7 (2.37.6+ breaks WAGMI generation)

Note: solhint kept at 6.0.1 (6.0.2 has debug logging bug)
…ment

Replace overly-broad `**/*` glob patterns with targeted paths like
`packages/**/*` to avoid scanning root node_modules directory. Add
explicit prettierignore path for token-distribution package to prevent
linting auto-generated .graphclient-extracted files.

- Lint warm cache: 28s → 18s (36% faster)
- Clean sequential output with no parallel execution
- Protects .graphclient-extracted from formatting changes

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Disable markdownlint rule MD040 to permit fenced code blocks without
language identifiers. This is useful for generic code examples or
when the language is contextually obvious.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@socket-security
Copy link

socket-security bot commented Jan 23, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​typescript-eslint/​parser@​8.46.2 ⏵ 8.53.01001007198100
Updated@​typescript-eslint/​eslint-plugin@​8.46.2 ⏵ 8.53.099 +110080 +198100
Updated@​eslint/​js@​9.38.0 ⏵ 9.39.210010010094 -1100

View full report

Runs `pnpm lint:forge` in CI for Solidity files in horizon and
subgraph-service packages. Only triggers when relevant files change.
@openzeppelin-code
Copy link

openzeppelin-code bot commented Jan 23, 2026

Upgrades to tools and linting

Generated at commit: ae785614ce42cb8c688e116b988e82abd724fb53

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
3
5
0
14
37
59
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.74%. Comparing base (1aa221d) to head (ae78561).
⚠️ Report is 39 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1276      +/-   ##
==========================================
+ Coverage   84.06%   86.74%   +2.67%     
==========================================
  Files          42       46       +4     
  Lines        2071     2451     +380     
  Branches      615      730     +115     
==========================================
+ Hits         1741     2126     +385     
+ Misses        330      325       -5     
Flag Coverage Δ
unittests 86.74% <ø> (+2.67%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The glob pattern `*/.graphclient-extracted/*` only matched paths with
one directory before .graphclient-extracted. Changed to substring
matching so paths like `packages/token-distribution/.graphclient-extracted/`
are correctly ignored.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request upgrades various development tools and introduces forge linting to the project. The changes include dependency version updates, new linting scripts, test constant naming standardization, and code adjustments to satisfy linting requirements.

Changes:

  • Updated development dependencies (ESLint, TypeScript ESLint, linting tools, Prettier, etc.)
  • Added forge linting infrastructure with configuration and CI integration
  • Standardized test constants to SCREAMING_SNAKE_CASE naming convention
  • Changed imports from bare style to named imports for better linting compliance
  • Added forge-lint disable comments for legitimate linting exceptions

Reviewed changes

Copilot reviewed 137 out of 139 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pnpm-workspace.yaml Updated versions for development tools (eslint, typescript-eslint, prettier, etc.); pinned viem version
package.json (root) Updated pnpm version, added forge linting to scripts, refined glob patterns for linting
packages/*/package.json Added forge linting script to horizon and subgraph-service packages
scripts/lint-staged-run.sh Improved ignore pattern matching from glob to substring matching
.github/workflows/lint.yml Added forge linting step to CI workflow
foundry.toml Added lint configuration to ignore hardhat-specific imports
.markdownlint.json Added MD040 rule exception
.gitignore Added 'core' to ignored files
Test files (*.t.sol) Renamed constants from camelCase to SCREAMING_SNAKE_CASE; changed imports to named style
Contract files (*.sol) Added forge-lint disable comments for known exceptions
TypeScript files Minor formatting adjustments

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants