The fact that the format of the list of allowed verbs is like:
export const SET = new Set([
'abandon',
...
'write',
]);
Makes it unnecessarily hard to update, sort and maintain. It would be much easier if all the allowed verbs was in a plain textfile, with each verb separated by a single newline (\n). Just like the format of path-to-additional-verbs.
The code to parse that type of list must already be there thanks to the path-to-additional-verbs functionality.
The fact that the format of the list of allowed verbs is like:
Makes it unnecessarily hard to update, sort and maintain. It would be much easier if all the allowed verbs was in a plain textfile, with each verb separated by a single newline (
\n). Just like the format ofpath-to-additional-verbs.The code to parse that type of list must already be there thanks to the
path-to-additional-verbsfunctionality.