Compare commits

...

3 Commits

8 changed files with 36 additions and 48 deletions

View File

@ -8,7 +8,7 @@ charset = utf-8
indent_style = tab indent_style = tab
indent_size = tab indent_size = tab
[*.{yaml,yml,cff,json}] [*.{yaml,yml,cff}]
indent_style = space indent_style = space
indent_size = 2 indent_size = 2

View File

@ -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
View File

@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>Mikaela/.github:renovate-config"
]
}

View File

@ -1,11 +1,15 @@
# @format
# See https://pre-commit.com for more information # See https://pre-commit.com for more information
# See https://pre-commit.ci for more information # See https://pre-commit.ci for more information
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: [pnpm-install-dev, prettier] skip: [prettier]
default_language_version:
node: "lts"
# Remember .python-version !
python: "3.12"
ruby: ".ruby-version"
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
@ -13,18 +17,28 @@ repos:
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
args: ["--markdown-linebreak-ext", "md,markdown"] args: ["--markdown-linebreak-ext", "md,markdown"]
exclude_types: [svg, tsv]
#- id: end-of-file-fixer
- id: check-yaml - id: check-yaml
- id: check-added-large-files - id: check-added-large-files
- id: check-case-conflict - id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json - id: check-json
- id: check-merge-conflict - id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-toml
- id: check-xml
- id: destroyed-symlinks - id: destroyed-symlinks
- id: detect-private-key - id: detect-private-key
- id: fix-byte-order-marker - id: fix-byte-order-marker
- id: check-merge-conflict
- id: mixed-line-ending - id: mixed-line-ending
args: [--fix=auto] args: [--fix=auto]
- id: pretty-format-json - id: pretty-format-json
args: [--autofix, --no-ensure-ascii] 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 - repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.6.1 rev: v1.6.1
@ -32,23 +46,16 @@ 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.29.0 rev: 0.29.1
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: corepack pnpm exec prettier --cache --ignore-unknown --write entry: corepack pnpx 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
@ -56,3 +63,4 @@ repos:
hooks: hooks:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
args: [-disable-max-line-length]

View File

@ -1,7 +0,0 @@
{
"insertPragma": true,
"proseWrap": "always",
"singleAttributePerLine": true,
"plugins": ["prettier-plugin-sh"],
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
}

View File

@ -1,7 +1,7 @@
{ {
"devDependencies": { "devDependencies": {
"prettier": "3.3.3", "@aminda/global-prettier-config": "2024.28.4"
"prettier-plugin-sh": "0.14.0"
}, },
"packageManager": "pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903" "packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
"prettier": "@aminda/global-prettier-config"
} }

View File

@ -1,6 +0,0 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>Mikaela/.github:renovate-config"
]
}