mirror of
https://github.com/Mikaela/.github.git
synced 2025-08-17 18:17:23 +02:00
Compare commits
4 Commits
fbabd7a09f
...
b584672573
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b584672573 | ||
5f28b39908 | |||
e48d589e94 | |||
be3bb765dc |
@ -8,7 +8,7 @@ charset = utf-8
|
|||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = tab
|
indent_size = tab
|
||||||
|
|
||||||
[*.{yaml,yml,cff}]
|
[*.{yaml,yml,cff,json}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,6 +7,8 @@
|
|||||||
!.gitignore
|
!.gitignore
|
||||||
!.pre-commit-config.yaml
|
!.pre-commit-config.yaml
|
||||||
!.prettierrc
|
!.prettierrc
|
||||||
|
!.prettierignore
|
||||||
|
!.nvmrc
|
||||||
|
|
||||||
# Other ignores
|
# Other ignores
|
||||||
node_modules
|
node_modules
|
||||||
|
@ -5,26 +5,26 @@
|
|||||||
ci:
|
ci:
|
||||||
# https://github.com/pre-commit-ci/issues/issues/83
|
# https://github.com/pre-commit-ci/issues/issues/83
|
||||||
autoupdate_schedule: quarterly
|
autoupdate_schedule: quarterly
|
||||||
skip: [prettier]
|
skip: [pnpm-install-dev, prettier]
|
||||||
|
|
||||||
default_language_version:
|
|
||||||
python: pypy3
|
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.6.0
|
rev: v4.6.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-added-large-files
|
|
||||||
- id: check-case-conflict
|
|
||||||
- id: check-yaml
|
|
||||||
- id: check-shebang-scripts-are-executable
|
|
||||||
- id: destroyed-symlinks
|
|
||||||
- id: detect-private-key
|
|
||||||
- id: end-of-file-fixer
|
|
||||||
- id: fix-byte-order-marker
|
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
args: ["--markdown-linebreak-ext", "md,markdown"]
|
args: ["--markdown-linebreak-ext", "md,markdown"]
|
||||||
exclude_types: [svg, tsv]
|
- id: check-yaml
|
||||||
|
- id: check-added-large-files
|
||||||
|
- id: check-case-conflict
|
||||||
|
- id: check-json
|
||||||
|
- id: check-merge-conflict
|
||||||
|
- id: destroyed-symlinks
|
||||||
|
- id: detect-private-key
|
||||||
|
- id: fix-byte-order-marker
|
||||||
|
- id: mixed-line-ending
|
||||||
|
args: [--fix=auto]
|
||||||
|
- id: pretty-format-json
|
||||||
|
args: [--autofix, --no-ensure-ascii]
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
|
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
|
||||||
rev: v1.6.1
|
rev: v1.6.1
|
||||||
@ -32,16 +32,23 @@ repos:
|
|||||||
- id: check-pre-commit-ci-config
|
- id: check-pre-commit-ci-config
|
||||||
|
|
||||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||||
rev: 0.28.5
|
rev: 0.28.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-dependabot
|
- id: check-dependabot
|
||||||
- id: check-github-workflows
|
- id: check-github-workflows
|
||||||
|
|
||||||
- repo: local
|
- repo: local
|
||||||
hooks:
|
hooks:
|
||||||
|
- id: pnpm-install-dev
|
||||||
|
name: Install pnpm dev dependencies
|
||||||
|
entry: corepack pnpm install -D
|
||||||
|
language: system
|
||||||
|
always_run: true
|
||||||
|
#verbose: true
|
||||||
|
pass_filenames: false
|
||||||
- id: prettier
|
- id: prettier
|
||||||
name: prettier
|
name: prettier
|
||||||
entry: pnpm exec prettier --cache --ignore-unknown --write
|
entry: corepack pnpm exec prettier --cache --ignore-unknown --write
|
||||||
language: system
|
language: system
|
||||||
|
|
||||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||||
|
1
.prettierignore
Normal file
1
.prettierignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.json
|
@ -2,5 +2,6 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"prettier": "3.3.2",
|
"prettier": "3.3.2",
|
||||||
"prettier-plugin-sh": "0.14.0"
|
"prettier-plugin-sh": "0.14.0"
|
||||||
}
|
},
|
||||||
|
"packageManager": "pnpm@9.4.0+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a"
|
||||||
}
|
}
|
||||||
|
5
renovate-config.json
Normal file
5
renovate-config.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"extends": [
|
||||||
|
"github>Mikaela/shell-things:.renovate-shared"
|
||||||
|
]
|
||||||
|
}
|
6
renovate.json
Normal file
6
renovate.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
|
"extends": [
|
||||||
|
"github>Mikaela/.github:renovate-config"
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user