mirror of
https://github.com/Mikaela/.github.git
synced 2024-11-22 02:49:23 +01:00
Compare commits
10 Commits
b3773bb286
...
4ee0d8933e
Author | SHA1 | Date | |
---|---|---|---|
|
4ee0d8933e | ||
905c190ddb | |||
13b60826ed | |||
35518f56e1 | |||
b859b63e17 | |||
7f3c432347 | |||
|
b584672573 | ||
5f28b39908 | |||
e48d589e94 | |||
be3bb765dc |
13
.github/dependabot.yml
vendored
13
.github/dependabot.yml
vendored
@ -1,13 +0,0 @@
|
||||
# @format
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
timezone: "Europe/Helsinki"
|
||||
groups:
|
||||
github-actions:
|
||||
patterns:
|
||||
- "*"
|
6
.github/renovate.json
vendored
Normal file
6
.github/renovate.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"github>Mikaela/.github:renovate-config"
|
||||
]
|
||||
}
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,6 +7,8 @@
|
||||
!.gitignore
|
||||
!.pre-commit-config.yaml
|
||||
!.prettierrc
|
||||
!.prettierignore
|
||||
!.nvmrc
|
||||
|
||||
# Other ignores
|
||||
node_modules
|
||||
|
@ -1,5 +1,3 @@
|
||||
# @format
|
||||
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.ci for more information
|
||||
ci:
|
||||
@ -8,23 +6,39 @@ ci:
|
||||
skip: [prettier]
|
||||
|
||||
default_language_version:
|
||||
python: pypy3
|
||||
node: "lts"
|
||||
# Remember .python-version !
|
||||
python: "3.12"
|
||||
ruby: ".ruby-version"
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.6.0
|
||||
rev: v5.0.0
|
||||
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
|
||||
args: ["--markdown-linebreak-ext", "md,markdown"]
|
||||
exclude_types: [svg, tsv]
|
||||
#- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
- id: check-case-conflict
|
||||
- id: check-executables-have-shebangs
|
||||
- id: check-json
|
||||
- id: check-merge-conflict
|
||||
- id: check-shebang-scripts-are-executable
|
||||
- id: check-toml
|
||||
- id: check-xml
|
||||
- id: destroyed-symlinks
|
||||
- id: detect-private-key
|
||||
- id: fix-byte-order-marker
|
||||
- id: check-merge-conflict
|
||||
- id: mixed-line-ending
|
||||
args: [--fix=auto]
|
||||
- id: pretty-format-json
|
||||
args:
|
||||
# Remember also: --no-sort-keys
|
||||
# ASCII excludes the älphäbet amongst others
|
||||
[--autofix, --indent, "\t", --no-ensure-ascii]
|
||||
|
||||
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
|
||||
rev: v1.6.1
|
||||
@ -32,7 +46,7 @@ repos:
|
||||
- id: check-pre-commit-ci-config
|
||||
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 0.28.5
|
||||
rev: 0.29.3
|
||||
hooks:
|
||||
- id: check-dependabot
|
||||
- id: check-github-workflows
|
||||
@ -41,11 +55,12 @@ repos:
|
||||
hooks:
|
||||
- id: prettier
|
||||
name: prettier
|
||||
entry: pnpm exec prettier --cache --ignore-unknown --write
|
||||
entry: corepack pnpx prettier --cache --ignore-unknown --write
|
||||
language: system
|
||||
|
||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||
rev: "2.7.3"
|
||||
rev: "3.0.3"
|
||||
hooks:
|
||||
- id: editorconfig-checker
|
||||
alias: ec
|
||||
args: [-disable-max-line-length]
|
||||
|
1
.prettierignore
Normal file
1
.prettierignore
Normal file
@ -0,0 +1 @@
|
||||
*.json
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"insertPragma": true,
|
||||
"proseWrap": "always",
|
||||
"singleAttributePerLine": true,
|
||||
"plugins": ["prettier-plugin-sh"],
|
||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"prettier": "3.3.2",
|
||||
"prettier-plugin-sh": "0.14.0"
|
||||
}
|
||||
"@aminda/global-prettier-config": "2024.28.4"
|
||||
},
|
||||
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
|
||||
"prettier": "@aminda/global-prettier-config"
|
||||
}
|
||||
|
5
renovate-config.json
Normal file
5
renovate-config.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"extends": [
|
||||
"github>Mikaela/shell-things:.renovate-shared"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user