#92715Always handle linktypes in linkvalidator as list
Description
The TSconfig of linkvalidator contains ‘linktypes’ which is a list of link types which should be checked (e.g. ‘external’,‘db’ …).
This list of links can have 2 different formats inside internal code:
- numbered list
['external', 'db']
or
- array:
[
'external' => 1,
'db' => 1
]
Converting this makes the code hard to read and error prone.
Only the first format should be used.