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

feat(npm): support npm_ prefix access token #201

Merged
merged 1 commit into from
Sep 25, 2021
Merged

feat(npm): support npm_ prefix access token #201

merged 1 commit into from
Sep 25, 2021

Conversation

azu
Copy link
Member

@azu azu commented Sep 25, 2021

Support to detect npm access token like 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.

fix #200

@@ -123,6 +168,7 @@ export const creator: SecretLintRuleCreator<Options> = {
} else if (isNpmrc(source.filePath)) {
reportIfFound_AuthTokenInNpmrc({ source, options: normalizedOptions, context, t });
}
reportIfFound_NPM_ACCESS_TOKEN({ source, options: normalizedOptions, context, t });
Copy link
Member Author

Choose a reason for hiding this comment

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

It always check npm access token in texts

@azu azu merged commit 20c4839 into master Sep 25, 2021
@azu azu deleted the feature/200 branch September 25, 2021 02:41
@azu azu mentioned this pull request Sep 25, 2021
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.

npm prefix token support
1 participant