mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-07 04:21:11 +00:00
chore: rename 'lint' to 'styleguide' (#790)
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user