aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.pre-commit-config.yaml
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove automatic fix option from clippy in pre-commit configurationHsiangNianian2026-01-161-1/+1
| | | | Updated the .pre-commit-config.yaml to remove the automatic fix option for the clippy hook, streamlining the linting process for Rust code by requiring manual fixes. This change enhances control over code quality checks.
* chore: update clippy arguments in pre-commit configurationHsiangNianian2026-01-161-1/+1
| | | | Modified the .pre-commit-config.yaml to change the arguments for the clippy hook, allowing it to automatically fix issues and permit changes in dirty working directories. This enhances the linting process for Rust code in the project.
* chore: ensure newline at end of pre-commit configuration fileHsiangNianian2026-01-161-1/+1
| | | | Added a newline at the end of the .pre-commit-config.yaml file to adhere to best practices for file formatting, ensuring compatibility with various tools and editors.
* chore: refine pre-commit configuration for Rust hooksHsiangNianian2026-01-161-1/+2
| | | | Updated the .pre-commit-config.yaml to specify the manifest path for Rust hooks, ensuring proper integration with the Cargo.toml file in the src-tauri directory. This change enhances the functionality of the formatting and linting processes.
* chore: update pre-commit configuration for Rust and Python hooksHsiangNianian2026-01-161-33/+9
| | | | Modified the .pre-commit-config.yaml to downgrade versions of pre-commit hooks for improved compatibility. Removed local Rust hooks and replaced them with hooks from the official Rust pre-commit repository, adding support for formatting and linting. Adjusted Python hooks to streamline the linting process.
* chore: add cargo formatting and linting hooks to pre-commit configurationHsiangNianian2026-01-161-0/+14
| | | | Enhanced the pre-commit configuration by adding hooks for Rust code formatting with `cargo fmt` and linting with `cargo clippy` for files in the `src-tauri` directory. This improves code quality checks for Rust components in the project.
* chore: add pre-commit configuration for linting and formattingHsiangNianian2026-01-161-0/+35
Introduced a new .pre-commit-config.yaml file to set up pre-commit hooks for code quality checks, including AST checks, JSON, TOML, and YAML validation, as well as Ruff for Python linting and formatting. Added custom hooks for linting and formatting Svelte/TypeScript/JavaScript files in the 'ui' directory.