feat: core: validate to lint (#226)

* feat: core: validate to lint
* fix: cleanup dependencies
* feat: validate as lint
This commit is contained in:
Andriy Leliv
2020-11-23 15:58:05 +02:00
committed by GitHub
parent 009db6f640
commit f39e729e2d
56 changed files with 302 additions and 356 deletions

View File

@@ -1,6 +1,6 @@
import * as yaml from 'js-yaml';
import { Document, Source } from '../resolve';
import { Oas3RuleSet } from '../validate';
import { Oas3RuleSet } from '../lint';
import { RuleConfig, LintConfig, Plugin } from '../config/config';
export function parseYamlToDocument(body: string, absoluteRef: string = ''): Document {