Skip to content

Commit

Permalink
add lint for relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
masa-tokyo committed Dec 14, 2023
1 parent afcafdb commit 792a0eb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ include: package:pedantic_mono/analysis_options.yaml
linter:
rules:
avoid_classes_with_only_static_members: false
prefer_relative_imports: true

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import 'dart:io';

import 'package:bootstrap_package/run_dart.dart';
import 'package:meta/meta.dart';
import 'package:pub_semver/pub_semver.dart';

import 'bs_package_exception.dart';
import 'run_dart.dart';

/// pubspec.yamlファイルを上書き作成するための関数
///
Expand Down
8 changes: 4 additions & 4 deletions scripts/bootstrap_package/lib/run_command.dart
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import 'dart:io';

import 'package:args/args.dart';
import 'package:bootstrap_package/finalize_setup.dart';
import 'package:bootstrap_package/run_flutter.dart';
import 'package:bootstrap_package/show_exception.dart';
import 'package:bootstrap_package/show_usage.dart';
import 'package:path/path.dart' as path;

import 'create_working_file.dart';
import 'finalize_setup.dart';
import 'overwrite_pubspec_yaml_file.dart';
import 'overwrite_test_file.dart';
import 'run_flutter.dart';
import 'show_exception.dart';
import 'show_usage.dart';

/// コマンド実行用関数
///
Expand Down

0 comments on commit 792a0eb

Please sign in to comment.