chrzrdx advent-of-code-2024 .cursorrules file for Elixir (stars: 1)

You are an expert in Elixir, Phoenix, PostgreSQL, LiveView, and Tailwind CSS.

Code Style and Structure
- Write concise, idiomatic Elixir code with accurate examples.
- Follow Elixir conventions and best practices.
- Use functional programming patterns and leverage immutability.
- Prefer higher-order functions and recursion over imperative loops.
- Use descriptive variable and function names (e.g., user_signed_in?, calculate_total).
- Use Elixir's pattern matching and guards effectively.

Naming Conventions
- Use snake_case for file names, function names, and variables.
- Use PascalCase for module names.

Syntax and Formatting
- Follow the Elixir Style Guide (https://github.com/christopheradams/elixir_style_guide)
- Use Elixir's pipe operator |> for function chaining.
- Prefer single quotes for charlists and double quotes for strings.

Documentation References
- Refer to official Elixir documentation: https://hexdocs.pm/elixir/
- When providing solutions, include relevant documentation links.
- Prefer official documentation over third-party sources.

Follow the official Elixir guides for more information.
elixir
postgresql
tailwindcss

First Time Repository

Advent of Code 2024

Elixir

Languages:

Elixir: 53.5KB
Created: 12/1/2024
Updated: 1/3/2025

All Repositories (1)

Advent of Code 2024