Skip to main content

dna_clean_code 0.2.2 copy "dna_clean_code: ^0.2.2" to clipboard
dna_clean_code: ^0.2.2 copied to clipboard

DNA layer: clean code and test conventions, language neutral plus Dart and TypeScript

example/example.md

Example #

dna_clean_code is a DNA layer: it ships the code and test guides plus the skills that check a repo against them, no code. Declare it as a dev dependency and instantiate it once:

dart pub add dev:dna_clean_code            # Dart projects
pnpm add -D @ggdna/dna-clean-code          # TypeScript projects
gg dna init
gg dna build

Usually it arrives through the umbrella layer of your organization, e.g. dna_ggsuite or dna_tssuite. The guides then ask, among other things, for an example constructor on every class:

final user = User.example(age: 17);
0
likes
160
points
724
downloads

Documentation

API reference

Publisher

verified publisherinlavigo.com

Weekly Downloads

DNA layer: clean code and test conventions, language neutral plus Dart and TypeScript

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on dna_clean_code