-
Notifications
You must be signed in to change notification settings - Fork 8
[Linter] Network functions #1836
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR introduces a new linter rule for detecting network-related functions in R code. The implementation refactors existing code to create reusable utilities for function detection patterns.
- Adds a new "network-functions" linter rule to flag functions that perform network operations
- Extracts common function-finding logic into a reusable utility module
- Updates the deprecated functions rule to use the new shared utility
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
src/linter/rules/network-functions.ts |
Implements the new network functions linter rule |
src/linter/rules/function-finder-util.ts |
Creates shared utility for function detection logic |
src/linter/rules/deprecated-functions.ts |
Refactors to use the new shared utility |
src/linter/linter-rules.ts |
Registers the new network functions rule |
test/functionality/linter/lint-network-functions.test.ts |
Adds comprehensive tests for the new rule |
test/functionality/linter/lint-deprecated-functions.test.ts |
Updates tests to use new metadata field names |
Comments suppressed due to low confidence (2)
c292b15
to
26d6e5f
Compare
…nto 1813-linter-network-functions
No description provided.