Skip to content

Conversation

@webwarrior-ws
Copy link
Contributor

Ignore functions and methods marked with [<Obsolete>] attribute.

Contributes to #517.

@knocte
Copy link
Collaborator

knocte commented Feb 2, 2026

@webwarrior-ws let's add one more refactoring commit that makes Async rule stop dependinig on Sync rule's code. And with this I'm not asking you to not respect DRY but to pull out the common code out of rule's types.

For cases when function/method has `[<Obsolete>]` attribute.
To not fire on functions with `[<Obsolete>]` attribute.
For cases when function/method has `[<Obsolete>]` attribute.
To not fire on functions/methods with `[<Obsolete>]` attribute.
Moved common functions into NamingHelper.fs file instead of
AsynchronousFunctionNames being dependent on
SynchronousFunctionNames.

Also use function isAttribute from NamingHelpers instead of
reinventing the wheel.
@webwarrior-ws
Copy link
Contributor Author

@webwarrior-ws let's add one more refactoring commit that makes Async rule stop dependinig on Sync rule's code. And with this I'm not asking you to not respect DRY but to pull out the common code out of rule's types.

Added refactoring commit.

@knocte knocte merged commit c0bcef2 into fsprojects:master Feb 2, 2026
3 checks passed
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.

2 participants