flutter_zhiyao_lint 0.0.5 copy "flutter_zhiyao_lint: ^0.0.5" to clipboard
flutter_zhiyao_lint: ^0.0.5 copied to clipboard

flutter zhiyao lint.

flutter_zhiyao_lint #

zhiyao code Analysis tools

规则描述 #

rule id 描述
image-set-cache-width 图片Widget 需要设置 cacheWidget or memCacheWidget
navigation-with-parameters getx 跳转的时候使用 parameters 携带参数
use-widget-extension 使用扩展函数 降低层级

命令行运行 #

flutter pub run flutter_zhiyao_lint:metrics analyze lib

or

dart run bin\metrics.dart analyze lib

发布 #

发布的时候需要 修改 根目录下 pubspec.yaml 和 tools/analyzer_plugin 下 pubspec.yaml 两个里面的 version。
否则拉依赖的时候会报错

0
likes
120
points
59
downloads

Publisher

unverified uploader

Weekly Downloads

flutter zhiyao lint.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, analyzer_plugin, ansicolor, args, collection, crypto, file, glob, html, meta, path, source_span, yaml

More

Packages that depend on flutter_zhiyao_lint