Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/src/rules/always_specify_types.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ class AlwaysSpecifyTypes extends LintRule implements NodeLintRule {
details: _details,
group: Group.style);

@override
List<String> get incompatibleRules => const ['omit_local_variable_types'];

@override
void registerNodeProcessors(
NodeLintRegistry registry, LinterContext context) {
Expand Down
3 changes: 3 additions & 0 deletions lib/src/rules/omit_local_variable_types.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ class OmitLocalVariableTypes extends LintRule implements NodeLintRule {
details: _details,
group: Group.style);

@override
List<String> get incompatibleRules => const ['always_specify_types'];

@override
void registerNodeProcessors(
NodeLintRegistry registry, LinterContext context) {
Expand Down