Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 905 Bytes

CONTRIBUTING.md

File metadata and controls

34 lines (19 loc) · 905 Bytes

Contributing to Chaldea

Developing

Flutter Version

Make sure your flutter version is compatible with the version used in production. Check the deploy workflow for web and Github Release.

Formatting

sh ./scripts/format.sh

It will sort imports and format dart codes. line-length is set to 120. You might need to configure your IDE with proper settings.

Comments on imports may be messed up because of sorting imports.

Update Json Models

sh ./scripts/build_runner.sh

Mainly for JsonSerializable, build config can be found at build.yaml.

Code Style

Avoid using var and dynamic

Specified type or final is preferred.