Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrated JSHint into the CI/CD Pipeline #48

Merged
merged 15 commits into from
Oct 29, 2024
Merged

Conversation

paulinezhanghh
Copy link

Added the configuration file, and edited the package.json and test.ymal file to run the test for JSHint.

paulinezhanghh and others added 14 commits October 29, 2024 09:58
Added the configuration file, and edited the package.json and test.ymal file to run the test for JSHint.
revised the indentation and extra blank spaces
added a space for "- name"
Changed the esversion form 6 to 8.
Changed the esversion from 8 to 9
defined 2 more attributes in the configuration file to pass the test
adjusted the style in 2 js files to pass the JSHint test.
changed all the "!" to "=== false" for some of the if statements to match the style requirements for JSHint.
Renamed Option to ProgramOption as what is defined at the beginning of the file.
In the previous changes we made, the logic of one of the if statements has been falsely changed. We revised that this time.
@coveralls
Copy link

coveralls commented Oct 29, 2024

Pull Request Test Coverage Report for Build 11577937196

Details

  • 39 of 48 (81.25%) changed or added relevant lines in 24 files are covered.
  • 5 unchanged lines in 4 files lost coverage.
  • Overall coverage decreased (-0.01%) to 82.696%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/controllers/helpers.js 0 1 0.0%
src/meta/configs.js 0 1 0.0%
src/socket.io/categories.js 0 1 0.0%
src/socket.io/modules.js 0 1 0.0%
src/meta/css.js 9 14 64.29%
Files with Coverage Reduction New Missed Lines %
src/user/auth.js 1 92.06%
src/user/posts.js 1 89.29%
src/notifications.js 1 79.31%
src/meta/css.js 2 55.32%
Totals Coverage Status
Change from base Build 11506743581: -0.01%
Covered Lines: 22354
Relevant Lines: 25613

💛 - Coveralls

@LeeMEow23 LeeMEow23 added Analysis Tools enhancement New feature or request labels Oct 29, 2024
@LeeMEow23 LeeMEow23 added this to the Project 3 milestone Oct 29, 2024
@joeni21 joeni21 self-requested a review October 29, 2024 19:08
Copy link

@joeni21 joeni21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The integration looks good and it is clear that you have incorporated it into the workflow via the yaml files. The changes based on JSHint also make sense it everything looks clean. Approved.

@LeeMEow23 LeeMEow23 merged commit 0f70339 into f24 Oct 29, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Analysis Tools enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants