mirror of
https://github.com/sasjs/lint.git
synced 2026-01-16 00:30:05 +00:00
chore(*): update schema
This commit is contained in:
@@ -11,7 +11,8 @@
|
|||||||
"noSpacesInFileNames": true,
|
"noSpacesInFileNames": true,
|
||||||
"lowerCaseFileNames": true,
|
"lowerCaseFileNames": true,
|
||||||
"maxLineLength": 80,
|
"maxLineLength": 80,
|
||||||
"noTabIndentation": true
|
"noTabIndentation": true,
|
||||||
|
"indentationMultiple": 2
|
||||||
},
|
},
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
@@ -21,7 +22,8 @@
|
|||||||
"noSpacesInFileNames": true,
|
"noSpacesInFileNames": true,
|
||||||
"lowerCaseFileNames": true,
|
"lowerCaseFileNames": true,
|
||||||
"maxLineLength": 80,
|
"maxLineLength": 80,
|
||||||
"noTabIndentation": true
|
"noTabIndentation": true,
|
||||||
|
"indentationMultiple": 4
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
@@ -80,6 +82,14 @@
|
|||||||
"description": "Enforces no indentation using tabs. Shows a warning when a line starts with a tab.",
|
"description": "Enforces no indentation using tabs. Shows a warning when a line starts with a tab.",
|
||||||
"default": true,
|
"default": true,
|
||||||
"examples": [true, false]
|
"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]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user