Skip to content

fix: lint src contracts in npm hint script - #1756

Open
reflecttypefor wants to merge 1 commit into
Layr-Labs:mainfrom
reflecttypefor:fix-lint-src
Open

fix: lint src contracts in npm hint script#1756
reflecttypefor wants to merge 1 commit into
Layr-Labs:mainfrom
reflecttypefor:fix-lint-src

Conversation

@reflecttypefor

Copy link
Copy Markdown

Motivation:

npm run hint currently targets contracts/**/*.sol, but Solidity contracts live under src/contracts. This causes the local lint script to skip the main contracts directory.

Modifications:

  • Updated the solhint glob from contracts/**/*.sol to src/contracts/**/*.sol.

Result:

npm run hint now checks the contract sources documented in CONTRIBUTING.md.

Signed-off-by: reflecttypefor <reflecttypefor@outlook.com>
@reflecttypefor
reflecttypefor requested a review from a team June 17, 2026 15:47
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.

1 participant