From 6788e8dffdae11694b3fee28607f8867f6f049e9 Mon Sep 17 00:00:00 2001 From: amartin <49920382+amartingarcia@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:00:52 +0200 Subject: [PATCH] feat: Upload editorconfig (#11) * feat: Upload editorconfig --- .editorconfig | 31 ++++++++++++++++++++ charts/templates/configmap-init-scripts.yaml | 2 +- charts/templates/configmap.yaml | 2 +- charts/templates/secret.yaml | 2 +- charts/templates/service.yaml | 2 +- package.json | 26 ++++++++-------- 6 files changed, 48 insertions(+), 17 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..78064ce --- /dev/null +++ b/.editorconfig @@ -0,0 +1,31 @@ +# EditorConfig is awesome: https://EditorConfig.org +# Uses editorconfig to maintain consistent coding styles + +# top-most EditorConfig file +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +max_line_length = 80 +trim_trailing_whitespace = true + +[*.{tf,tfvars}] +indent_style = tab +indent_size = 2 +tab_width = 2 + +[*.py] +indent_style = space +indent_size = 4 + +[*.md] +max_line_length = 0 +trim_trailing_whitespace = false + +[*.{yaml,json}] +indent_style = space +indent_size = 2 diff --git a/charts/templates/configmap-init-scripts.yaml b/charts/templates/configmap-init-scripts.yaml index 2225572..0f6b743 100644 --- a/charts/templates/configmap-init-scripts.yaml +++ b/charts/templates/configmap-init-scripts.yaml @@ -20,4 +20,4 @@ data: steampipe mod install {{ $value }} {{- end }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/templates/configmap.yaml b/charts/templates/configmap.yaml index 8e50d70..e04d67d 100644 --- a/charts/templates/configmap.yaml +++ b/charts/templates/configmap.yaml @@ -12,4 +12,4 @@ data: {{- end }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/templates/secret.yaml b/charts/templates/secret.yaml index 0c79505..58381d2 100644 --- a/charts/templates/secret.yaml +++ b/charts/templates/secret.yaml @@ -13,4 +13,4 @@ data: {{- end }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/charts/templates/service.yaml b/charts/templates/service.yaml index e25f768..abdf47e 100644 --- a/charts/templates/service.yaml +++ b/charts/templates/service.yaml @@ -40,4 +40,4 @@ spec: protocol: TCP selector: {{- include "steampipe.selectorLabels" . | nindent 4 }} -{{- end }} \ No newline at end of file +{{- end }} diff --git a/package.json b/package.json index 9498aaf..3088960 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { - "name": "helm-steampipe", - "version": "1.0.0", - "release": { - "branches": [ - "main" - ], - "repositoryUrl": "https://github.com/devops-ia/helm-steampipe.git", - "plugins": [ - "@semantic-release/release-notes-generator", - "@semantic-release/github" - ] - } -} + "name": "helm-steampipe", + "version": "1.0.0", + "release": { + "branches": [ + "main" + ], + "repositoryUrl": "https://github.com/devops-ia/helm-steampipe.git", + "plugins": [ + "@semantic-release/release-notes-generator", + "@semantic-release/github" + ] + } +} \ No newline at end of file