Skip to content

Commit 327685f

Browse files
dhellmannclaude
andcommitted
feat: enforce files end with single newline via super-linter
Add EditorConfig configuration to ensure all files end with a single newline character and trim trailing whitespace. Enable VALIDATE_EDITORCONFIG in super-linter workflow to enforce these rules in CI. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent baa8bfb commit 327685f

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.editorconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
root = true
2+
3+
[*]
4+
insert_final_newline = true
5+
trim_trailing_whitespace = true
6+
7+
[*.md]
8+
trim_trailing_whitespace = false

.github/workflows/check.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,4 @@ jobs:
123123
# https://github.com/super-linter/super-linter/blob/main/docs/run-linter-locally.md#share-environment-variables-between-environments
124124
VALIDATE_ALL_CODEBASE: false
125125
VALIDATE_MARKDOWN: true
126+
VALIDATE_EDITORCONFIG: true

0 commit comments

Comments
 (0)