Skip to content

feat(setup): setted up pre commit hooks#14

Merged
husamettinarabaci merged 2 commits into
developfrom
feat/setup-pre-commit-hook
Oct 4, 2025
Merged

feat(setup): setted up pre commit hooks#14
husamettinarabaci merged 2 commits into
developfrom
feat/setup-pre-commit-hook

Conversation

@husamettinarabaci

Copy link
Copy Markdown
Member

Added reuse prettier commitlint hook


🧩 Affected Module(s)

Mark the modules impacted by this PR:

  • Source Code
  • Documentation
  • CI / Infra

This pull request introduces several improvements focused on licensing compliance, commit quality enforcement, and Flutter project setup. The key changes include adding SPDX license headers across project files, configuring REUSE license annotations, enforcing commit message standards with Commitlint and Husky hooks, and enhancing pre-commit checks for license compliance and Flutter code quality.

Licensing and Compliance

  • Added SPDX license headers to all major project files including README.md, hexagenapp/README.md, hexagenapp/analysis_options.yaml, hexagenapp/lib/main.dart, hexagenapp/pubspec.yaml, and hexagenapp/test/widget_test.dart to ensure clear licensing information is present throughout the codebase. [1] [2] [3] [4] [5] [6]
  • Updated REUSE.toml to annotate additional files and directories for license tracking, including Husky scripts and platform-specific Flutter directories, further strengthening license compliance.

Commit Quality and Tooling

  • Added Husky v10 hooks: .husky/commit-msg now enforces commit message standards using Commitlint and a project-specific config, and .husky/pre-commit runs REUSE license linting and comprehensive Flutter checks (formatting, analysis, tests, and optional builds) before allowing commits. [1] [2]
  • Updated package.json to include Commitlint and Husky as dev dependencies, and added a prepare script for Husky setup, ensuring commit hooks are installed and run as expected.

Flutter Project Setup

  • Minor cleanup and improvements to Flutter configuration files, such as correcting quotes in pubspec.yaml and ensuring analysis options are up to date. [1] [2]

These changes collectively improve project maintainability, legal compliance, and code quality enforcement.

Added reuse prettier commitlint hook
@github-actions github-actions Bot added default:unclassified No specific category matched this PR or file path. module:docs Documentation tasks type:ci CI/CD workflows and automation tasks type:doc Documentation content type:infra Infrastructure, CI/CD, build system type:test Test writing or coverage module:source Source Code labels Oct 4, 2025
@husamettinarabaci husamettinarabaci merged commit fe5e7de into develop Oct 4, 2025
6 checks passed
@husamettinarabaci husamettinarabaci deleted the feat/setup-pre-commit-hook branch October 4, 2025 23:37
husamettinarabaci added a commit that referenced this pull request Oct 19, 2025
* feat(setup): setted up pre commit hooks (#14)

Added reuse prettier commitlint hook

* feat(setup): setted up pre commit hooks (#15)

Added reuse prettier commitlint hook 2

* feat(com): passed first communication (#17)

Communicated with usb midi device first time

* feat(pre-generating): prepaired before generating (#18)

* feat(pre-generating): prepaired before generating

All configuration prepared before generating

* feat(pre-generating): prepaired before generating

All configuration prepared before generating (extra files)

* feat(dist): prepaired ios test flight dist (#19)

Configured for ios distrubition
husamettinarabaci added a commit that referenced this pull request Oct 19, 2025
* feat(setup): setted up pre commit hooks (#14)

Added reuse prettier commitlint hook

* feat(setup): setted up pre commit hooks (#15)

Added reuse prettier commitlint hook 2

* feat(com): passed first communication (#17)

Communicated with usb midi device first time

* feat(pre-generating): prepaired before generating (#18)

* feat(pre-generating): prepaired before generating

All configuration prepared before generating

* feat(pre-generating): prepaired before generating

All configuration prepared before generating (extra files)

* feat(dist): prepaired ios test flight dist (#19)

Configured for ios distrubition

* feat(dist): prepaired ios test flight dist

Configured for ios distrubition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

default:unclassified No specific category matched this PR or file path. module:docs Documentation tasks module:source Source Code type:ci CI/CD workflows and automation tasks type:doc Documentation content type:infra Infrastructure, CI/CD, build system type:test Test writing or coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant