Alphabetize and expand the TRUSTED_SCOPES list
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- javascript
Research direction
Open src/analyzers/typosquat.js and locate the TRUSTED_SCOPES Set. Review its current ordering and entries, then alphabetize the list and add the five scopes named in the acceptance criteria. Done means the list is alphabetized and includes @reduxjs, @react-navigation, @jest, @vitest, and @eslint.
Written by the indexing model from the issue text.
Description
In src/analyzers/typosquat.js, we have a hardcoded Set called TRUSTED_SCOPES which prevents the typosquat analyzer from throwing false positives on official packages (like @types, @babel, etc.).
Currently, this list is a bit messy. It needs to be alphabetized for easier maintenance, and we should expand it to include a few more popular official scopes that developers commonly use.
Acceptance Criteria:
- Alphabetize the
TRUSTED_SCOPESlist insrc/analyzers/typosquat.js. - Add common missing frontend/backend scopes like
@reduxjs,@react-navigation,@jest,@vitest,@eslint.
- Dominant language
- JavaScript
- Stars
- 11
- Forks
- 4
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DhanushNehru/lockcheck
-
good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
DhanushNehru/lockcheck#15 ·
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DhanushNehru/lockcheck#13 ·
-
good first issue testing
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
documentation enhancement help wanted testing
Difficulty 4/5 3-5 days Newbie friendliness 68/100
All issues in DhanushNehru/lockcheck
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·