Page MenuHomePhabricator

Add a hook method that is called before `ArcanistLinter::getLinterConfigurationOptions`
Needs ReviewPublic

Authored by joshuaspence on May 24 2019, 4:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jul 11 2026, 11:57 AM
Unknown Object (File)
Jun 26 2026, 11:00 PM
Unknown Object (File)
Jun 22 2026, 3:24 PM
Unknown Object (File)
Jun 22 2026, 3:24 PM
Unknown Object (File)
Apr 15 2026, 7:58 AM
Unknown Object (File)
Apr 8 2026, 12:32 PM
Unknown Object (File)
Mar 5 2026, 5:10 PM
Unknown Object (File)
Jan 11 2026, 2:35 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

I am writing a third-party linter which allows different configuration options depending on the value of one specific configuration option. This diff adds a ArcanistLinter::willSetLinterConfiguration hook method that is called before ArcanistLinter::getLinterConfigurationOptions to facilitate this type of functionality.

Test Plan

N/A

Diff Detail

Repository
rARC Arcanist
Branch
lint6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 22911
Build 31431: Run Core Tests
Build 31430: arc lint + arc unit

Event Timeline

src/lint/linter/ArcanistLinter.php
490

Alternative method names:

  • willSetLinterConfigurationOptions
  • willSetLinterConfigurationValues