Compare commits

..

10 Commits

9 changed files with 49 additions and 38 deletions

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"
]
}

2
.gitignore vendored
View File

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

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
lts/*

View File

@ -1,5 +1,3 @@
# @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:
@ -8,23 +6,39 @@ ci:
skip: [prettier] skip: [prettier]
default_language_version: default_language_version:
python: pypy3 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
rev: v4.6.0 rev: v5.0.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] 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 - repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.6.1 rev: v1.6.1
@ -32,7 +46,7 @@ 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.6 rev: 0.29.3
hooks: hooks:
- id: check-dependabot - id: check-dependabot
- id: check-github-workflows - id: check-github-workflows
@ -41,11 +55,12 @@ repos:
hooks: hooks:
- id: prettier - id: prettier
name: prettier name: prettier
entry: 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
rev: "2.7.3" rev: "3.0.3"
hooks: hooks:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
args: [-disable-max-line-length]

1
.prettierignore Normal file
View File

@ -0,0 +1 @@
*.json

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,6 +1,7 @@
{ {
"devDependencies": { "devDependencies": {
"prettier": "3.3.2", "@aminda/global-prettier-config": "2024.28.4"
"prettier-plugin-sh": "0.14.0" },
} "packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
"prettier": "@aminda/global-prettier-config"
} }

5
renovate-config.json Normal file
View File

@ -0,0 +1,5 @@
{
"extends": [
"github>Mikaela/shell-things:.renovate-shared"
]
}