Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Unified Diff: lib/src/rules/unrelated_type_equality_checks.dart

Issue 1972183002: Linter version 0.1.16 bump [TBR]. (Closed) Base URL: https://github.com/dart-lang/linter.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/rules/dont_compare_unrelated_types_for_equality.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/rules/unrelated_type_equality_checks.dart
diff --git a/lib/src/rules/dont_compare_unrelated_types_for_equality.dart b/lib/src/rules/unrelated_type_equality_checks.dart
similarity index 94%
rename from lib/src/rules/dont_compare_unrelated_types_for_equality.dart
rename to lib/src/rules/unrelated_type_equality_checks.dart
index fc045604ff03a54ee969c3ed3b0cbb0eee49f561..3d9e2e83b7abf3c8fe5d937b9d0fefdc7acb4b08 100644
--- a/lib/src/rules/dont_compare_unrelated_types_for_equality.dart
+++ b/lib/src/rules/unrelated_type_equality_checks.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-library linter.src.rules.dont_compare_unrelated_types_for_equality;
+library linter.src.rules.unrelated_type_equality_checks;
import 'package:analyzer/dart/ast/ast.dart';
import 'package:analyzer/dart/ast/token.dart';
@@ -126,11 +126,11 @@ class DerivedClass2 extends ClassBase with Mixin {}
```
''';
-class DontCompareUnrelatedTypesForEquality extends LintRule {
+class UnrelatedTypeEqualityChecks extends LintRule {
_Visitor _visitor;
- DontCompareUnrelatedTypesForEquality() : super(
- name: 'dont_compare_unrelated_types_for_equality',
+ UnrelatedTypeEqualityChecks() : super(
+ name: 'unrelated_type_equality_checks',
description: _desc,
details: _details,
group: Group.errors,
« no previous file with comments | « lib/src/rules/dont_compare_unrelated_types_for_equality.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698