Mutating extends ruleset in javascript #2791
Unanswered
ethanyu-toast
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm working on finding a way for an external team to add a ruleset on top of our existing standards for our own tooling. From what I've gathered from the docs, the only way for that to work is for the external ruleset to extend our existing one. Is there a way to mutate the extends in javascript guarantee that our ruleset is always extended and add it in if it isn't?
If not, the only other workaround I can think of is manipulating the yaml ruleset file to include that extends line. Doing it in javascript would be much cleaner though (I think). Thanks.
Beta Was this translation helpful? Give feedback.
All reactions