Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nested extends broken in rulesets #1465

Merged
merged 2 commits into from
Jan 14, 2021
Merged

fix: nested extends broken in rulesets #1465

merged 2 commits into from
Jan 14, 2021

Conversation

P0lip
Copy link
Contributor

@P0lip P0lip commented Jan 9, 2021

Fixes #1352
Fixes #1380

I'm going to split this PR into 2 smaller ones.
I cleaned up all tests we had, so that they don't rely on OAS ruleset as well as moved a few files around.

Prior to that, I spent a bit of time improving the current ruleset API we have - at the moment it's not the most convenient for JS consumers.
The work can be found on feat/nicer-rulesets branch

Checklist

  • Tests added / updated
  • Docs added / updated

Does this PR introduce a breaking change?

  • Yes
  • No

@P0lip P0lip added the t/bug Something isn't working label Jan 9, 2021
@P0lip P0lip self-assigned this Jan 9, 2021
@P0lip P0lip force-pushed the fix/multiple-extends branch from ab1cf93 to 39b17ec Compare January 9, 2021 01:09
@P0lip P0lip force-pushed the fix/multiple-extends branch 2 times, most recently from 83aa943 to a893999 Compare January 14, 2021 03:36
@P0lip P0lip force-pushed the fix/multiple-extends branch from a893999 to 91e665d Compare January 14, 2021 03:39
@P0lip P0lip marked this pull request as ready for review January 14, 2021 03:39
@P0lip P0lip requested a review from a team January 14, 2021 03:39
domagojk
domagojk previously approved these changes Jan 14, 2021
Copy link
Contributor

@domagojk domagojk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
I left a "code style" comment, but you choose if you want to change it :)

src/rule.ts Outdated Show resolved Hide resolved
Co-authored-by: Domagoj Kriskovic <dom@stoplight.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t/bug Something isn't working
Projects
None yet
2 participants