diff --git a/.editorconfig b/.editorconfig index 063f801..ae75558 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,3 +10,7 @@ indent_size = tab [*.{yaml,yml,cff}] indent_style = space indent_size = 2 + +[*.md] +indent_style = space +indent_size = 3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 06ad101..e7f824e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,20 +5,31 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks repos: -- repo: https://github.com/pre-commit/pre-commit-hooks + - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - - id: check-case-conflict - - id: check-executables-have-shebangs - - id: check-shebang-scripts-are-executable - - id: destroyed-symlinks - - id: detect-private-key - - id: fix-byte-order-marker + - id: check-case-conflict + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable + - id: destroyed-symlinks + - id: detect-private-key + - id: end-of-file-fixer + - id: fix-byte-order-marker -- repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.21.0 - hooks: - - id: check-dependabot - - id: check-github-actions - - id: check-github-workflows - - id: check-gitlab-ci + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.21.0 + hooks: + - id: check-dependabot + - id: check-github-actions + - id: check-github-workflows + - id: check-gitlab-ci + + - repo: https://github.com/pre-commit/mirrors-prettier + rev: "v3.0.0-alpha.4" + hooks: + - id: prettier + - repo: https://github.com/editorconfig-checker/editorconfig-checker.python + rev: "2.7.1" + hooks: + - id: editorconfig-checker + alias: ec diff --git a/CITATION.cff b/CITATION.cff index 5c5a2e2..d09870f 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,13 +1,13 @@ cff-version: 1.2.0 message: "If you use this, please cite it as below." authors: -- family-names: "Suomalainen" - given-names: "Aminda" + - family-names: "Suomalainen" + given-names: "Aminda" title: "GitHub Community Health Files" url: "https://github.com/Mikaela/.github" preferred-citation: type: generic title: "GitHub Community Health Files" authors: - - family-names: "Suomalainen" - given-names: "Aminda" + - family-names: "Suomalainen" + given-names: "Aminda" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 00252a0..2fcbb04 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -14,9 +14,9 @@ from GitHub or `git remote`s to use, the merge might just take a bit longer ## General steps 1. In case [editorconfig](https://editorconfig.org/) isn't -[natively supported by your editor of choice](https://editorconfig.org/#pre-installed), -please consider [installing a plugin](https://editorconfig.org/#download). -E.g. VS Cod{e,ium} users can `CTRL-P` and execute `ext install EditorConfig.EditorConfig`. + [natively supported by your editor of choice](https://editorconfig.org/#pre-installed), + please consider [installing a plugin](https://editorconfig.org/#download). + E.g. VS Cod{e,ium} users can `CTRL-P` and execute `ext install EditorConfig.EditorConfig`. 2. If the repository in question has a `.pre-commit-config.yaml` file, -please install [`pre-commit`](https://pre-commit.com/) and run -`pre-commit install` in your local clone at least once. + please install [`pre-commit`](https://pre-commit.com/) and run + `pre-commit install` in your local clone at least once. diff --git a/FUNDING.yml b/FUNDING.yml index c658c09..d35483c 100644 --- a/FUNDING.yml +++ b/FUNDING.yml @@ -1,2 +1,6 @@ # If no protocol is specified, http:// is assumed. -custom: ["https://github.com/liberapay/liberapay.org/issues/30", "https://cv.aminda.eu"] +custom: + [ + "https://github.com/liberapay/liberapay.org/issues/30", + "https://cv.aminda.eu", + ] diff --git a/README.md b/README.md index fa4c536..091a2a9 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ GitHub community health files -* https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file#creating-a-repository-for-default-files +- https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/creating-a-default-community-health-file#creating-a-repository-for-default-files