avoid-double-slash-imports
added in: 5.2.0
warning
Warns when an import/export directive contains a double slash.
Double slash in the URI is considered valid, but under some circumstances the programm won't run.
See:
Example
❌ Bad:
import 'package:test//material.dart'; // LINT
import 'package:mocktail/good_file.dart';
import '../../..//rule_utils_test.dart'; // LINT
export 'package:mocktail//good_file.dart'; // LINT
part '..//empty.dart'; // LINT
✅ Good:
import 'package:test/material.dart';
import 'package:mocktail/good_file.dart';
import '../../../rule_utils_test.dart';
export 'package:mocktail/good_file.dart';
part '../empty.dart';