From 5d9c6a8c8c0babdd11d02cad1cf5de3ae9fd7b0e Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Sun, 27 Nov 2022 21:00:50 +0100 Subject: [PATCH] Get rid of the import_sorter As much as I like it, I think it's better to just use the defaults. --- Makefile | 5 ----- melos.yaml | 2 -- packages/git_setup/pubspec.yaml | 4 ---- pubspec.lock | 14 -------------- pubspec.yaml | 4 ---- 5 files changed, 29 deletions(-) diff --git a/Makefile b/Makefile index 372831ce..a3ffbb2d 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,6 @@ protos: protoc --dart_out=grpc:lib/generated -Iprotos protos/core.proto rm lib/analytics/generated/analytics.pbgrpc.dart flutter format lib/ - flutter pub run import_sorter:main reuse addheader --license 'AGPL-3.0-or-later' --copyright 'Vishesh Handa ' --year '2021' lib/analytics/generated/* reuse addheader --license 'AGPL-3.0-or-later' --copyright 'Vishesh Handa ' --year '2021' lib/markdown/generated/* @@ -26,10 +25,6 @@ unused: flutter pub run dart_code_metrics:metrics check-unused-files lib flutter pub run dart_code_metrics:metrics check-unused-code lib -fmt: - flutter pub run import_sorter:main --no-comments - cd packages/git_setup && flutter pub run import_sorter:main --no-comments - lint: flutter analyze flutter pub run dart_code_metrics:metrics lib diff --git a/melos.yaml b/melos.yaml index fc3fbdcb..c614a4ee 100644 --- a/melos.yaml +++ b/melos.yaml @@ -15,5 +15,3 @@ command: scripts: analyze: exec: flutter analyze . - fmt: - exec: flutter pub run import_sorter:main --no-comments diff --git a/packages/git_setup/pubspec.yaml b/packages/git_setup/pubspec.yaml index 602315ca..c6d65031 100644 --- a/packages/git_setup/pubspec.yaml +++ b/packages/git_setup/pubspec.yaml @@ -26,9 +26,5 @@ dev_dependencies: sdk: flutter # flutter_lints: ^2.0.0 test: ^1.16.5 - import_sorter: ^4.6.0 flutter: - -import_sorter: - comments: false diff --git a/pubspec.lock b/pubspec.lock index f2ccb118..baed8c41 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -901,13 +901,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.5.0" - import_sorter: - dependency: "direct dev" - description: - name: import_sorter - url: "https://pub.dartlang.org" - source: hosted - version: "4.6.0" in_app_purchase: dependency: "direct main" description: @@ -1750,13 +1743,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.0" - tint: - dependency: transitive - description: - name: tint - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" tuple: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 3c5bc9a2..a473f343 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -111,7 +111,6 @@ dev_dependencies: sdk: flutter hive_generator: ^1.1.0 # flutter_webview_plugin: ^0.3.11 - import_sorter: ^4.6.0 junitreport: ^2.0.2 monarch: ^2.3.0 process_run: ^0.12.3+2 @@ -143,6 +142,3 @@ flutter_icons: macos: true windows: false linux: false - -import_sorter: - comments: false