Skip to content

Prevent oas-linter from loading own ruleset #129

@pderaaij

Description

@pderaaij

Checklist

  • Linting issue

I am having an attempt at letting speccy making use of oas-linter in stead of the copied in-app linter. The split in loading and applying rules is awesome, but currently it always has the supplied ruleset of oas-linter loaded.

This is due the fact it is explicitly in the file, see: https://github.com/Mermade/oas-kit/blob/master/packages/oas-linter/index.js#L241

I am not sure if speccy shouldn't be using the default ruleset, but in general it would be nice to either prevent loading of the ruleset provided by oas-linter or just clear the present rules and applying new ones later.

Curious to your thoughts on this @MikeRalphson.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions