From 655d327c1818acbdf125838a97b0815a1631a2b2 Mon Sep 17 00:00:00 2001 From: Edoardo Luppi Date: Sat, 6 Apr 2024 18:36:37 +0200 Subject: [PATCH] chore: specify the JSON schema in the default JSON file Closes: #127 --- src/main/resources/defaults/conventionalcommit.json | 1 + src/main/resources/defaults/conventionalcommit.schema.json | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/defaults/conventionalcommit.json b/src/main/resources/defaults/conventionalcommit.json index 5ee504c..a4151f4 100644 --- a/src/main/resources/defaults/conventionalcommit.json +++ b/src/main/resources/defaults/conventionalcommit.json @@ -1,4 +1,5 @@ { + "$schema": "https://github.com/lppedd/idea-conventional-commit/raw/master/src/main/resources/defaults/conventionalcommit.schema.json", "types": { "refactor": { "description": "Changes which neither fix a bug nor add a feature" diff --git a/src/main/resources/defaults/conventionalcommit.schema.json b/src/main/resources/defaults/conventionalcommit.schema.json index dea6af6..5757e15 100644 --- a/src/main/resources/defaults/conventionalcommit.schema.json +++ b/src/main/resources/defaults/conventionalcommit.schema.json @@ -2,7 +2,6 @@ "$schema": "http://json-schema.org/draft-04/schema#", "title": "Commit types and scopes", "type": "object", - "additionalProperties": false, "required": [ "types" ],