Skip to content

Commit 155be37

Browse files
authored
pre-commit autoupdate; run pre-commit (#258)
1 parent acbd279 commit 155be37

File tree

2 files changed

+21
-31
lines changed

2 files changed

+21
-31
lines changed

.pre-commit-config.yaml

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,38 @@
1-
# Pre-commit configuration for NextCommunity.github.io
2-
# See https://pre-commit.com for more information
1+
default_stages: [pre-commit, pre-push]
2+
minimum_prek_version: "0.2.22"
3+
default_language_version:
4+
python: python3
5+
node: 24.13.0
6+
exclude: |
7+
(?x)^(
8+
\.git/|
9+
_site/|
10+
node_modules/|
11+
package-lock\.json$
12+
)
313
414
repos:
515
# Standard pre-commit hooks for basic file checks
616
- repo: https://github.com/pre-commit/pre-commit-hooks
7-
rev: v4.5.0
17+
rev: v6.0.0
818
hooks:
919
- id: trailing-whitespace
10-
exclude: ^package-lock\.json$
1120
- id: end-of-file-fixer
12-
exclude: ^package-lock\.json$
1321
- id: check-yaml
14-
args: ["--unsafe"]
1522
- id: check-added-large-files
16-
args: ["--maxkb=1000"]
1723
- id: check-json
18-
exclude: ^package-lock\.json$
1924
- id: check-merge-conflict
2025
- id: check-case-conflict
2126
- id: mixed-line-ending
22-
args: ["--fix=lf"]
2327

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

34-
# Markdownlint for markdown files
3535
- repo: https://github.com/igorshubovych/markdownlint-cli
36-
rev: v0.39.0
36+
rev: v0.47.0
3737
hooks:
3838
- id: markdownlint
39-
args: ["--fix"]
40-
exclude: ^node_modules/
41-
42-
# Exclude patterns applied to all hooks
43-
exclude: |
44-
(?x)(
45-
^_site/|
46-
^node_modules/|
47-
^\.git/|
48-
package-lock\.json
49-
)

src/assets/css/style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
--accent-light: #eff6ff;
1313
--accent-rgb: 37, 99, 235;
1414
--danger: #dc2626;
15-
--card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
16-
0 2px 4px -1px rgba(0, 0, 0, 0.06);
15+
--card-shadow:
16+
0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
1717
}
1818

1919
.dark {
@@ -838,7 +838,8 @@ a:hover {
838838
left: 0;
839839
bottom: 0;
840840
right: 0;
841-
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
841+
background:
842+
linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
842843
linear-gradient(
843844
90deg,
844845
rgba(255, 0, 0, 0.06),

0 commit comments

Comments
 (0)