Adds a basic linter for ensuring that composer.lock files are up-to-date.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rARCf9bd6b058f8a: Add a Composer linter
We have been using this in a private project for around a month.
Diff Detail
Diff Detail
- Repository
- rARC Arcanist
- Branch
- master
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 7611 Build 8262: [Placeholder Plan] Wait for 30 Seconds Build 8261: arc lint + arc unit
Event Timeline
Comment Actions
I can write tests for this linter if you want, but it might require some modifications to ArcanistLinterTestCase because this linter effectively requires two files to exist with a specific filename.
src/lint/linter/ArcanistComposerLinter.php | ||
---|---|---|
30 | This seemed nicer than having to set a regex in .arclint. |