Description
Ensure that npm run lint is executed in the CI/CD pipeline and that the build fails if linting errors are detected.
Deliverables
- CI/CD check lint: Add a step to run
npm run lint in the CI/CD pipeline that fails the build if linting errors are found
- (Optional/Nice to have): Add a git hook to fail commits locally if lint fails
Context
This issue was created as a follow-up action from PR #267.
Requested by: @rhamzeh
Related PR: #267
Comment: #267 (comment)
Description
Ensure that
npm run lintis executed in the CI/CD pipeline and that the build fails if linting errors are detected.Deliverables
npm run lintin the CI/CD pipeline that fails the build if linting errors are foundContext
This issue was created as a follow-up action from PR #267.
Requested by: @rhamzeh
Related PR: #267
Comment: #267 (comment)