Get rid of the import_sorter

As much as I like it, I think it's better to just use the defaults.
This commit is contained in:
Vishesh Handa
2022-11-27 21:00:50 +01:00
parent cbb40212b0
commit 5d9c6a8c8c
5 changed files with 0 additions and 29 deletions

View File

@ -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 <me@vhanda.in>' --year '2021' lib/analytics/generated/*
reuse addheader --license 'AGPL-3.0-or-later' --copyright 'Vishesh Handa <me@vhanda.in>' --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

View File

@ -15,5 +15,3 @@ command:
scripts:
analyze:
exec: flutter analyze .
fmt:
exec: flutter pub run import_sorter:main --no-comments

View File

@ -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

View File

@ -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:

View File

@ -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