Skip to content

Commit

Permalink
chore: editorconfig check
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jul 8, 2024
1 parent 6eb13fa commit 10c0ea0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ecrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Debug": false,
"IgnoreDefaults": false,
"NoColor": false,
"Exclude": ["LICENSES", "\\.asc$"],
"Exclude": ["LICENSES", "\\.asc$", "\\.reuse/dep5"],
"SpacesAfterTabs": false,
"Disable": {
"EndOfLine": false,
Expand Down
5 changes: 1 addition & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ insert_final_newline = true
charset = utf-8
end_of_line = lf

[{.gitmodules,**/git/**/config}]
[{.gitmodules,**/git/**/config,**/git/**/config.d/*,**/git/**/sample/*}]
indent_style = tab
indent_size = 8

[*.{md,sh,yaml,yml,toml}]
indent_size = 2

[.reuse/dep5]
indent_size = 1
4 changes: 3 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
SPEC_PACKAGER: Ben Grande <ben.grande.b@gmail.com>
- uses: editorconfig-checker/action-editorconfig-checker@main
- name: Run Editorconfig Checker
run: editorconfig-checker
run: |
editorconfig-checker
editorconfig-checker salt/dotfiles
- name: Lint commits
run: |
if test "${{ github.event_name}}" = "pull_request"
Expand Down

0 comments on commit 10c0ea0

Please sign in to comment.