From 2ad42634d719cdd7e3d32d0c5fbd7e7baeabf3f7 Mon Sep 17 00:00:00 2001 From: Krishna Acondy Date: Mon, 29 Mar 2021 09:42:44 +0100 Subject: [PATCH] chore(*): update schema --- sasjslint-schema.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/sasjslint-schema.json b/sasjslint-schema.json index fcecdc3..9af64c8 100644 --- a/sasjslint-schema.json +++ b/sasjslint-schema.json @@ -11,7 +11,8 @@ "noSpacesInFileNames": true, "lowerCaseFileNames": true, "maxLineLength": 80, - "noTabIndentation": true + "noTabIndentation": true, + "indentationMultiple": 2 }, "examples": [ { @@ -21,7 +22,8 @@ "noSpacesInFileNames": true, "lowerCaseFileNames": true, "maxLineLength": 80, - "noTabIndentation": true + "noTabIndentation": true, + "indentationMultiple": 4 } ], "properties": { @@ -80,6 +82,14 @@ "description": "Enforces no indentation using tabs. Shows a warning when a line starts with a tab.", "default": true, "examples": [true, false] + }, + "indentationMultiple": { + "$id": "#/properties/indentationMultiple", + "type": "number", + "title": "indentationMultiple", + "description": "Enforces a configurable multiple for the number of spaces for indentation. Shows a warning for lines that are not indented by a multiple of this number.", + "default": 2, + "examples": [2, 3, 4] } } }