Skip to content

Commit 8d01c5a

Browse files
Update refers_to rule regex
Signed-off-by: Thomas Sedlmayer <[email protected]>
1 parent 42c2c2e commit 8d01c5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ is_less_than: '^[ ]\b(is_less_than)\b: ([\s\d]+)$'
55
is_equal_to: '^[ ]\b(is_equal_to)\b: ([\s\d]+)$'
66
is_different_to: '^[ ]\b(is_different_to)\b: ([\s\d]+)$'
77
is_globally_unique: '^[ ]\b(is_globally_unique)\b'
8-
refers_to: '^[ ]\b(refers_to)\b'
8+
refers_to: '^[ ]\b(refers_to)\b: (?:[^,\[\]\s]+|\[\s*(?:[^,\[\]\s]+\s*,\s*)*[^,\[\]\s]+\s*\])$'
99
is_iso_country_code: '^[ ]\b(is_iso_country_code)\b'
1010
first_element: '^[ ]\b(first_element)\b'
1111
last_element: '^[ ]\b(last_element)\b'

0 commit comments

Comments
 (0)