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

Installing & Running StandardJS static analysis tool #101

Closed
wants to merge 32 commits into from

Conversation

mhli1260
Copy link

Screenshots of the terminal output from installing StandardJS:
Screen Shot 2024-10-23 at 8 23 12 PM

Screenshots of the terminal output from running StandardJS:
Screen Shot 2024-10-23 at 8 24 40 PM

github-classroom bot and others added 30 commits September 9, 2024 13:40
Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed. 
A helper function was added to reduce the cognitive complexity of the suggested function
fixed minor spacing grammar and syntax errors
fixed Trailing spaces
Creating two default tags 'Homework' and 'Assignment' as default tags for users in src/start.js file
fixing trailing spaces and incorrect indentation
This change approaches the aim of setting two default tags in a different way:
- Assign, using client functions provided by NodeBB, two tags 'Homework' and 'Assignment' for the default post 'Welcome to your NodeBB!'
- Needs help and further development on the function getTopicIdByTitle(title) -- logics need to be fixed based on the database structure
fixing trailing spaces, incorrect indentation and definition errors
* Added refactored code and fixed errors for lint.

---------

Co-authored-by: jullia andrei <[email protected]>
updated src/topics/create.js and notifications.json to handle course faculty notifications.
Add "Homework" and "Assignment" categories to the tags
Refactoring code in src/groups/update.js
Refactored code in public/src/admin/manage/digest.js
Refactored code in src/socket.io/admin/rooms.js
refactor Flags.validate in src/flags.js
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11490310328

Details

  • 40 of 44 (90.91%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 82.712%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/socket.io/admin/rooms.js 15 19 78.95%
Totals Coverage Status
Change from base Build 10688272652: 0.05%
Covered Lines: 22340
Relevant Lines: 25593

💛 - Coveralls

@mhli1260 mhli1260 closed this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants