chore: rename 'lint' to 'styleguide' (#790)

Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
This commit is contained in:
Roman Sainchuk
2022-08-05 14:53:51 +03:00
committed by GitHub
parent c22bf08b1a
commit 43d0f60955
177 changed files with 935 additions and 634 deletions

View File

@@ -9,7 +9,7 @@ import { Writable } from 'stream';
import {
BundleOutputFormat,
Config,
LintConfig,
StyleguideConfig,
ResolveError,
YamlParseError,
parseYaml,
@@ -278,7 +278,7 @@ export function getOutputFileName(
return { outputFile, ext };
}
export function printUnusedWarnings(config: LintConfig) {
export function printUnusedWarnings(config: StyleguideConfig) {
const { preprocessors, rules, decorators } = config.getUnusedRules();
if (rules.length) {
process.stderr.write(