Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15560208
D15299.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.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
Wed, Apr 30, 1:26 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7687201
Default Alt Text
D15299.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