Skip to content

Commit 028a42f

Browse files
committed
adding "yml" as a data file extension on top of "yaml" and "json"
1 parent 25c71af commit 028a42f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/PatternLab/PatternData/Rules/PatternInfoListItemsRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct($options) {
2626
parent::__construct($options);
2727

2828
$this->depthProp = 3; // 3 means that depth won't be checked
29-
$this->extProp = "json||yaml";
29+
$this->extProp = "json||yaml||yml";
3030
$this->isDirProp = false;
3131
$this->isFileProp = true;
3232
$this->searchProp = ".listitems.";

src/PatternLab/PatternData/Rules/PatternInfoRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct($options) {
2626
parent::__construct($options);
2727

2828
$this->depthProp = 3; // 3 means that depth won't be checked
29-
$this->extProp = "json||yaml";
29+
$this->extProp = "json||yaml||yml";
3030
$this->isDirProp = false;
3131
$this->isFileProp = true;
3232
$this->searchProp = "";

src/PatternLab/PatternData/Rules/PseudoPatternRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function __construct($options) {
2626
parent::__construct($options);
2727

2828
$this->depthProp = 3; // 3 means that depth won't be checked
29-
$this->extProp = "json||yaml";
29+
$this->extProp = "json||yaml||yml";
3030
$this->isDirProp = false;
3131
$this->isFileProp = true;
3232
$this->searchProp = "~";

0 commit comments

Comments
 (0)