We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 89f44e7 + 9ea83a4 commit e3c1b81Copy full SHA for e3c1b81
.editorconfig
@@ -0,0 +1,3 @@
1
+[*]
2
+trim_trailing_whitespace = true
3
+insert_final_newline = true
.github/workflows/check-whitespace.yml
@@ -0,0 +1,18 @@
+# Credit: https://github.com/zlib-ng/zlib-ng/blob/develop/.github/workflows/lint.yml
+name: Lint
+on: [pull_request]
4
+
5
+jobs:
6
+ lint:
7
+ name: Check trailing whitespace
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - name: Checkout repository
11
+ uses: actions/checkout@v4
12
+ with:
13
+ fetch-depth: 0
14
15
+ - name: Whitespace errors
16
+ run: |
17
+ git config core.whitespace blank-at-eol
18
+ git diff --color --check ${{ github.event.pull_request.base.sha }} -- './src' ':!./src/lib' ':!./src/webSDK'
0 commit comments