Development Guide

Code Quality Tools

This project uses modern code quality tools to maintain consistent and clean code:

ESLint Configuration

Prettier Configuration

Available Scripts

# Run ESLint to check for issues
npm run lint

# Auto-fix ESLint issues
npm run lint:fix

# Format code with Prettier
npm run format

# Check if code is properly formatted
npm run format:check

# Run both linting and formatting (recommended)
npm run quality

Development Workflow

  1. Make your code changes
  2. Run npm run quality to lint and format code
  3. Test your changes with npm run build
  4. Commit your changes

Asset Optimization

The project has been cleaned up to remove:

Only essential assets are included:

File Structure

assets/
├── css/
│   ├── highlighter/          # Syntax highlighting themes
│   ├── main.css             # Main stylesheet
│   └── ...
├── js/
│   ├── main.js              # Main JavaScript functionality  
│   ├── infinite-jekyll.js   # Infinite scroll functionality
│   └── jekyll-search.js     # Third-party search (excluded from linting)
└── fonts/                   # Font files and CSS