Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(style): Add EditorConfig and relevant GH Action #91

Merged
merged 11 commits into from
Jan 25, 2022
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
15 changes: 15 additions & 0 deletions .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: EditorConfig Check

on:
push:
branches:
- master
pull_request:

jobs:
check:
runs-on: ubuntu-latest
name: EditorConfig Check
steps:
- uses: actions/checkout@v2
- uses: editorconfig-checker/action-editorconfig-checker@v1