Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13980056
D15299.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
559 B
Referenced Files
None
Subscribers
None
D15299.id.diff
View Options
diff --git a/src/lint/linter/ArcanistLinter.php b/src/lint/linter/ArcanistLinter.php
--- a/src/lint/linter/ArcanistLinter.php
+++ b/src/lint/linter/ArcanistLinter.php
@@ -574,6 +574,13 @@
case 'standard':
$standards = (array)$value;
+ if ($standards) {
+ $this->setCustomSeverityRules(
+ array(
+ '(.*)' => ArcanistLintSeverity::SEVERITY_DISABLED,
+ ));
+ }
+
foreach ($standards as $standard) {
$standard = ArcanistLinterStandard::getStandard($value, $this);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 20, 8:10 AM (4 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6719494
Default Alt Text
D15299.id.diff (559 B)
Attached To
Mode
D15299: Disable linter rules by default if a linter standard is defined
Attached
Detach File
Event Timeline
Log In to Comment