-
-
Notifications
You must be signed in to change notification settings - Fork 218
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(cli): integrate ruleset-bundler #1824
Conversation
808b061
to
060247a
Compare
7ae93fc
to
5937582
Compare
5937582
to
2c91908
Compare
@@ -212,7 +212,9 @@ describe('Linter service', () => { | |||
|
|||
describe('when single ruleset option provided', () => { | |||
it('outputs "does not exist" error', () => { | |||
return expect(run(`lint ${validOas3SpecPath} -r non-existent-path`)).rejects.toThrow('Cannot find module'); | |||
return expect(run(`lint ${validOas3SpecPath} -r non-existent-path`)).rejects.toThrow( | |||
/^Could not resolve entry module \(packages[/\\]cli[/\\]src[/\\]services[/\\]__tests__[/\\]__fixtures__[/\\]non-existent-path\)\.$/, |
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.
this regexp is because of Windows and their slashes
import * as commonjs from '@rollup/plugin-commonjs'; | ||
import { ErrorWithCause } from 'pony-cause'; |
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.
# [@stoplight/spectral-cli-v6.1.0](https://github.com/stoplightio/spectral/compare/@stoplight/spectral-cli-v6.0.1...@stoplight/spectral-cli-v6.1.0) (2021-10-07) ### Features * **cli:** integrate ruleset-bundler ([#1824](#1824)) ([26284c7](26284c7))
🎉 This PR is included in version @stoplight/spectral-cli-v6.1.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
Related to https://github.com/stoplightio/platform-internal/issues/7847
Fixes #1821
Checklist
Does this PR introduce a breaking change?