1 Star 0 Fork 35

jackey/Flutter-Go

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
analysis_options.yaml 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
yanguoyu 提交于 2019-08-05 15:11 . 1:添加代码规范规则。
analyzer:
strong-mode:
implicit-casts: false
errors:
avoid_returning_null_for_future: warning
cancel_subscriptions: warning
dead_code: warning
override_on_non_overriding_method: warning
unused_element: warning
unused_import: warning
avoid_empty_else: warning
exclude:
- test/**
linter:
rules:
- camel_case_types
- library_names
- library_prefixes
- file_names
- package_names
- non_constant_identifier_names
- constant_identifier_names
- sort_pub_dependencies
- directives_ordering
- curly_braces_in_flow_control_structures
- slash_for_doc_comments
- package_api_docs
- public_member_api_docs
- comment_references
- prefer_adjacent_string_concatenation
- prefer_interpolation_to_compose_strings
- unnecessary_brace_in_string_interps
- prefer_collection_literals
- prefer_is_empty
- prefer_is_not_empty
- prefer_for_elements_to_map_fromIterable
- avoid_function_literals_in_foreach_calls
- prefer_equal_for_default_values
- avoid_init_to_null
- unnecessary_getters_setters
- unnecessary_this
- prefer_initializing_formals
- unnecessary_new
- unnecessary_await_in_return
- avoid_void_async
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jackeyyao/Flutter-Go.git
git@gitee.com:jackeyyao/Flutter-Go.git
jackeyyao
Flutter-Go
Flutter-Go
master

搜索帮助