* chore(pre-commit): add pre-commit hook to enforce code style - Added husky for managing Git hooks and lint-staged for pre-commit checks. - Updated prettier version to 3.5.3. - Configured lint-staged to format and lint JavaScript and JSON files before commits. * chore(workflows): add lint check to CI * fix: version not correct * chore(workflow): bump GitHub Actions dependencies to latest versions - @actions/setup-node: v3 -> v4 - @actions/cache: v3 -> v4 - @actions/upload-artifact: v3 -> v4 --------- Co-authored-by: 亢奋猫 <kangfenmao@qq.com>
2 lines
17 B
Plaintext
2 lines
17 B
Plaintext
yarn lint-staged
|