Skip to content

Commit

Permalink
INIT
Browse files Browse the repository at this point in the history
  • Loading branch information
kayman-mk committed May 8, 2024
1 parent e8734f1 commit 18dc3c7
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 2 deletions.
53 changes: 53 additions & 0 deletions .config/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"version": "0.2",
"language": "en",
"words": [
"cpus",
"Hapag",
"Infracost",
"javadoc",
"javadocs",
"oidc",
"Repology",
"sonatype",
"tflint",
"tfsec"
],
"ignoreWords": [
"Buildx",
"DOCKERHUB",
"amannn",
"aquasecurity",
"automerge",
"automerged",
"buildcache",
"buildx",
"codeowners",
"codeql",
"conventionalcommits",
"datasource",
"dorny",
"hadolint",
"hlag",
"hmarr",
"ibiqlik",
"kayman",
"ludeeus",
"markdownlint",
"mktemp",
"nullglob",
"ossrh",
"pascalfrenz",
"releaserc",
"rhysd",
"ruleset",
"sarif",
"shellcheck",
"shuf",
"shunsuke",
"signoff",
"temurin",
"tfstate",
"vuln"
]
}
12 changes: 12 additions & 0 deletions .config/markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
# Default state for all rules
default: true

# MD013/line-length - Line length
MD013:
# Number of characters
line_length: 132
# Number of characters for headings
heading_line_length: 132
# Number of characters for code blocks
code_block_line_length: 132
8 changes: 8 additions & 0 deletions .config/yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
extends: default

rules:
line-length:
max: 132
comments:
min-spaces-from-content: 1 # Renovate uses 1 space only
2 changes: 1 addition & 1 deletion .github/workflows/default_stale_callable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: "Close stale issues and PRs"
on:
# USE_WORKFLOW
workflow_call:
# USE_WORKFLOW
# /USE_WORKFLOW
# USE_REPOSITORY
# schedule:
# - cron: "25 2 * * *"
Expand Down
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: fix-byte-order-marker
- id: check-added-large-files
args:
- "--maxkb=20"
- id: check-case-conflict
- id: check-yaml
- id: check-json
- id: end-of-file-fixer
- id: trailing-whitespace
- id: mixed-line-ending
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.0
hooks:
- id: prettier
2 changes: 1 addition & 1 deletion setup-workflows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function check_and_set_parameters() {
set -- "${POSITIONAL_ARGS[@]}" # restore positional parameters

# check for 3 mandatory positional arguments
if [ "${#POSITIONAL_ARGS[@]}" -ne 4 ]; then
if [ "${#POSITIONAL_ARGS[@]}" -ne 2 ]; then
echo "Usage: $0 <path-to-new-repo> <repository-type>"
exit 1
fi
Expand Down

0 comments on commit 18dc3c7

Please sign in to comment.