Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2025 SecPal Contributors
#
# SPDX-License-Identifier: CC0-1.0

* text=auto eol=lf

*.blade.php diff=html
Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/codeql.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/license-compatibility.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/reuse.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: 2025 SecPal Contributors
# SPDX-License-Identifier: CC0-1.0

*.log
.DS_Store
.env
Expand All @@ -22,3 +25,4 @@
Homestead.json
Homestead.yaml
Thumbs.db
build/
11 changes: 11 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: 2025 SecPal Contributors
# SPDX-License-Identifier: CC0-1.0

# markdownlint-cli2 configuration
# https://github.com/DavidAnson/markdownlint-cli2

# Ignore vendor directory and node_modules
ignores:
- vendor/**
- node_modules/**
- .git/**
3 changes: 3 additions & 0 deletions .markdownlint.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2025 SecPal Contributors

SPDX-License-Identifier: CC0-1.0
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
repos:
# REUSE compliance
- repo: https://github.com/fsfe/reuse-tool
rev: v5.0.2
rev: v6.1.2
hooks:
- id: reuse

Expand All @@ -29,26 +29,26 @@ repos:

# YAML linting
- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
rev: v1.37.1
hooks:
- id: yamllint
args: ["-c", ".yamllint.yml"]

# GitHub Actions workflow linting
- repo: https://github.com/rhysd/actionlint
rev: v1.7.4
rev: v1.7.8
hooks:
- id: actionlint

# Shell script linting
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.10.0.1
rev: v0.11.0.1
hooks:
- id: shellcheck

# Git hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-added-large-files
args: ["--maxkb=1000"]
Expand Down
10 changes: 10 additions & 0 deletions .preflight-allow-large-pr
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: 2025 SecPal Contributors
# SPDX-License-Identifier: CC0-1.0

# This file allows large PRs to bypass the 600-line size check.
# Only use this for exceptional cases like:
# - Initial repository setup
# - Major refactoring with unavoidable scope
# - Vendor library updates

# Reason: Initial API-only setup with Laravel 12, PEST, PHPStan, REUSE compliance
3 changes: 3 additions & 0 deletions .prettierrc.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2025 SecPal Contributors

SPDX-License-Identifier: CC0-1.0
30 changes: 30 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# SPDX-FileCopyrightText: 2025 SecPal
# SPDX-License-Identifier: AGPL-3.0-or-later

extends: default

rules:
# Allow longer lines (default is 80)
line-length:
max: 120
level: warning

# GitHub Actions workflows often have long keys
key-ordering: disable

# Allow multiple spaces for alignment
colons:
max-spaces-after: -1

# Allow comments to be indented differently
comments-indentation: disable

# Allow empty values in workflows
empty-values:
forbid-in-block-mappings: false
forbid-in-flow-mappings: false

# Truthy values are common in GitHub Actions
truthy:
allowed-values: ["true", "false", "on", "off"]
check-keys: false
Loading