c-3lab / StarSeeker

FIWAREのデータを様々な形式で表示・管理が行えるプラットフォーム
GNU Affero General Public License v3.0
2 stars 5 forks source link

The pre-commit hook is not active #46

Open i-kaneko-abel opened 8 months ago

i-kaneko-abel commented 8 months ago

Although there are configurations for lint-staged and husky in package.json, suggesting the presence of pre-commit, simply launching the project does not enable pre-commit for the StarSeeker project's frontend (and possibly backend).

Verification Steps:

  1. git clone https://github.com/c-3lab/StarSeeker
  2. cd StarSeeker/StarSeeker/frontend
  3. npm install
  4. Attempt a test commit

Due to the above issue, as of the current state (2024/2/1) in the main branch, manually executing the linter and formatter results in multiple warnings and fixes.

It is likely that setting up the prepare field in package.json or creating a pre-commit file is necessary. Refer to Project Not in Git Root Directory.