Skip to content

Commit

Permalink
Added import sorter config to pubspec.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Dec 9, 2023
1 parent 9283eed commit 4fd4e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/elastic-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: dart format --output=none --set-exit-if-changed lib/* test/*

- name: Verify import order
run: dart run import_sorter:main --no-comments --exit-if-changed lib/* test/*
run: dart run import_sorter:main --exit-if-changed

- name: Analyze project source
run: flutter analyze --no-fatal-infos --no-fatal-warnings
Expand Down
3 changes: 3 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ flutter:
- assets/logos/
- assets/fields/

import_sorter:
comments: false

msix_config:
display_name: Elastic
publisher_display_name: Gold872
Expand Down

0 comments on commit 4fd4e6b

Please sign in to comment.