mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 01:18:38 +08:00
chore: Enable DCM rule double-literal-format (#3248)
Enable DCM rule double-literal-format. More details [here](https://dcm.dev/docs/rules/common/double-literal-format/). This both forbids trailing zeroes and mandates leading zeroes. If we would prefer a different style (e.g. prefer no leading zero instead), just lmk :)
This commit is contained in:
@ -22,7 +22,7 @@ class _Rectangle extends RectangleComponent {
|
||||
children: [
|
||||
RotateEffect.by(
|
||||
pi * 2,
|
||||
EffectController(duration: .4, infinite: true),
|
||||
EffectController(duration: 0.4, infinite: true),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user