-
Notifications
You must be signed in to change notification settings - Fork 148
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
feat: rules refactoring / add separate arazzo rule-set #1800
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: d8a4000 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Coverage report
Show new covered files 🐣
Show files with reduced coverage 🔻
Test suite run success816 tests passing in 122 suites. Report generated by 🧪jest coverage report action from d8a4000 |
a281061
to
c118997
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sure lintignore works with fallback from spec to struct
@RomanHotsiy , are you talking about Tested with Please let me know if you have other test cases in mind. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few comments.
packages/core/src/config/__tests__/__snapshots__/config-resolvers.test.ts.snap
Outdated
Show resolved
Hide resolved
@@ -2,11 +2,12 @@ import recommended from './recommended'; | |||
import recommendedStrict from './recommended-strict'; | |||
import all from './all'; | |||
import minimal from './minimal'; | |||
import specArazzo from './spec-arazzo'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was under impression that we are not going to introduce a new ruleset. What is the case for a separate one for Arazzo? As far as I understand, other rulesets already contain that rules.
cc @RomanHotsiy @adamaltman
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clarified -- this is for having a ruleset that covers only what is in the Arazzo specification.
I have another idea. What if we introduce a general spec
ruleset that follows all supported specifications, not only Arazzo? The tool is smart enough to apply only the related rules depending on the flavor.
@RomanHotsiy, @adamaltman what do you think?
348e049
to
1b583f0
Compare
2165565
to
53bac7d
Compare
53bac7d
to
b36f2b5
Compare
What/Why/How?
type:none
sourceDescriptions Arazzo extension.TODO:
Reference
https://github.com/Redocly/redocly/issues/11343
Testing
chore(all): dummy pr to test new cli and core #12281
Screenshots (optional)
Check yourself
Security