Skip to content

Commit

Permalink
feat: use latest editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
usagiga committed Feb 25, 2024
1 parent 6270d50 commit 3afaf57
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ indent_style = tab
[*.cs]
# Default

[*.{c,cpp,h,hpp}]
# To configure their rules, use clang-format
indent_style = unset
indent_size = unset

[*.{js,jsx,ts,tsx,css,scss,vue}]
# To configure their rules, use ESLint / Prettier
insert_final_newline = unset
Expand Down
2 changes: 1 addition & 1 deletion .editorconfig.d
20 changes: 20 additions & 0 deletions .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Generated by github.com/usagiga/editorconfig
# https://github.com/usagiga/editorconfig

name: "editorconfig-checker"

on:
push:
pull_request:

jobs:
check-format:
name: "Run editorconfig-checker"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: editorconfig-checker/action-editorconfig-checker@main

- name: "Run editorconfig-checker"
run: editorconfig-checker

0 comments on commit 3afaf57

Please sign in to comment.