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
45 changes: 17 additions & 28 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,49 +1,38 @@
# Pre-commit configuration for NextCommunity.github.io
# See https://pre-commit.com for more information
default_stages: [pre-commit, pre-push]
minimum_prek_version: "0.2.22"
default_language_version:
python: python3
node: 24.13.0
exclude: |
(?x)^(
\.git/|
_site/|
node_modules/|
package-lock\.json$
)

repos:
# Standard pre-commit hooks for basic file checks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: ^package-lock\.json$
- id: end-of-file-fixer
exclude: ^package-lock\.json$
- id: check-yaml
args: ["--unsafe"]
- id: check-added-large-files
args: ["--maxkb=1000"]
- id: check-json
exclude: ^package-lock\.json$
- id: check-merge-conflict
- id: check-case-conflict
- id: mixed-line-ending
args: ["--fix=lf"]

# Prettier for code formatting (JavaScript, CSS, HTML, Markdown, YAML, JSON)
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.1.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier
types_or: [javascript, css, html, markdown, yaml, json]
exclude: ^(package-lock\.json|_site/)
additional_dependencies:
- prettier@3.1.0
types_or: [css, html, javascript, json, markdown, yaml]
additional_dependencies: ["prettier@3.8.1"]

# Markdownlint for markdown files
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
rev: v0.47.0
hooks:
- id: markdownlint
args: ["--fix"]
exclude: ^node_modules/

# Exclude patterns applied to all hooks
exclude: |
(?x)(
^_site/|
^node_modules/|
^\.git/|
package-lock\.json
)
7 changes: 4 additions & 3 deletions src/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
--accent-light: #eff6ff;
--accent-rgb: 37, 99, 235;
--danger: #dc2626;
--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -1px rgba(0, 0, 0, 0.06);
--card-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dark {
Expand Down Expand Up @@ -838,7 +838,8 @@ a:hover {
left: 0;
bottom: 0;
right: 0;
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
background:
linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
linear-gradient(
90deg,
rgba(255, 0, 0, 0.06),
Expand Down