mirror of
https://github.com/Fechin/reference.git
synced 2026-03-26 06:52:50 +00:00
- Add comprehensive development tooling: * ESLint configuration with modern JavaScript rules * Prettier for consistent code formatting * Husky for Git hooks automation * lint-staged for pre-commit checks * Conventional Commits with commitlint * Stylelint for CSS code quality - Fix CSS issues: * Resolve duplicate selectors in layout_note.css * Merge duplicate selectors in layout_list.css * Ensure stylelint compliance - Apply consistent code formatting: * Format all JavaScript, CSS, and Markdown files * Standardize code style across the project * Fix console statement warnings in main.js - Update project documentation: * Enhance README with modern development practices * Update package.json with new scripts and dependencies This modernization establishes a robust development environment with automated code quality checks, consistent formatting~
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# <type>[optional scope]: <description>
|
|
#
|
|
# [optional body]
|
|
#
|
|
# [optional footer(s)]
|
|
#
|
|
# Commit Types:
|
|
# feat: New feature
|
|
# fix: Bug fix
|
|
# docs: Documentation update
|
|
# style: Code formatting, no logic changes
|
|
# refactor: Code refactoring, neither new feature nor bug fix
|
|
# perf: Performance optimization
|
|
# test: Add tests
|
|
# chore: Build process or auxiliary tool changes
|
|
# ci: CI/CD related changes
|
|
# build: Build system or external dependency changes
|
|
# revert: Revert commit
|
|
#
|
|
# Scope Examples:
|
|
# search, theme, css, js, content, build, deps, config, docs
|
|
# layout, widget, gulp, hexo, markdown, seo, a11y, perf
|
|
#
|
|
# Examples:
|
|
# feat(search): add fuzzy search with highlighting
|
|
# fix(css): resolve mobile layout overflow issue
|
|
# docs(readme): update installation instructions
|
|
# chore(deps): upgrade tailwindcss to v3.4.0
|
|
# perf(js): optimize search performance with debouncing
|
|
# style(css): format tailwind classes according to prettier
|
|
#
|
|
# Guidelines:
|
|
# - Use imperative mood: "add" not "added" or "adds"
|
|
# - Start with lowercase
|
|
# - No period at the end
|
|
# - Keep description concise, under 50 characters |