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] avoid-global-state to support static fields #643

Closed
@ookami-kb

Description

@ookami-kb

What rule do you want to change?

avoid-global-state

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

According to the documentation example, this code should trigger the rule:

class Foo {
  static int? bar; // LINT
}

As discussed in tg group, this is currently not implemented but it's on the roadmap. Creating the issue to keep track of it.

Please provide some example code that this change will affect:

class Foo {
  static int? bar; // LINT
}

What does the rule currently do for this code?

Nothing.

What will the rule do after it's changed?

Trigger rule.

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

Probably.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions