mirror of
https://github.com/Mikaela/.github.git
synced 2025-01-10 04:02:34 +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}]
|
||||
indent_style = space
|
||||
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/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
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
@ -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",
|
||||
]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user