Skip to content

No Mongo : GitHUb Action to Check Unused Dependencies #3938

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

Conversation

shivasankaran18
Copy link
Contributor

@shivasankaran18 shivasankaran18 commented Apr 18, 2025

What kind of change does this PR introduce?

  1. Removed Unused Dependencies and Added Missing Dependencies
  2. Added the Depcheck check to husky(pre-commit) and the GitHub Action

Issue Number: 3932

Fixes #3932

Snapshots/Videos:
image

If relevant, did you update the documentation?

Summary

Does this PR introduce a breaking change?
NO

Checklist

CodeRabbit AI Review

  • I have reviewed and addressed all critical issues flagged by CodeRabbit AI
  • I have implemented or provided justification for each non-critical suggestion
  • I have documented my reasoning in the PR comments where CodeRabbit AI suggestions were not implemented

Test Coverage

  • I have written tests for all new changes/features
  • I have verified that test coverage meets or exceeds 95%
  • I have run the test suite locally and all tests pass

Other information

Have you read the contributing guide?

Summary by CodeRabbit

  • Chores
    • Introduced automated checks for unused and missing dependencies in pull requests.
    • Updated pre-commit hook to verify dependencies before committing changes.
    • Added configuration to customize which files and packages are ignored during dependency checks.

Copy link
Contributor

coderabbitai bot commented Apr 18, 2025

"""

Walkthrough

This change introduces a new configuration file .depcheckrc.json to specify directories and packages to be ignored during dependency checks. It modifies the GitHub Actions workflow to add a Check-Dependencies job that installs dependencies and runs a script to detect unused or missing dependencies. The pre-commit hook is updated to run the same dependency check before allowing commits. These updates automate the process of identifying unused or missing dependencies in the project and integrate this validation into both the CI pipeline and local development workflow.

Changes

File(s) Change Summary
.depcheckrc.json Added configuration file specifying directories and packages to ignore in dependency checks.
.github/workflows/pull-request.yml Added a Check-Dependencies job to the workflow; switched to npm ci for installs; updated caching logic.
.husky/pre-commit Added npm run check-dependencies command to pre-commit hook to enforce dependency checks locally.

Sequence Diagram(s)

sequenceDiagram
    participant Developer
    participant Husky Pre-commit
    participant GitHub Actions
    participant Dependency Checker

    Developer->>Husky Pre-commit: git commit
    Husky Pre-commit->>Dependency Checker: npm run check-dependencies
    Dependency Checker-->>Husky Pre-commit: Report unused/missing dependencies
    Husky Pre-commit-->>Developer: Allow or block commit

    Developer->>GitHub Actions: Push/PR
    GitHub Actions->>Check-Dependencies Job: Run workflow
    Check-Dependencies Job->>Dependency Checker: npm run check-dependencies
    Dependency Checker-->>Check-Dependencies Job: Report unused/missing dependencies
    Check-Dependencies Job-->>GitHub Actions: Pass or fail job
Loading

Assessment against linked issues

Objective Addressed Explanation
Add GitHub Action to detect unused dependencies and fail if found (#3932)
Add check to Husky pre-commit hook (#3932)
Use method to identify unused/missing dependencies in root package.json (#3932)
Remove unused dependencies and add missing ones (#3932) Detection added, but no changes shown for removing or adding dependencies in package.json.
All tests must be valid and pass (#3932) No test results or test-related changes included in this PR.

Suggested labels

ignore-sensitive-files-pr

Suggested reviewers

  • palisadoes
    """

📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0166584 and f7170ee.

📒 Files selected for processing (1)
  • .husky/pre-commit (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: Check Dependencies
  • GitHub Check: Check Python Code Style
  • GitHub Check: Test Application
  • GitHub Check: Analyse Code With CodeQL (javascript)
🔇 Additional comments (2)
.husky/pre-commit (2)

7-7: Good implementation of dependency checking in the pre-commit hook.

Adding the dependency check to the pre-commit hook is an excellent way to ensure that unused or missing dependencies are caught early in the development process. This integration aligns perfectly with the PR objective of using Depcheck to maintain a clean dependency list.


7-7: Consider potential performance impact on the commit process.

While adding dependency checking to the pre-commit hook is valuable, it's worth considering the performance implications. If the check-dependencies script takes a significant amount of time to run, it could slow down the commit process for developers. Consider measuring the average execution time and, if necessary, explore options to optimize the check or make it configurable (e.g., adding a way to skip it for certain types of changes).


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Our Pull Request Approval Process

Thanks for contributing!

Testing Your Code

Remember, your PRs won't be reviewed until these criteria are met:

  1. We don't merge PRs with poor code quality.
    1. Follow coding best practices such that CodeRabbit.ai approves your PR.
  2. We don't merge PRs with failed tests.
    1. When tests fail, click on the Details link to learn more.
    2. Write sufficient tests for your changes (CodeCov Patch Test). Your testing level must be better than the target threshold of the repository
    3. Tests may fail if you edit sensitive files. Ask to add the ignore-sensitive-files-pr label if the edits are necessary.
  3. We cannot merge PRs with conflicting files. These must be fixed.

Our policies make our code better.

Reviewers

Do not assign reviewers. Our Queue Monitors will review your PR and assign them.
When your PR has been assigned reviewers contact them to get your code reviewed and approved via:

  1. comments in this PR or
  2. our slack channel

Reviewing Your Code

Your reviewer(s) will have the following roles:

  1. arbitrators of future discussions with other contributors about the validity of your changes
  2. point of contact for evaluating the validity of your work
  3. person who verifies matching issues by others that should be closed.
  4. person who gives general guidance in fixing your tests

CONTRIBUTING.md

Read our CONTRIBUTING.md file. Most importantly:

  1. PRs with issues not assigned to you will be closed by the reviewer
  2. Fix the first comment in the PR so that each issue listed automatically closes

Other

  1. 🎯 Please be considerate of our volunteers' time. Contacting the person who assigned the reviewers is not advised unless they ask for your input. Do not @ the person who did the assignment otherwise.
  2. Read the CONTRIBUTING.md file make

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between dbd152c and 3b58579.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • .depcheckrc.json (1 hunks)
  • .github/workflows/pull-request.yml (1 hunks)
  • .husky/pre-commit (1 hunks)
  • package.json (5 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/pull-request.yml

[error] 547-547: trailing spaces

(trailing-spaces)


[error] 569-569: too many blank lines

(4 > 0) (empty-lines)

⏰ Context from checks skipped due to timeout of 90000ms (2)
  • GitHub Check: Test Application
  • GitHub Check: Analyse Code With CodeQL (javascript)
🔇 Additional comments (4)
.husky/pre-commit (1)

7-7: Good addition to enforce dependency checking

The addition of the dependency check to the pre-commit hook ensures that unused and missing dependencies are identified before code is committed, which aligns with the PR objective of integrating Depcheck into the development workflow.

.depcheckrc.json (1)

1-20: Well-structured configuration for Depcheck

The .depcheckrc.json configuration properly identifies directories and packages that should be excluded from dependency checking. This prevents false positives and ensures that the dependency check focuses on actual issues.

The ignored entries appropriately include:

  1. Project-specific directories that use dynamic imports
  2. Testing-related type packages
  3. Documentation-related tools

This configuration is essential for the Depcheck tool to work correctly with this project's structure.

package.json (2)

94-95: Added dependency checking script

The addition of the check-dependencies script is excellent. It enables running the dependency check both manually and as part of the CI/CD pipeline. This script supports the integration of Depcheck into the workflow as specified in the PR objectives.


129-129: Added necessary dev dependencies

Adding @types/mocha and markdown-toc as devDependencies makes sense, as they support testing and documentation tasks. These additions align with the overall goal of properly managing dependencies in the project.

Also applies to: 153-153

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3b58579 and 61164b0.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • .depcheckrc.json (1 hunks)
  • package.json (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Check Python Code Style
  • GitHub Check: Test Application
  • GitHub Check: Analyse Code With CodeQL (javascript)
🔇 Additional comments (4)
.depcheckrc.json (1)

15-29: Review and maintain ignored modules
The entries here will be permanently skipped by Depcheck. Please verify that each package—especially testing utilities like babel-jest, coverage instruments, and GraphQL loaders—should indeed be ignored and remember to update this list when those dependencies change.

package.json (3)

146-146: Ensure ESLint version aligns with peer dependencies
ESLint has been downgraded to ^8.57.1—please confirm this matches [email protected]’s peer requirements. If you plan to upgrade to ESLint v9 later, remember to update this config or switch to a compatible React app config version.


148-148: DevDependency placement of ESLint config is correct
Good job adding eslint-config-react-app under devDependencies, ensuring it’s only installed in development environments.


160-160: Add markdown-toc for TOC updates
Including markdown-toc supports the update:toc script—ensure that scripts/githooks/update-toc.js invokes this package as expected.

Copy link

codecov bot commented Apr 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.06%. Comparing base (b3fee52) to head (f7170ee).
Report is 6 commits behind head on develop-postgres.

Additional details and impacted files
@@                Coverage Diff                @@
##           develop-postgres    #3938   +/-   ##
=================================================
  Coverage             87.06%   87.06%           
=================================================
  Files                   362      362           
  Lines                  9315     9315           
  Branches               1980     1980           
=================================================
  Hits                   8110     8110           
  Misses                  833      833           
  Partials                372      372           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shivasankaran18
Copy link
Contributor Author

@coderabbitai full review

Copy link
Contributor

coderabbitai bot commented Apr 18, 2025

✅ Actions performed

Full review triggered.

coderabbitai[bot]
coderabbitai bot previously approved these changes Apr 18, 2025
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (1)
.github/workflows/pull-request.yml (1)

546-546: 🧹 Nitpick (assertive)

Fix whitespace issues.

There are trailing spaces at the end of line 546 that should be removed according to the static analysis tool.

-          python .github/workflows/scripts/check_docstrings.py --directories .github     
+          python .github/workflows/scripts/check_docstrings.py --directories .github
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 546-546: trailing spaces

(trailing-spaces)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 61164b0 and 1ea11f2.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • .depcheckrc.json (1 hunks)
  • .github/workflows/pull-request.yml (1 hunks)
  • .husky/pre-commit (1 hunks)
  • package.json (3 hunks)
🧰 Additional context used
🧠 Learnings (1)
.depcheckrc.json (1)
Learnt from: shivasankaran18
PR: PalisadoesFoundation/talawa-admin#3938
File: .depcheckrc.json:2-14
Timestamp: 2025-04-18T04:31:18.455Z
Learning: For Depcheck configuration in Talawa-admin, both directories and package names should be listed under the "ignores" property, not separated into different properties as suggested by some documentation.
🪛 YAMLlint (1.35.1)
.github/workflows/pull-request.yml

[error] 546-546: trailing spaces

(trailing-spaces)


[error] 564-564: no new line character at the end of file

(new-line-at-end-of-file)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: Test Application
🔇 Additional comments (6)
.depcheckrc.json (1)

1-30: Configuration looks good for proper dependency checking.

The .depcheckrc.json file correctly configures Depcheck to ignore both directories and packages that should be excluded from dependency analysis. This aligns with the project requirements where both directories and package names are listed under the "ignores" property.

The ignored directories (GraphQl, screens, components, etc.) represent project-specific folders, while the ignored packages (identity-obj-proxy, babel plugins, testing utilities) are likely packages that are used indirectly or are required for specific dev/test scenarios but might not be detected by static analysis.

.husky/pre-commit (1)

7-7: Great integration of dependency checking into the pre-commit workflow.

Adding the dependency check to the pre-commit hook ensures that developers can't commit changes that would introduce unused or missing dependencies. This complements the CI pipeline check you've added in GitHub Actions.

package.json (3)

92-93: Good addition of dependency checking script.

Adding the check-dependencies script provides a convenient way to run Depcheck manually and integrates well with both the pre-commit hook and CI workflow.


149-149: Good addition of necessary dependencies.

Adding eslint-config-react-app and markdown-toc fills gaps in the dependency tree. The former provides standard ESLint configurations for React applications, while the latter supports the table of contents generation mentioned in the update:toc script in the pre-commit hook.

Also applies to: 161-161


147-147:

✅ Verification successful

Verify compatibility with downgraded ESLint version.

You've downgraded ESLint from a higher version to ^8.57.1. While this might be necessary for compatibility with other packages like eslint-config-react-app, it's important to ensure this doesn't reintroduce any linting issues that were fixed in newer versions.


🏁 Script executed:

#!/bin/bash
# Check if the project has any ESLint configuration that might be incompatible with the downgraded version

# Check for ESLint configuration files
echo "Checking ESLint configuration files:"
find . -name '.eslintrc*' -o -name 'eslint.config.js'

# Check for ESLint plugins that might require a specific ESLint version
echo "Checking package.json for ESLint plugins:"
grep -E "@eslint|eslint-" package.json

# Check if eslint-config-react-app specifies a peer dependency for eslint
echo "Checking eslint-config-react-app peer dependencies:"
npm info [email protected] peerDependencies

Length of output: 920


🏁 Script executed:

#!/bin/bash
echo "Checking peerDependencies for ESLint plugins:"
for pkg in "@eslint/[email protected]" "@graphql-eslint/[email protected]" "@typescript-eslint/[email protected]"; do
  echo "Package: $pkg"
  npm info "$pkg" peerDependencies
  echo
done

Length of output: 1135


✅ ESLint version compatibility verified

All peer dependencies align with the downgraded version. No further changes needed.

.github/workflows/pull-request.yml (1)

547-564: Excellent addition of dependency checking to the CI pipeline.

Adding the Check-Dependencies job to the GitHub Actions workflow ensures that dependency verification is part of the continuous integration process. This will prevent issues related to missing or unused dependencies from making it into the codebase.

The job is well-structured:

  • It runs after code quality checks
  • It uses the same Node.js version as other jobs
  • It clearly reports unused and missing dependencies
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 564-564: no new line character at the end of file

(new-line-at-end-of-file)

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (2)
.github/workflows/pull-request.yml (2)

546-546: Remove trailing whitespace.

This line has extraneous spaces at the end, which is causing YAML lint errors. Please strip the trailing whitespace.

-          python .github/workflows/scripts/check_docstrings.py --directories .github     
+          python .github/workflows/scripts/check_docstrings.py --directories .github
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 546-546: trailing spaces

(trailing-spaces)


565-565: Ensure newline at end of file and remove extra blank‐line whitespace.

YAML lint flags a missing newline at EOF and trailing spaces on this blank line. Please make sure there’s exactly one newline at the end and no trailing whitespace.

-      - name: Check for Unused and Missing Dependencies
-        run: npm run check-dependencies
        
+      - name: Check for Unused and Missing Dependencies
+        run: npm run check-dependencies
+
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 565-565: no new line character at the end of file

(new-line-at-end-of-file)


[error] 565-565: trailing spaces

(trailing-spaces)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 1ea11f2 and 7f61060.

📒 Files selected for processing (1)
  • .github/workflows/pull-request.yml (1 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/pull-request.yml

[error] 546-546: trailing spaces

(trailing-spaces)


[error] 565-565: no new line character at the end of file

(new-line-at-end-of-file)


[error] 565-565: trailing spaces

(trailing-spaces)

🔇 Additional comments (1)
.github/workflows/pull-request.yml (1)

547-564:

✅ Verification successful

Validate check-dependencies script and config before CI runs.

To avoid silent failures, confirm that:

  1. check-dependencies is defined under "scripts" in your package.json.
  2. .depcheckrc.json exists at the repo root with the correct ignore settings.

🏁 Script executed:

#!/bin/bash
# Verify npm script exists
grep -R '"check-dependencies":' package.json || { echo "❌ 'check-dependencies' script not found"; exit 1; }
# Verify depcheck config
if [[ -f .depcheckrc.json ]]; then
  echo "✅ .depcheckrc.json found"
else
  echo "❌ .depcheckrc.json missing"; exit 1; fi

Length of output: 174


Check Dependencies script and config confirmed present

Both the check-dependencies npm script ("check-dependencies": "npx depcheck") in package.json and the .depcheckrc.json file at the repo root have been verified to exist. No further action required.

@shivasankaran18
Copy link
Contributor Author

@coderabbitai full review

Copy link
Contributor

coderabbitai bot commented Apr 18, 2025

✅ Actions performed

Full review triggered.

@shivasankaran18
Copy link
Contributor Author

@palisadoes could you review the PR ?

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between dbd152c and 0ed0bc1.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (4)
  • .depcheckrc.json (1 hunks)
  • .github/workflows/pull-request.yml (1 hunks)
  • .husky/pre-commit (1 hunks)
  • package.json (3 hunks)
🧰 Additional context used
🧠 Learnings (1)
.depcheckrc.json (1)
Learnt from: shivasankaran18
PR: PalisadoesFoundation/talawa-admin#3938
File: .depcheckrc.json:2-14
Timestamp: 2025-04-18T04:31:18.455Z
Learning: For Depcheck configuration in Talawa-admin, both directories and package names should be listed under the "ignores" property, not separated into different properties as suggested by some documentation.
🪛 GitHub Actions: PR Workflow
.husky/pre-commit

[error] 1-1: File is unauthorized to change/delete. To override this, apply the 'ignore-sensitive-files-pr' label.

package.json

[error] 1-1: File is unauthorized to change/delete. To override this, apply the 'ignore-sensitive-files-pr' label.

.github/workflows/pull-request.yml

[error] 1-1: File is unauthorized to change/delete. To override this, apply the 'ignore-sensitive-files-pr' label.

🪛 YAMLlint (1.35.1)
.github/workflows/pull-request.yml

[error] 546-546: trailing spaces

(trailing-spaces)

🔇 Additional comments (6)
.husky/pre-commit (1)

7-7: Successfully integrated dependency checking into the pre-commit workflow.

Adding the dependency check script before staging files will help catch unused or missing dependencies early in the development process, preventing these issues from being committed.

However, note that this file is listed in the pipeline failure as unauthorized to change without the 'ignore-sensitive-files-pr' label. You'll need to apply this label to the PR for the changes to be accepted.

package.json (3)

92-93: Good addition of the dependency check script.

The new check-dependencies script that runs npx depcheck aligns perfectly with the PR objective to integrate dependency checking into the project workflow.

Note that this file is listed in the pipeline failure as unauthorized to change without the 'ignore-sensitive-files-pr' label. You'll need to apply this label to the PR for these changes to be accepted.


161-161: Added markdown-toc as a dev dependency.

Adding markdown-toc as a dev dependency is consistent with the PR objective to add missing dependencies.


147-150:

✅ Verification successful

Ensure ESLint downgrade is intentional.

You've downgraded ESLint from ^9.22.0 to ^8.57.1 and added eslint-config-react-app. This might be to address compatibility issues, as the React App ESLint config may not be compatible with ESLint 9.x.

Please verify this downgrade is intentional and doesn't negatively impact the project's linting capabilities:


🌐 Web query:

Is eslint-config-react-app compatible with ESLint 9.x?

💡 Result:

Compatibility of eslint-config-react-app with ESLint 9.x

Short answer:
As of now, eslint-config-react-app is not confirmed to be compatible with ESLint 9.x and may encounter compatibility issues due to breaking changes introduced in ESLint 9.x—especially the switch to the new "flat config" system and API changes[3][8][9].


Details

  • eslint-config-react-app is the ESLint configuration package used by Create React App. Its last published version dates back to April 2022[2], which is before the release of ESLint 9.x (April 2024)[8].

  • Major changes in ESLint 9.x:

    • The new "flat config" format (eslint.config.js) is now required; .eslintrc.* formats are deprecated and no longer discovered by default[3][7][8].
    • Many plugins and shareable configs from the ESLint 8.x era need updates to support the new configuration API and internal changes[8][9].
  • Known issues:

    • Plugins and configs not updated for ESLint 9.x may throw errors related to unavailable methods or API changes[9].
    • The official ESLint team has released a [@eslint/compat] utility to help bridge plugins/configs that have not been updated yet[6][9].
  • eslint-config-react-app status:

    • There is no official statement or recent update indicating that eslint-config-react-app fully supports ESLint 9.x[2].
    • Community discussions and migration guides highlight that most plugins must be updated for full compatibility; not all work out-of-the-box[1][9][10].

What should you do?

  • If you rely on eslint-config-react-app:

    • Expect migration friction—out-of-the-box compatibility with ESLint 9.x cannot be guaranteed at this time.
    • You may experience issues, especially with the new config format and updated rule APIs.
  • Workarounds:

    • Consider using the [@eslint/compat] package to wrap legacy plugins/configs and potentially achieve temporary compatibility[6][9].
    • Migrate your config to the new flat config syntax (eslint.config.js), but be prepared to replace eslint-config-react-app with more up-to-date configs such as eslint-plugin-react's recommended config[1][4].
    • Alternatively, stick with ESLint 8.x until eslint-config-react-app or Create React App officially updates their packages for ESLint 9.x.

Recommendation

For new projects or active upgrades, prefer using ESLint 9.x with configs and plugins that officially declare ESLint 9.x support, such as eslint-plugin-react and the flat config system[4][5]. If your workflow depends on eslint-config-react-app, continue using ESLint 8.x until an official update or compatibility patch is released.

Citations:


Confirm ESLint downgrade to v8 is intentional due to eslint-config-react-app compatibility

File: package.json Lines 147–150

-  "eslint": "^9.22.0",
+  "eslint": "^8.57.1",
   "eslint-config-prettier": "^10.0.2",
   "eslint-config-react-app": "^7.0.1",
   "eslint-plugin-import": "^2.31.0",

eslint-config-react-app v7.x hasn’t been updated for ESLint 9.x’s new flat‑config format and API changes, so pinning ESLint to 8.x is required to avoid errors. If you intend to move to ESLint 9.x in the future, you’ll need to either:

  • Migrate to the new flat‑config system and swap out eslint-config-react-app for a 9.x‑compatible config (e.g., eslint-plugin-react’s recommended shareable config), or
  • Use the [@eslint/compat] utility to bridge legacy configs until an official upgrade is released.
.depcheckrc.json (1)

2-29: Appropriate configuration for depcheck ignores.

The configuration correctly lists both directories and package names under the "ignores" property as expected for this project. This follows the project-specific convention confirmed in the retrieved learnings.

The ignored directories cover application-specific folders that don't directly use npm packages, while the ignored packages are likely used indirectly or in ways that depcheck might not detect (like type definitions, testing packages, and build tools).

.github/workflows/pull-request.yml (1)

547-569: Well-structured dependency checking job added to CI pipeline.

The new Check-Dependencies job is well-configured to:

  1. Run after the code quality checks have passed
  2. Use Node.js 22.x
  3. Implement caching for better performance
  4. Use npm ci for reproducible installations
  5. Run the dependency check script

This ensures that dependency issues are caught during CI, not just local development.

Note that this file is listed in the pipeline failure as unauthorized to change without the 'ignore-sensitive-files-pr' label. You'll need to apply this label to the PR for these changes to be accepted.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (1)
.github/workflows/pull-request.yml (1)

546-547: ⚠️ Potential issue

Remove trailing whitespace and add newline at EOF.

YAMLlint reports trailing spaces on line 546, and POSIX recommends ending files with a single newline.

Apply this patch to clean up:

-          python .github/workflows/scripts/check_docstrings.py --directories .github   
+          python .github/workflows/scripts/check_docstrings.py --directories .github

Then ensure there is exactly one newline after the final line of the file.

🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 546-546: trailing spaces

(trailing-spaces)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0ed0bc1 and cc57a44.

📒 Files selected for processing (1)
  • .github/workflows/pull-request.yml (1 hunks)
🧰 Additional context used
🪛 YAMLlint (1.35.1)
.github/workflows/pull-request.yml

[error] 546-546: trailing spaces

(trailing-spaces)

⏰ Context from checks skipped due to timeout of 90000ms (4)
  • GitHub Check: Check Dependencies
  • GitHub Check: Test Application
  • GitHub Check: Check Python Code Style
  • GitHub Check: Analyse Code With CodeQL (javascript)

coderabbitai[bot]
coderabbitai bot previously approved these changes Apr 18, 2025
@shivasankaran18 shivasankaran18 changed the title Added depcheck checks No Mongo : GitHUb Action to Check Unused Dependencies Apr 21, 2025
@shivasankaran18
Copy link
Contributor Author

@palisadoes sir could you review the PR ?

Copy link
Contributor

@palisadoes palisadoes left a comment

Choose a reason for hiding this comment

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

There are missing dependencies, why does your test pass?

@shivasankaran18
Copy link
Contributor Author

which missing dependecnies sir? I have added checks that looks for missing dependencies too? Could not get u sir @palisadoes

@palisadoes
Copy link
Contributor

  1. I ran the command and there are missing and unused dependencies.
  2. The command exits with a 255 code, not zero.

If these conditions are true, why does your check pass?

image

Copy link
Contributor

@palisadoes palisadoes left a comment

Choose a reason for hiding this comment

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

  1. I ran the command and there are missing and unused dependencies.
  2. The command exits with a 255 code, not zero.

If these conditions are true, why does your check pass?

image

@shivasankaran18
Copy link
Contributor Author

@coderabbitai full review

Copy link
Contributor

coderabbitai bot commented Apr 22, 2025

✅ Actions performed

Full review triggered.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b3fee52 and e0fde10.

⛔ Files ignored due to path filters (297)
  • docs/docs/auto-docs/Actions/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/App/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/DeleteUser/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/DeleteUser/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/GroupChatDetails/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/LoginPortalToggle/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OrgActionItemCategories/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OrgContriCards/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OrgContribution/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OrgPeopleListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OtherSettings/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OtherSettings/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/README-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/interfaces/InterfacePledgeModal-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/interfaces/InterfacePledgeModal.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/variables/default-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Register/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Requests/README-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Requests/functions/default-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Requests/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/UserProfile/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/UserProfile/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/UserUpdate/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/UserUpdate/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Volunteers/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AddPeopleToTag/AddPeopleToTag/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AddPeopleToTag/AddPeopleToTag/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/Advertisements/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementRegister/AdvertisementRegister/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementRegister/AdvertisementRegisterMocks/variables/createAdFailMock.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementRegister/AdvertisementRegisterMocks/variables/createAdvertisement.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementRegister/AdvertisementRegisterMocks/variables/updateAdFailMock.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaCategory/AgendaCategoryContainer/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaCategory/AgendaCategoryContainerMocks/variables/props.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaCategory/AgendaCategoryContainerMocks/variables/props2.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/AgendaItemsContainer/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/AgendaItemsMocks/variables/props.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/AgendaItemsMocks/variables/props2.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Create/AgendaItemsCreateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Create/AgendaItemsCreateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Delete/AgendaItemsDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Delete/AgendaItemsDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Preview/AgendaItemsPreviewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Preview/AgendaItemsPreviewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Update/AgendaItemsUpdateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Update/AgendaItemsUpdateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/ContriStats/ContriStats/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/DynamicDropDown/DynamicDropDown/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Header/EventHeader/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Monthly/EventCalender/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Monthly/EventCalender/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Yearly/YearlyEventCalender/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Yearly/YearlyEventCalender/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/EventListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Delete/EventListCardDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Delete/EventListCardDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/EventListCardModals/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Preview/EventListCardPreviewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Preview/EventListCardPreviewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Update/EventListCardUpdateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Update/EventListCardUpdateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAgendaItems/EventAgendaItems/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/Attendance/EventAttendance/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/AttendanceList/AttendedEventList/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/AttendanceList/AttendedEventList/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/Statistics/EventStatistics/functions/AttendanceStatisticsModal.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/Statistics/EventStatistics/variables/AttendanceStatisticsModal.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventRegistrant/EventRegistrants/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventRegistrantsModal/Modal/AddOnSpot/AddOnSpotAttendee/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventRegistrantsModal/Modal/AddOnSpot/AddOnSpotAttendee/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/EventsAttendedByMember/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/Modal/CustomCell/customTableCell/functions/CustomTableCell.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/Modal/CustomCell/customTableCell/variables/CustomTableCell.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/Modal/EventsAttendedMemberModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/Modal/EventsAttendedMemberModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberRequestCard/MemberRequestCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/NotFound/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgAdminListCard/OrgAdminListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgDelete/OrgDelete/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgListCard/OrgListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgListCard/TruncatedText/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgListCard/TruncatedText/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgListCard/useDebounce/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgPostCard/DeleteModal/DeletePostModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgPostCard/DeleteModal/DeletePostModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgPostCard/OrgPostCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/ActionItemCategories/Modal/CategoryModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/ActionItemCategories/Modal/CategoryModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Create/AgendaCategoryCreateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Create/AgendaCategoryCreateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Delete/AgendaCategoryDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Delete/AgendaCategoryDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/OrganizationAgendaCategory/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/OrganizationAgendaCategory/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Preview/AgendaCategoryPreviewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Preview/AgendaCategoryPreviewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Update/AgendaCategoryUpdateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Update/AgendaCategoryUpdateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/General/DeleteOrg/DeleteOrg/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/General/GeneralSettings/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/General/OrgUpdate/OrgUpdate/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrganizationCardStart/OrganizationCardStart/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrganizationDashCards/DashboardCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Pagination/Navigator/Pagination/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/RecurrenceOptions/Modal/CustomRecurrenceModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/RecurrenceOptions/Modal/CustomRecurrenceModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/RecurrenceOptions/RecurrenceOptions/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/RecurrenceOptions/RecurrenceOptions/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/Node/TagNode/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/Node/TagNode/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/TagActions/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/TagActions/interfaces/InterfaceTagActionsProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/TagActions/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UpdateSession/UpdateSession/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UpdateSession/UpdateSession/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/ChatRoom/ChatRoom/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/CommentCard/CommentCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/ContactCard/ContactCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/CreateDirectChat/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/CreateDirectChat/functions/handleCreateDirectChat.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/CreateGroupChat/CreateGroupChat/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/DonationCard/DonationCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/EventCard/EventCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/OrganizationCard/OrganizationCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/OrganizationNavbar/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/OrganizationSidebar/OrganizationSidebar/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/PeopleCard/PeopleCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/PostCard/PostCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/PromotedPost/PromotedPost/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserNavbar/UserNavbar/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserProfile/EventsAttendedByUser/functions/EventsAttendedByUser.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserProfile/EventsAttendedByUser/variables/EventsAttendedByUser.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserProfile/UserAddressFields/functions/UserAddressFields.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserProfile/UserAddressFields/variables/UserAddressFields.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Venues/VenueCardMocks/variables/MOCK_HANDLE_DELETE.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Venues/VenueCardMocks/variables/MOCK_HANDLE_EDIT.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerContainer/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/VolunteerGroups/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/deleteModal/VolunteerGroupDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/deleteModal/VolunteerGroupDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/modal/VolunteerGroupModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/viewModal/VolunteerGroupViewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/viewModal/VolunteerGroupViewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/createModal/VolunteerCreateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/createModal/VolunteerCreateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/deleteModal/VolunteerDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/deleteModal/VolunteerDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/viewModal/VolunteerViewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/viewModal/VolunteerViewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/FundCampaignPledge/deleteModal/PledgeDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/FundCampaignPledge/deleteModal/PledgeDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/Leaderboard/Leaderboard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTag/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTagMockComponents/MockAddPeopleToTag/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTagMockComponents/MockAddPeopleToTag/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTagMockComponents/MockTagActions/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTagMockComponents/MockTagActions/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/editModal/EditUserTagModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/editModal/EditUserTagModal/interfaces/InterfaceEditUserTagModalProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/editModal/EditUserTagModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/removeModal/RemoveUserTagModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/removeModal/RemoveUserTagModal/interfaces/InterfaceRemoveUserTagModalProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/removeModal/RemoveUserTagModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/unassignModal/UnassignUserTagModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/unassignModal/UnassignUserTagModal/interfaces/InterfaceUnassignUserTagModalProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/unassignModal/UnassignUserTagModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/MemberDetail/MemberDetail/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgList/OrgList/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgList/modal/OrganizationModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgList/modal/OrganizationModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgPost/OrgPost/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgPost/Posts/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgPost/Posts/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgSettings/OrgSettings/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/OrganizationActionItems/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemDeleteModal/ItemDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemDeleteModal/ItemDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemModal/ItemModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemModal/ItemModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemUpdateModal/ItemUpdateStatusModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemUpdateModal/ItemUpdateStatusModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemViewModal/ItemViewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemViewModal/ItemViewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationDashboard/OrganizationDashboard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationEvents/OrganizationEvents/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationFundCampaign/modal/CampaignModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationFundCampaign/modal/CampaignModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationFunds/modal/FundModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationPeople/MockDataTypes/type-aliases/TestMock.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationPeople/OrganizationPeople/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationPeople/addMember/AddMember/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationTags/OrganizationTags/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationVenues/OrganizationVenues/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/SubTags/SubTags/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Chat/Chat/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Donate/Donate/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Events/Events/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Organizations/Organizations/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/People/People/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Posts/Posts/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/ProfileHeader/ProfileHeader/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/ProfileHeader/ProfileHeader/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/Settings/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/SideToggle/SideToggle/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/SideToggle/SideToggle/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/UserDetails/UserDetails/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/UserDetails/UserDetails/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Volunteer/Groups/GroupModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Volunteer/Groups/GroupModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Volunteer/Groups/Groups/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/hooks/functions/useAppDispatch.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/hooks/variables/useAppDispatch.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/functions/reducers.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/routesReducer/type-aliases/ComponentType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/routesReducer/type-aliases/SubTargetType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/routesReducer/type-aliases/TargetsType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/type-aliases/RootState.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/userRoutesReducer/type-aliases/ComponentType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/userRoutesReducer/type-aliases/SubTargetType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/userRoutesReducer/type-aliases/TargetsType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/variables/reducers.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/store/type-aliases/AppDispatch.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SearchBar/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SearchingButton/namespaces/default/variables/propTypes.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SearchingButton/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SortingButton/namespaces/default/variables/propTypes.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SortingButton/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/Advertisement.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/AdvertisementAttachment.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/AdvertisementEdge.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/AdvertisementsConnection.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/CreateAdvertisementInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/CreateAdvertisementPayload.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Agenda/type/type-aliases/AgendaCategory.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Chat/type/type-aliases/ChatInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Chat/type/type-aliases/DirectMessage.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Chat/type/type-aliases/GroupChat.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/CheckIn/type/type-aliases/CheckIn.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/CheckIn/type/type-aliases/CheckInInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/CheckIn/type/type-aliases/CheckInStatus.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Comment/type/type-aliases/Comment.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Comment/type/type-aliases/CommentInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Donation/types/type-aliases/Donation.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Donation/types/type-aliases/DonationWhereInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/Event.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventAttendeeInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventOrderByInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventVolunteer.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventVolunteerInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventVolunteerResponse.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventWhereInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/Feedback.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/FeedbackInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/User.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Organization/type/type-aliases/Organization.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Organization/type/type-aliases/OrganizationCustomField.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Organization/type/type-aliases/OrganizationInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/Post.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostComments.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostLikes.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostNode.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostOrderByInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostUpdateInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostWhereInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Tag/interface/interfaces/InterfaceAddPeopleToTagProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Tag/interface/interfaces/InterfaceBaseFetchMoreOptions.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/Address.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/AppUserProfile.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/CreateUserFamilyInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/User.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/UserInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/UserPhone.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/actionItem/type-aliases/ActionItem.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/actionItem/type-aliases/ActionItemCategory.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/actionItem/type-aliases/CreateActionItemInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/actionItem/type-aliases/UpdateActionItemInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/address/type-aliases/Address.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/address/type-aliases/AddressInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/membership/type-aliases/MembershipRequest.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/pagination/type-aliases/DefaultConnectionPageInfo.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/venue/type-aliases/EditVenueInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/venue/type-aliases/Venue.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/venue/type-aliases/VenueInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/StaticMockLink/classes/StaticMockLink.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/interfaces/interfaces/InterfaceChatMessagePg.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/interfaces/interfaces/InterfaceUserPg.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/organizationTagsUtils/type-aliases/SortedByType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/organizationTagsUtils/type-aliases/TagActionType.md is excluded by !**/docs/docs/**
📒 Files selected for processing (3)
  • .depcheckrc.json (1 hunks)
  • .github/workflows/pull-request.yml (2 hunks)
  • .husky/pre-commit (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
.depcheckrc.json (1)
Learnt from: shivasankaran18
PR: PalisadoesFoundation/talawa-admin#3938
File: .depcheckrc.json:2-14
Timestamp: 2025-04-18T04:31:18.455Z
Learning: For Depcheck configuration in Talawa-admin, both directories and package names should be listed under the "ignores" property, not separated into different properties as suggested by some documentation.
🪛 GitHub Actions: PR Workflow
.husky/pre-commit

[error] 1-1: Unauthorized change/delete detected. To override this, apply the 'ignore-sensitive-files-pr' label.

.github/workflows/pull-request.yml

[error] 1-1: Unauthorized change/delete detected. To override this, apply the 'ignore-sensitive-files-pr' label.

🪛 YAMLlint (1.35.1)
.github/workflows/pull-request.yml

[error] 563-563: trailing spaces

(trailing-spaces)

🔇 Additional comments (3)
.depcheckrc.json (1)

1-30: Well-structured configuration for dependency checking.

This Depcheck configuration file properly lists both directories and package names under the "ignores" property, which aligns with how Depcheck processes configurations in this project.

The configuration comprehensively covers:

  1. Application directories that shouldn't be scanned (GraphQl, screens, components, etc.)
  2. Development dependencies that should be excluded from unused dependency checks (testing libraries, GraphQL tools, etc.)

This configuration will help prevent false positives when running dependency checks while ensuring actual unused production dependencies are detected.

.github/workflows/pull-request.yml (2)

38-38: Good practice: Using npm ci instead of npm install.

Using npm ci in CI environments ensures reproducible builds by installing exact versions from the lock file, which is a best practice for continuous integration.


564-587: Well-implemented dependency checking job in the CI pipeline.

This new Check-Dependencies job properly integrates dependency checking into the CI pipeline with:

  • Appropriate needs/dependencies (runs after Code-Quality-Checks)
  • Proper Node.js setup
  • Efficient npm module caching
  • Consistent use of npm ci for reproducible installs
  • Clear job naming and step descriptions

This implementation aligns perfectly with the PR objective to integrate Depcheck into both the development workflow and CI pipeline.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

♻️ Duplicate comments (1)
.github/workflows/pull-request.yml (1)

586-586: 🧹 Nitpick (assertive)

Add newline at end of file.

The YAML file is missing a newline character at the end, which is a common linting requirement for source files. The static analysis tool has flagged this issue.

-        run: npm run check-dependencies
+        run: npm run check-dependencies
+
🧰 Tools
🪛 YAMLlint (1.35.1)

[error] 586-586: no new line character at the end of file

(new-line-at-end-of-file)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e0fde10 and 0166584.

⛔ Files ignored due to path filters (297)
  • docs/docs/auto-docs/Actions/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/App/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/DeleteUser/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/DeleteUser/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/GroupChatDetails/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/LoginPortalToggle/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OrgActionItemCategories/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OrgContriCards/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OrgContribution/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OrgPeopleListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OtherSettings/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/OtherSettings/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/README-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/interfaces/InterfacePledgeModal-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/interfaces/InterfacePledgeModal.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/variables/default-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/PledgeModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Register/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Requests/README-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Requests/functions/default-1.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Requests/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/UserProfile/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/UserProfile/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/UserUpdate/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/UserUpdate/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/Volunteers/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AddPeopleToTag/AddPeopleToTag/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AddPeopleToTag/AddPeopleToTag/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/Advertisements/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementRegister/AdvertisementRegister/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementRegister/AdvertisementRegisterMocks/variables/createAdFailMock.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementRegister/AdvertisementRegisterMocks/variables/createAdvertisement.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Advertisements/core/AdvertisementRegister/AdvertisementRegisterMocks/variables/updateAdFailMock.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaCategory/AgendaCategoryContainer/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaCategory/AgendaCategoryContainerMocks/variables/props.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaCategory/AgendaCategoryContainerMocks/variables/props2.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/AgendaItemsContainer/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/AgendaItemsMocks/variables/props.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/AgendaItemsMocks/variables/props2.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Create/AgendaItemsCreateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Create/AgendaItemsCreateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Delete/AgendaItemsDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Delete/AgendaItemsDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Preview/AgendaItemsPreviewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Preview/AgendaItemsPreviewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Update/AgendaItemsUpdateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/AgendaItems/Update/AgendaItemsUpdateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/ContriStats/ContriStats/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/DynamicDropDown/DynamicDropDown/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Header/EventHeader/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Monthly/EventCalender/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Monthly/EventCalender/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Yearly/YearlyEventCalender/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventCalender/Yearly/YearlyEventCalender/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/EventListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Delete/EventListCardDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Delete/EventListCardDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/EventListCardModals/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Preview/EventListCardPreviewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Preview/EventListCardPreviewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Update/EventListCardUpdateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventListCard/Modal/Update/EventListCardUpdateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAgendaItems/EventAgendaItems/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/Attendance/EventAttendance/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/AttendanceList/AttendedEventList/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/AttendanceList/AttendedEventList/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/Statistics/EventStatistics/functions/AttendanceStatisticsModal.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventAttendance/Statistics/EventStatistics/variables/AttendanceStatisticsModal.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventManagement/EventRegistrant/EventRegistrants/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventRegistrantsModal/Modal/AddOnSpot/AddOnSpotAttendee/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/EventRegistrantsModal/Modal/AddOnSpot/AddOnSpotAttendee/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/EventsAttendedByMember/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/Modal/CustomCell/customTableCell/functions/CustomTableCell.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/Modal/CustomCell/customTableCell/variables/CustomTableCell.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/Modal/EventsAttendedMemberModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberActivity/Modal/EventsAttendedMemberModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/MemberRequestCard/MemberRequestCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/NotFound/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgAdminListCard/OrgAdminListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgDelete/OrgDelete/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgListCard/OrgListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgListCard/TruncatedText/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgListCard/TruncatedText/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgListCard/useDebounce/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgPostCard/DeleteModal/DeletePostModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgPostCard/DeleteModal/DeletePostModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgPostCard/OrgPostCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/ActionItemCategories/Modal/CategoryModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/ActionItemCategories/Modal/CategoryModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Create/AgendaCategoryCreateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Create/AgendaCategoryCreateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Delete/AgendaCategoryDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Delete/AgendaCategoryDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/OrganizationAgendaCategory/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/OrganizationAgendaCategory/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Preview/AgendaCategoryPreviewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Preview/AgendaCategoryPreviewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Update/AgendaCategoryUpdateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/AgendaItemCategories/Update/AgendaCategoryUpdateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/General/DeleteOrg/DeleteOrg/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/General/GeneralSettings/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrgSettings/General/OrgUpdate/OrgUpdate/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrganizationCardStart/OrganizationCardStart/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/OrganizationDashCards/DashboardCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Pagination/Navigator/Pagination/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/RecurrenceOptions/Modal/CustomRecurrenceModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/RecurrenceOptions/Modal/CustomRecurrenceModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/RecurrenceOptions/RecurrenceOptions/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/RecurrenceOptions/RecurrenceOptions/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/Node/TagNode/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/Node/TagNode/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/TagActions/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/TagActions/interfaces/InterfaceTagActionsProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/TagActions/TagActions/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UpdateSession/UpdateSession/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UpdateSession/UpdateSession/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserListCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/ChatRoom/ChatRoom/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/CommentCard/CommentCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/ContactCard/ContactCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/CreateDirectChat/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/CreateDirectChat/functions/handleCreateDirectChat.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/CreateGroupChat/CreateGroupChat/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/DonationCard/DonationCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/EventCard/EventCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/OrganizationCard/OrganizationCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/OrganizationNavbar/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/OrganizationSidebar/OrganizationSidebar/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/PeopleCard/PeopleCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/PostCard/PostCard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/PromotedPost/PromotedPost/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserNavbar/UserNavbar/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserProfile/EventsAttendedByUser/functions/EventsAttendedByUser.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserProfile/EventsAttendedByUser/variables/EventsAttendedByUser.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserProfile/UserAddressFields/functions/UserAddressFields.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/UserPortal/UserProfile/UserAddressFields/variables/UserAddressFields.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Venues/VenueCardMocks/variables/MOCK_HANDLE_DELETE.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/components/Venues/VenueCardMocks/variables/MOCK_HANDLE_EDIT.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerContainer/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/VolunteerGroups/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/deleteModal/VolunteerGroupDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/deleteModal/VolunteerGroupDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/modal/VolunteerGroupModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/viewModal/VolunteerGroupViewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/VolunteerGroups/viewModal/VolunteerGroupViewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/createModal/VolunteerCreateModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/createModal/VolunteerCreateModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/deleteModal/VolunteerDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/deleteModal/VolunteerDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/viewModal/VolunteerViewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/EventVolunteers/Volunteers/viewModal/VolunteerViewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/FundCampaignPledge/deleteModal/PledgeDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/FundCampaignPledge/deleteModal/PledgeDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/Leaderboard/Leaderboard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTag/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTagMockComponents/MockAddPeopleToTag/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTagMockComponents/MockAddPeopleToTag/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTagMockComponents/MockTagActions/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/ManageTagMockComponents/MockTagActions/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/editModal/EditUserTagModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/editModal/EditUserTagModal/interfaces/InterfaceEditUserTagModalProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/editModal/EditUserTagModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/removeModal/RemoveUserTagModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/removeModal/RemoveUserTagModal/interfaces/InterfaceRemoveUserTagModalProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/removeModal/RemoveUserTagModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/unassignModal/UnassignUserTagModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/unassignModal/UnassignUserTagModal/interfaces/InterfaceUnassignUserTagModalProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/ManageTag/unassignModal/UnassignUserTagModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/MemberDetail/MemberDetail/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgList/OrgList/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgList/modal/OrganizationModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgList/modal/OrganizationModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgPost/OrgPost/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgPost/Posts/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgPost/Posts/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrgSettings/OrgSettings/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/OrganizationActionItems/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemDeleteModal/ItemDeleteModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemDeleteModal/ItemDeleteModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemModal/ItemModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemModal/ItemModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemUpdateModal/ItemUpdateStatusModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemUpdateModal/ItemUpdateStatusModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemViewModal/ItemViewModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationActionItems/itemViewModal/ItemViewModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationDashboard/OrganizationDashboard/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationEvents/OrganizationEvents/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationFundCampaign/modal/CampaignModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationFundCampaign/modal/CampaignModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationFunds/modal/FundModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationPeople/MockDataTypes/type-aliases/TestMock.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationPeople/OrganizationPeople/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationPeople/addMember/AddMember/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationTags/OrganizationTags/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/OrganizationVenues/OrganizationVenues/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/SubTags/SubTags/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Chat/Chat/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Donate/Donate/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Events/Events/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Organizations/Organizations/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/People/People/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Posts/Posts/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/ProfileHeader/ProfileHeader/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/ProfileHeader/ProfileHeader/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/ProfileImageSection/ProfileImageSection/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/Settings/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/SideToggle/SideToggle/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/SideToggle/SideToggle/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/UserDetails/UserDetails/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Settings/UserDetails/UserDetails/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Volunteer/Groups/GroupModal/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Volunteer/Groups/GroupModal/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/screens/UserPortal/Volunteer/Groups/Groups/functions/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/hooks/functions/useAppDispatch.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/hooks/variables/useAppDispatch.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/functions/reducers.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/routesReducer/type-aliases/ComponentType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/routesReducer/type-aliases/SubTargetType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/routesReducer/type-aliases/TargetsType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/type-aliases/RootState.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/userRoutesReducer/type-aliases/ComponentType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/userRoutesReducer/type-aliases/SubTargetType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/userRoutesReducer/type-aliases/TargetsType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/reducers/variables/reducers.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/state/store/type-aliases/AppDispatch.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SearchBar/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SearchingButton/namespaces/default/variables/propTypes.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SearchingButton/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SortingButton/namespaces/default/variables/propTypes.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/subComponents/SortingButton/variables/default.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/Advertisement.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/AdvertisementAttachment.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/AdvertisementEdge.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/AdvertisementsConnection.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/CreateAdvertisementInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Advertisement/type/type-aliases/CreateAdvertisementPayload.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Agenda/type/type-aliases/AgendaCategory.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Chat/type/type-aliases/ChatInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Chat/type/type-aliases/DirectMessage.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Chat/type/type-aliases/GroupChat.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/CheckIn/type/type-aliases/CheckIn.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/CheckIn/type/type-aliases/CheckInInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/CheckIn/type/type-aliases/CheckInStatus.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Comment/type/type-aliases/Comment.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Comment/type/type-aliases/CommentInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Donation/types/type-aliases/Donation.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Donation/types/type-aliases/DonationWhereInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/Event.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventAttendeeInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventOrderByInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventVolunteer.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventVolunteerInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventVolunteerResponse.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/EventWhereInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/Feedback.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/FeedbackInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Event/type/type-aliases/User.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Organization/type/type-aliases/Organization.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Organization/type/type-aliases/OrganizationCustomField.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Organization/type/type-aliases/OrganizationInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/Post.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostComments.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostLikes.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostNode.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostOrderByInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostUpdateInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Post/type/type-aliases/PostWhereInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Tag/interface/interfaces/InterfaceAddPeopleToTagProps.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/Tag/interface/interfaces/InterfaceBaseFetchMoreOptions.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/Address.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/AppUserProfile.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/CreateUserFamilyInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/User.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/UserInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/User/type/type-aliases/UserPhone.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/actionItem/type-aliases/ActionItem.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/actionItem/type-aliases/ActionItemCategory.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/actionItem/type-aliases/CreateActionItemInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/actionItem/type-aliases/UpdateActionItemInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/address/type-aliases/Address.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/address/type-aliases/AddressInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/membership/type-aliases/MembershipRequest.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/pagination/type-aliases/DefaultConnectionPageInfo.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/venue/type-aliases/EditVenueInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/venue/type-aliases/Venue.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/types/venue/type-aliases/VenueInput.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/StaticMockLink/classes/StaticMockLink.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/interfaces/interfaces/InterfaceChatMessagePg.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/interfaces/interfaces/InterfaceUserPg.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/organizationTagsUtils/type-aliases/SortedByType.md is excluded by !**/docs/docs/**
  • docs/docs/auto-docs/utils/organizationTagsUtils/type-aliases/TagActionType.md is excluded by !**/docs/docs/**
📒 Files selected for processing (3)
  • .depcheckrc.json (1 hunks)
  • .github/workflows/pull-request.yml (2 hunks)
  • .husky/pre-commit (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
.depcheckrc.json (1)
Learnt from: shivasankaran18
PR: PalisadoesFoundation/talawa-admin#3938
File: .depcheckrc.json:2-14
Timestamp: 2025-04-18T04:31:18.455Z
Learning: For Depcheck configuration in Talawa-admin, both directories and package names should be listed under the "ignores" property, not separated into different properties as suggested by some documentation.
🪛 YAMLlint (1.35.1)
.github/workflows/pull-request.yml

[error] 586-586: no new line character at the end of file

(new-line-at-end-of-file)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Check Dependencies
  • GitHub Check: Test Application
  • GitHub Check: Analyse Code With CodeQL (javascript)
🔇 Additional comments (3)
.depcheckrc.json (1)

1-31: Good Depcheck configuration for both directories and packages.

The configuration correctly uses the "ignores" property to list both directories and package names to be ignored during dependency checks, which aligns with how Depcheck works in the Talawa-admin project. It includes project-specific directories like "GraphQl", "screens", "components", etc., and development/testing packages that should be exempt from the checks.

I see you've learned from experience that Depcheck requires both directories and packages to be under the same "ignores" property rather than separating them as some documentation suggests.

.husky/pre-commit (1)

7-7: Excellent integration of dependency checking into the pre-commit hook.

Adding npm run check-dependencies to the pre-commit hook ensures that developers will catch unused or missing dependencies before committing code, which is an effective implementation of the PR objective.

.github/workflows/pull-request.yml (1)

38-38: Improved CI performance and consistency with npm ci.

Using npm ci instead of npm install ensures clean, reproducible installations based on the lockfile, which is a best practice for CI environments. This provides more consistent builds and helps avoid unexpected behavior due to dependency changes.

@shivasankaran18
Copy link
Contributor Author

image

@palisadoes sir it works well on my local.. I have updated the code to the upstream and updated the missing dependencies too .. could you review the PR now ?

Copy link
Contributor

@palisadoes palisadoes left a comment

Choose a reason for hiding this comment

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

You have ignored files versus fixed the dependencies. Why?

@shivasankaran18
Copy link
Contributor Author

shivasankaran18 commented Apr 23, 2025

@palisadoes sir , Depcheck gives some false positives .These seem to be caused by the way path aliases are handled in the project.. Eg : an import like import Users from 'screens/Users' (defined via tsconfig.json paths) is flagged as a missing dependency (screens), even though it points to a local file

Hence I have added all the sub directories to the ignores

Then , depcheck only detects imports/usage in source files. It does not recognize:

  • CLI tools (e.g. markdown-toc)

  • Config-based plugins (e.g. typedoc-plugin-markdown)

  • Indirect usages (e.g. CSS mocks like identity-obj-proxy)

  • Build configuration dependencies like Babel plugins and TypeScript types

  • Extension dependencies that work through configuration rather than imports

eg : const command = markdown-toc -i "${file}" --bullets "-";
"plugin": ["typedoc-plugin-markdown"]

Some packages like babel-jest, @types/jest, and eslint-plugin-jest are temporarily required as the codebase still contains Jest tests.

@palisadoes
Copy link
Contributor

Would limiting the check to specific folders fix the issue?

@shivasankaran18
Copy link
Contributor Author

No sir @palisadoes .. the depcheck only checks if the dependencies used present in the package.json or not .. For eg ,
state ./src/App.spec.tsx will be flagged again for folder checks too unless we ignore them manually

@shivasankaran18
Copy link
Contributor Author

shivasankaran18 commented Apr 26, 2025

@palisadoes Sir,could you review the PR when you find time?

Copy link

github-actions bot commented May 4, 2025

This pull request did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please verify it has no conflicts with the develop branch and rebase if needed. Mention it now if you need help or give permission to other people to finish your work.

@github-actions github-actions bot added the no-pr-activity No pull request activity label May 4, 2025
@palisadoes
Copy link
Contributor

Closing as abandoned

@palisadoes palisadoes closed this May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-pr-activity No pull request activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants