Skip to content
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
This repository was archived by the owner on Jul 16, 2023. It is now read-only.

[Rule change] Let ban-name ban things like DateTime.now #927

Closed
@fzyzcjy

Description

@fzyzcjy

To allow testability, it would be great to ban all DateTime.now and use clock.now instead. Thus, we can extend ban-name to do so.

What rule do you want to change?

How will the change be implemented? (New option, new default behavior, etc.)?

Please provide some example code that this change will affect:

What does the rule currently do for this code?

What will the rule do after it's changed?

Are you willing to submit a pull request to implement this change?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions