File tree 1 file changed +14
-11
lines changed
app/lib/frontend/templates/views 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 73
73
Use <a href =" https://www.dartlang.org/guides/language/analysis-options" ><code >analysis_options.yaml</code ></a >
74
74
to specify further linter rules, and make sure you fix all warnings and errors before publishing.
75
75
Here's an example <code >analysis_options.yaml</code >:</p >
76
- <pre ><code class =" language-yaml" ># https://www.dartlang.org/guides/language/analysis-options
77
- # Source of linter options:
78
- # http://dart-lang.github.io/linter/lints/options/options.html
79
- linter:
80
- rules:
81
- - camel_case_types
82
- - hash_and_equals
83
- - iterable_contains_unrelated_type
84
- - list_remove_unrelated_type
85
- - unrelated_type_equality_checks
86
- - valid_regexps
76
+ <pre ><code class =" language-yaml" ># Defines a default set of lint rules enforced for
77
+ # projects at Google. For details and rationale,
78
+ # see https://github.com/dart-lang/pedantic#enabled-lints.
79
+ include: package:pedantic/analysis_options.yaml
80
+
81
+ # For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
82
+ # Uncomment to specify additional rules.
83
+ # linter:
84
+ # rules:
85
+ # - camel_case_types
86
+
87
+ # analyzer:
88
+ # exclude:
89
+ # - path/to/excluded/files/**
87
90
</code ></pre >
88
91
89
92
<h3 id =" maintenance" >Maintenance</h3 >
You can’t perform that action at this time.
0 commit comments