Skip to content

Extend lint-forge-tests-check-no-build to handle library artifacts #16662

@aliersh

Description

@aliersh

Currently, the lint-forge-tests-check-no-build script excludes test files under test/libraries/ due to limitations in how it processes artifacts for Solidity libraries. The script assumes contract-style ABIs and cannot reliably introspect functions in libraries, even if they follow the correct naming convention.

Most library tests have already been refactored to follow the style guide, but they remain excluded from validation for now. This issue tracks:

  • Updating the script to properly handle library artifacts
  • Enabling lint validation for test/libraries/ folder
  • Removing library tests from the exclusion list

Related PR comment: #16614 (comment)

Metadata

Metadata

Assignees

Labels

C-featureCategory: features

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions