mirror of
https://github.com/uklans/cache-domains
synced 2025-08-02 14:21:22 +02:00
This change adds [LeftHook](https://lefthook.dev/) as a GitHub hook management tool alongside [MegaLinter](https://megalinter.io/) to lint all relevant files within the repository. For users that don't end up installing LeftHook for pre-commit hooks, megalinter picks up the necessary formatting changes and reports them. * feat: add lefthook, megalinter and update editorconfig * fix: lint commit ordering * refactor: adjust megalinter reporters * refactor: adjust description for cache domains * refactor: single - for passing options * refactor: add repo-specific fmt in megalinter pre-commands too
14 lines
181 B
INI
14 lines
181 B
INI
root = true
|
|
|
|
[*]
|
|
indent_style = space
|
|
indent_size = 2
|
|
trim_trailing_whitespace = true
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
|
|
[*.md]
|
|
indent_size = 0
|
|
|
|
[*.sh]
|
|
indent_style = tab |