Skip to content

Commit

Permalink
chore: prettier json (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
parametalol authored Feb 14, 2024
1 parent 5f63659 commit 748501d
Show file tree
Hide file tree
Showing 19 changed files with 9,905 additions and 10,425 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[**/*.json]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
resources/mixins/kubernetes/generated/** linguist-generated=true
resources/grafana/generated/** linguist-generated=true
resources/grafana/mixins/** linguist-generated=true
resources/prometheus/kubernetes-mixin-alerts.yaml linguist-generated=true
resources/prometheus/kubernetes-mixin-rules.yaml linguist-generated=true
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ repos:
- id: check-json
files: resources/index.json
- id: end-of-file-fixer
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
hooks:
- id: prettier
types_or: [json]
- repo: local
hooks:
- id: make-generate
Expand Down
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resources/mixins/kubernetes/generated/**
resources/grafana/generated/**
resources/grafana/mixins/**
resources/prometheus/kubernetes-mixin-alerts.yaml
resources/prometheus/kubernetes-mixin-rules.yaml
81 changes: 17 additions & 64 deletions resources/grafana/generated/dashboards/rhacs-central-configmap.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 17 additions & 64 deletions resources/grafana/generated/dashboards/rhacs-central-dashboard.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 748501d

Please sign in to comment.