Skip to content

Commit 8a7f76e

Browse files
committed
ci: add integration workflow to check if files end in a newline character
1 parent 226a07a commit 8a7f76e

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/workflows/integration.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: 🔄 Integration
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
linelint:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: fernandrone/[email protected]

.linelint.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# 'true' will fix files
2+
autofix: false
3+
4+
# list of paths to ignore, uses gitignore syntaxes (executes before any rule)
5+
ignore:
6+
- "*.md"
7+
8+
rules:
9+
# checks if file ends in a newline character
10+
end-of-file:
11+
# set to true to enable this rule
12+
enable: true
13+
14+
# set to true to disable autofix (if enabled globally)
15+
disable-autofix: false
16+
17+
# if true also checks if file ends in a single newline character
18+
single-new-line: false

0 commit comments

Comments
 (0)