Compare commits

..

1 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
b3773bb286
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/python-jsonschema/check-jsonschema: 0.28.5 → 0.28.6](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.5...0.28.6)
2024-07-01 21:54:52 +00:00
9 changed files with 38 additions and 49 deletions

13
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,13 @@
# @format
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
timezone: "Europe/Helsinki"
groups:
github-actions:
patterns:
- "*"

View File

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

2
.gitignore vendored
View File

@ -7,8 +7,6 @@
!.gitignore !.gitignore
!.pre-commit-config.yaml !.pre-commit-config.yaml
!.prettierrc !.prettierrc
!.prettierignore
!.nvmrc
# Other ignores # Other ignores
node_modules node_modules

1
.nvmrc
View File

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

View File

@ -1,3 +1,5 @@
# @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:
@ -6,39 +8,23 @@ ci:
skip: [prettier] skip: [prettier]
default_language_version: default_language_version:
node: "lts" python: pypy3
# 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: v5.0.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] 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
@ -46,7 +32,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.29.3 rev: 0.28.6
hooks: hooks:
- id: check-dependabot - id: check-dependabot
- id: check-github-workflows - id: check-github-workflows
@ -55,12 +41,11 @@ repos:
hooks: hooks:
- id: prettier - id: prettier
name: prettier name: prettier
entry: corepack pnpx prettier --cache --ignore-unknown --write entry: 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
rev: "3.0.3" rev: "2.7.3"
hooks: hooks:
- id: editorconfig-checker - id: editorconfig-checker
alias: ec alias: ec
args: [-disable-max-line-length]

View File

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

7
.prettierrc Normal file
View File

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

View File

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

View File

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