mirror of
https://github.com/Mikaela/.github.git
synced 2024-11-28 22:19:28 +01:00
Compare commits
1 Commits
4ee0d8933e
...
b3773bb286
Author | SHA1 | Date | |
---|---|---|---|
|
b3773bb286 |
13
.github/dependabot.yml
vendored
Normal file
13
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
# @format
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
timezone: "Europe/Helsinki"
|
||||
groups:
|
||||
github-actions:
|
||||
patterns:
|
||||
- "*"
|
6
.github/renovate.json
vendored
6
.github/renovate.json
vendored
@ -1,6 +0,0 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"github>Mikaela/.github:renovate-config"
|
||||
]
|
||||
}
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -7,8 +7,6 @@
|
||||
!.gitignore
|
||||
!.pre-commit-config.yaml
|
||||
!.prettierrc
|
||||
!.prettierignore
|
||||
!.nvmrc
|
||||
|
||||
# Other ignores
|
||||
node_modules
|
||||
|
@ -1,3 +1,5 @@
|
||||
# @format
|
||||
|
||||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.ci for more information
|
||||
ci:
|
||||
@ -6,39 +8,23 @@ ci:
|
||||
skip: [prettier]
|
||||
|
||||
default_language_version:
|
||||
node: "lts"
|
||||
# Remember .python-version !
|
||||
python: "3.12"
|
||||
ruby: ".ruby-version"
|
||||
python: pypy3
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
rev: v4.6.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
|
||||
@ -46,7 +32,7 @@ repos:
|
||||
- id: check-pre-commit-ci-config
|
||||
|
||||
- repo: https://github.com/python-jsonschema/check-jsonschema
|
||||
rev: 0.29.3
|
||||
rev: 0.28.6
|
||||
hooks:
|
||||
- id: check-dependabot
|
||||
- id: check-github-workflows
|
||||
@ -55,12 +41,11 @@ repos:
|
||||
hooks:
|
||||
- id: prettier
|
||||
name: prettier
|
||||
entry: corepack pnpx prettier --cache --ignore-unknown --write
|
||||
entry: pnpm exec prettier --cache --ignore-unknown --write
|
||||
language: system
|
||||
|
||||
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
|
||||
rev: "3.0.3"
|
||||
rev: "2.7.3"
|
||||
hooks:
|
||||
- id: editorconfig-checker
|
||||
alias: ec
|
||||
args: [-disable-max-line-length]
|
||||
|
@ -1 +0,0 @@
|
||||
*.json
|
7
.prettierrc
Normal file
7
.prettierrc
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"insertPragma": true,
|
||||
"proseWrap": "always",
|
||||
"singleAttributePerLine": true,
|
||||
"plugins": ["prettier-plugin-sh"],
|
||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
||||
}
|
@ -1,7 +1,6 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"@aminda/global-prettier-config": "2024.28.4"
|
||||
},
|
||||
"packageManager": "pnpm@9.6.0+sha512.38dc6fba8dba35b39340b9700112c2fe1e12f10b17134715a4aa98ccf7bb035e76fd981cf0bb384dfa98f8d6af5481c2bef2f4266a24bfa20c34eb7147ce0b5e",
|
||||
"prettier": "@aminda/global-prettier-config"
|
||||
"prettier": "3.3.2",
|
||||
"prettier-plugin-sh": "0.14.0"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"extends": [
|
||||
"github>Mikaela/shell-things:.renovate-shared"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user