feat: modernize development toolchain

- 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~
This commit is contained in:
Fechin committed 2025-06-18 14:09:17 +08:00
1 parent a2a26f618c
commit 172342c8a3
78 files changed
+14986 -3626

No files matched your search

+3 -3
View File
@@ -61,7 +61,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "14"
node-version: '14'
- run: npm install -g bats
- run: bats -v
```
@@ -192,7 +192,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "14"
node-version: '14'
# step 3
- name: Install dependencies
@@ -242,7 +242,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
CUSTOM_VARIABLE: "Hello, World!" # Custom variable defined using env:
CUSTOM_VARIABLE: 'Hello, World!' # Custom variable defined using env:
steps:
- name: Check environment variable
run: echo "Value of CUSTOM_VAR is $CUSTOM_VAR"