Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Feature/suspicious packages rule #12

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

tyrellbain
Copy link
Contributor

What kind of change does this PR introduce? (check at least one)

  • Bugfix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Code style update
  • Refactor (refactoring or adding test which isn't a fix or add a feature)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

Did you test your solution?

  • I lightly tested it in one browser
  • I deeply tested it in several browsers
  • I wrote tests around it (unit tests, integration tests, E2E tests)

Problem Description

Add rule for checking for suspicious packages

Solution Description

Check dependencies against selected indicators (downloads, last-update, maintainers, open-issues, stars, watchers, forks). If a package doesn't meet criteria then it will be labeled as suspicious.

Wrote integration testing as well as jest tests to validate.

@tyrellbain tyrellbain requested review from njam3 and iranreyes October 29, 2020 18:11
@tyrellbain tyrellbain linked an issue Oct 29, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Rule] Suspicious packages
1 participant