mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-02 03:15:43 +08:00
feat: Add non_constant_identifier_names rule (#1656)
This commit is contained in:
@ -82,10 +82,10 @@ class DotsComponent extends Component {
|
||||
|
||||
@override
|
||||
void update(double dt) {
|
||||
generate_point();
|
||||
generatePoint();
|
||||
}
|
||||
|
||||
void generate_point() {
|
||||
void generatePoint() {
|
||||
final point = Vector2(
|
||||
random.nextDouble() * 800,
|
||||
random.nextDouble() * 600,
|
||||
|
||||
@ -68,6 +68,7 @@ linter:
|
||||
- no_adjacent_strings_in_list
|
||||
- no_duplicate_case_values
|
||||
- no_runtimeType_toString
|
||||
- non_constant_identifier_names
|
||||
- omit_local_variable_types
|
||||
- package_api_docs
|
||||
- package_names
|
||||
|
||||
Reference in New Issue
Block a user