mirror of
https://github.com/Mikaela/.github.git
synced 2025-01-10 12:12:36 +01:00
the usual .pre-commit-config.yaml and applying
This commit is contained in:
parent
1c4dc6b930
commit
6eb6ed647c
@ -10,3 +10,7 @@ indent_size = tab
|
|||||||
[*.{yaml,yml,cff}]
|
[*.{yaml,yml,cff}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 3
|
||||||
|
@ -5,20 +5,31 @@
|
|||||||
# See https://pre-commit.com for more information
|
# See https://pre-commit.com for more information
|
||||||
# See https://pre-commit.com/hooks.html for more hooks
|
# See https://pre-commit.com/hooks.html for more hooks
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.4.0
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-case-conflict
|
- id: check-case-conflict
|
||||||
- id: check-executables-have-shebangs
|
- id: check-executables-have-shebangs
|
||||||
- id: check-shebang-scripts-are-executable
|
- id: check-shebang-scripts-are-executable
|
||||||
- id: destroyed-symlinks
|
- id: destroyed-symlinks
|
||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
- id: fix-byte-order-marker
|
- id: end-of-file-fixer
|
||||||
|
- id: fix-byte-order-marker
|
||||||
|
|
||||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
rev: 0.21.0
|
rev: 0.21.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-dependabot
|
- id: check-dependabot
|
||||||
- id: check-github-actions
|
- id: check-github-actions
|
||||||
- id: check-github-workflows
|
- id: check-github-workflows
|
||||||
- id: check-gitlab-ci
|
- 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
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
cff-version: 1.2.0
|
cff-version: 1.2.0
|
||||||
message: "If you use this, please cite it as below."
|
message: "If you use this, please cite it as below."
|
||||||
authors:
|
authors:
|
||||||
- family-names: "Suomalainen"
|
- family-names: "Suomalainen"
|
||||||
given-names: "Aminda"
|
given-names: "Aminda"
|
||||||
title: "GitHub Community Health Files"
|
title: "GitHub Community Health Files"
|
||||||
url: "https://github.com/Mikaela/.github"
|
url: "https://github.com/Mikaela/.github"
|
||||||
preferred-citation:
|
preferred-citation:
|
||||||
type: generic
|
type: generic
|
||||||
title: "GitHub Community Health Files"
|
title: "GitHub Community Health Files"
|
||||||
authors:
|
authors:
|
||||||
- family-names: "Suomalainen"
|
- family-names: "Suomalainen"
|
||||||
given-names: "Aminda"
|
given-names: "Aminda"
|
||||||
|
@ -14,9 +14,9 @@ from GitHub or `git remote`s to use, the merge might just take a bit longer
|
|||||||
## General steps
|
## General steps
|
||||||
|
|
||||||
1. In case [editorconfig](https://editorconfig.org/) isn't
|
1. In case [editorconfig](https://editorconfig.org/) isn't
|
||||||
[natively supported by your editor of choice](https://editorconfig.org/#pre-installed),
|
[natively supported by your editor of choice](https://editorconfig.org/#pre-installed),
|
||||||
please consider [installing a plugin](https://editorconfig.org/#download).
|
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`.
|
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,
|
2. If the repository in question has a `.pre-commit-config.yaml` file,
|
||||||
please install [`pre-commit`](https://pre-commit.com/) and run
|
please install [`pre-commit`](https://pre-commit.com/) and run
|
||||||
`pre-commit install` in your local clone at least once.
|
`pre-commit install` in your local clone at least once.
|
||||||
|
@ -1,2 +1,6 @@
|
|||||||
# If no protocol is specified, http:// is assumed.
|
# 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",
|
||||||
|
]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
GitHub community health files
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user