Skip to content

Add EditorConfig checker with pre-commit#2559

Merged
lprimak merged 1 commit intoapache:mainfrom
jbampton:pre-commit-add-editorconfig-checker
Feb 10, 2026
Merged

Add EditorConfig checker with pre-commit#2559
lprimak merged 1 commit intoapache:mainfrom
jbampton:pre-commit-add-editorconfig-checker

Conversation

@jbampton
Copy link
Member

A Python wrapper for the main checker written in Go:

https://github.com/editorconfig-checker/editorconfig-checker.python?tab=readme-ov-file#usage-with-the-pre-commit-git-hooks-framework

https://github.com/editorconfig-checker/editorconfig-checker

Clean ups in HTML, RDF and XHTML

Standardization of the position of the html doctype to the top for HTML and XHTML files.

Also standardized the doctypes to one format with lowercase "html" part.

The RDF file had indentation standardized to 4 characters as detailed in the Editorconfig file.

The XHTML file seemed invalid with the XML declaration so it was removed.

A Python wrapper for the main checker written in Go:

https://github.com/editorconfig-checker/editorconfig-checker.python?tab=readme-ov-file#usage-with-the-pre-commit-git-hooks-framework

https://github.com/editorconfig-checker/editorconfig-checker

Clean ups in HTML, RDF and XHTML

Standardization of the position of the `html` doctype to the top for HTML and XHTML files.

Also standardized the doctypes to one format with lowercase "html" part.

The RDF file had indentation standardized to 4 characters as detailed in the Editorconfig file.

The XHTML file seemed invalid with the XML declaration so it was removed.
@github-actions github-actions bot added the yaml label Feb 10, 2026
@lprimak lprimak merged commit 8e50c91 into apache:main Feb 10, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants