fix(repo): generic maintenance

This commit is contained in:
Michele Cereda
2024-03-24 11:48:24 +01:00
parent 9be6d9d8f2
commit bd064eb40d
3 changed files with 38 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ insert_final_newline = false
[*.{ba,,z}sh]
indent_style = tab
indent_size = 4
tab_width = 4
[*.json]
indent_size = 4

26
.vscode/settings.json vendored
View File

@@ -1,5 +1,7 @@
{
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modificationsIfAvailable",
"json.schemas": [
{
"fileMatch": [
@@ -18,21 +20,34 @@
"url": "https://raw.githubusercontent.com/DavidAnson/markdownlint/main/schema/markdownlint-config-schema.json"
},
{
"fileMatch": [ ".pre-commit-config.yaml" ],
"fileMatch": [
".pre-commit-config.yaml"
],
"url": "https://json.schemastore.org/pre-commit-config.json"
},
{
"fileMatch": [ "package.json" ],
"fileMatch": [
"package.json"
],
"url": "https://json.schemastore.org/package.json"
},
{
"fileMatch": [ "Pulumi.yaml" ],
"fileMatch": [
"Pulumi.yaml"
],
"url": "https://json.schemastore.org/pulumi.json"
}
],
"markdown.extension.toc.levels": "2..6",
"markdown.extension.toc.orderedList": true,
"markdown.validate.enabled": true,
"[markdown]": {
"editor.rulers": [
120
],
"editor.wordWrap": "off"
},
"cSpell.language": "en,en-GB",
"cSpell.words": [
@@ -40,6 +55,8 @@
"airgap",
"airgapped",
"apiserver",
"asciicast",
"asciinema",
"autoscaler",
"autoscalers",
"awscli",
@@ -169,6 +186,7 @@
"roff",
"rootlv",
"rootvg",
"runbook",
"runcmd",
"runtimes",
"sata",
@@ -188,7 +206,7 @@
"sysrc",
"systool",
"tclsh",
"TCSH",
"tcsh",
"templating",
"tfvars",
"tmpfs",

View File

@@ -1,6 +1,7 @@
# EditorConfig is awesome: https://EditorConfig.org
# Config file specs: https://spec.editorconfig.org
# top-most EditorConfig file
# This shall be the top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
@@ -8,12 +9,13 @@ root = true
end_of_line = lf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
# Match multiple files with brace expansion notation
# Set the default charset and spelling check language
[*.{js,py}]
charset = utf-8
spelling_language = en-US
# 4 space indentation
# 4 spaces indentation
[*.py]
indent_style = space
indent_size = 4
@@ -28,6 +30,13 @@ indent_style = space
indent_size = 2
# Matches the exact files either package.json or .travis.yml
# Tab indentation (size specified)
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
indent_style = tab
tab_width = 4
# Allow the use of double spaces for line breaks
# Stop using spell checking
[*.md]
trim_trailing_whitespace = false
spelling_language = unset