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
29 changes: 29 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
default_install_hook_types:
- pre-commit
- commit-msg

repos:
- repo: local
hooks:
- id: astro
name: Astro check
entry: pnpm astro check
language: system
pass_filenames: false
files: \.(ts|astro)$
stages: [pre-commit]

- id: prettier
name: Prettier
entry: pnpm exec prettier --check src
language: system
pass_filenames: false
files: \.(ts|tsx|js|jsx|json|css|md)$
stages: [pre-commit]

- repo: https://github.com/compilerla/conventional-pre-commit
rev: v4.3.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
args: [--verbose]
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# 2026.es.pycon.org
Pagina web para Pycon ES 2026

Website for the most important Python [event](https://2026.es.pycon.org/) in Spain in the year 2026.

## Requirements

- Node.js v22.0.0 (see `.nvmrc`)
- pnpm
- [pre-commit](https://pre-commit.com/)

## Installation

```bash
pnpm install
pre-commit install
```

## Development
Expand All @@ -25,7 +33,3 @@ pnpm build
pnpm preview
```

## Requirements

- Node.js v22.0.0 (see `.nvmrc`)
- pnpm
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"tailwindcss": "^4.1.18"
},
"devDependencies": {
"@astrojs/check": "^0.9.6",
"prettier": "^3.7.4",
"prettier-plugin-astro": "^0.14.1",
"typescript": "^5.9.3"
Expand Down
Loading