You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that setRuleset does not work with "extends" inside an object so its very limited with JSON objects which are not completely aggregated into a single object already.
Secondly, rulesets are generally written in YAML (I think just about every example is in YAML) and converting from YAML to JSON seems unnecessary and could be problematic.
It would be helpful is setRuleset could take an yaml file from memory rather than some fetcher for a file. In my case I don't have a file itself, I have a buffer of a file imported from an HTTP request. It seems like what I have to do it write this to a temporary file to then just read it in again, can't I just pass the data directly?
The text was updated successfully, but these errors were encountered:
It seems that
setRuleset
does not work with "extends" inside an object so its very limited with JSON objects which are not completely aggregated into a single object already.Secondly, rulesets are generally written in YAML (I think just about every example is in YAML) and converting from YAML to JSON seems unnecessary and could be problematic.
It would be helpful is setRuleset could take an yaml file from memory rather than some fetcher for a file. In my case I don't have a file itself, I have a buffer of a file imported from an HTTP request. It seems like what I have to do it write this to a temporary file to then just read it in again, can't I just pass the data directly?
The text was updated successfully, but these errors were encountered: