From a6e9e2e40691651c46070733286e5652a6614da5 Mon Sep 17 00:00:00 2001 From: Sergey Kupletsky Date: Sun, 10 Nov 2024 21:59:00 +0100 Subject: [PATCH] chore: rename linter config schema --- schemas/{cli-config.schema.json => linter-config.schema.json} | 0 src/config/config.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename schemas/{cli-config.schema.json => linter-config.schema.json} (100%) diff --git a/schemas/cli-config.schema.json b/schemas/linter-config.schema.json similarity index 100% rename from schemas/cli-config.schema.json rename to schemas/linter-config.schema.json diff --git a/src/config/config.ts b/src/config/config.ts index ec3d241..7ba3167 100644 --- a/src/config/config.ts +++ b/src/config/config.ts @@ -19,7 +19,7 @@ async function validateConfig(config: Config): Promise { logger.debug(LOG_SOURCE.CONFIG, 'Starting config validation'); const ajv = new Ajv(); - const schema = loadSchema('cli-config'); + const schema = loadSchema('linter-config'); const validate = ajv.compile(schema); if (!validate(config)) {