Skip to content

Commit

Permalink
feat: Upload editorconfig (#11)
Browse files Browse the repository at this point in the history
* feat: Upload editorconfig
  • Loading branch information
amartingarcia authored Aug 13, 2024
1 parent 1fb5a6a commit 6788e8d
Show file tree
Hide file tree
Showing 6 changed files with 48 additions and 17 deletions.
31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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

This comment has been minimized.

Copy link
@ialejandro

ialejandro Aug 13, 2024

Member

Use spaces if is possible instead tab. In this case:

[*.{tf,tfvars}]
indent_style = space
indent_size = 4
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
2 changes: 1 addition & 1 deletion charts/templates/configmap-init-scripts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ data:
steampipe mod install {{ $value }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ data:
{{- end }}

{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ data:
{{- end }}

{{- end }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ spec:
protocol: TCP
selector:
{{- include "steampipe.selectorLabels" . | nindent 4 }}
{{- end }}
{{- end }}
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}

0 comments on commit 6788e8d

Please sign in to comment.