Skip to content

Commit

Permalink
Merge pull request zino-hofmann#303 from truongsinh/chore/perfectioni…
Browse files Browse the repository at this point in the history
…st-to-pedantic

use `pedantic` style `flutter analyze` for CI

@truongsinh you should set up [signed commits](https://help.github.com/en/articles/about-commit-signature-verification) when you get the chance
  • Loading branch information
micimize authored May 29, 2019
2 parents b162938 + d5c778f commit 4832cbc
Show file tree
Hide file tree
Showing 21 changed files with 35 additions and 1,519 deletions.
6 changes: 4 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,17 @@ jobs:
- run: *install_yaml_processor
- run: *graphql_from_path
- run:
name: Code linting (graphql)
name: Code formating and analyzing (graphql)
command: |
cd packages/graphql
dartfmt **/*.dart -n --set-exit-if-changed
flutter analyze
- run:
name: Code linting (graphql_flutter)
name: Code formating and analyzing (graphql_flutter)
command: |
cd packages/graphql_flutter
dartfmt **/*.dart -n --set-exit-if-changed
flutter analyze
coverage:
docker: *flutter_environment
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ ios/.generated/
ios/Flutter/Generated.xcconfig
ios/Runner/GeneratedPluginRegistrant.*
.flutter-plugins
pubspec.lock

# Coverage
coverage.json
Expand Down
7 changes: 1 addition & 6 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
include: package:perfectionist/analysis_options.yaml

linter:
rules:
avoid_as: false
flutter_style_todos: false
include: package:pedantic/analysis_options.yaml
Loading

0 comments on commit 4832cbc

Please sign in to comment.