-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move implementation to src
dir
#77
Conversation
Fixed in #78 |
@@ -19,7 +19,7 @@ dependencies: | |||
dev_dependencies: | |||
flutter_test: | |||
sdk: flutter | |||
solid_lints: ^0.0.14 | |||
solid_lints: ^0.1.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs CI update.
.github/workflows/code_check.yaml
Outdated
- name: Setup Dart Code Metrics | ||
run: dart pub get dart_code_metrics | ||
- name: Dart Code Metrics | ||
uses: solid-software/dart-code-metrics-action@bb6c6b9b92f6adbd2b77fd83747a85f1f1be17ca | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
fatal_warnings: true | ||
fatal_style: true | ||
folders: "lib" | ||
|
||
- name: Run Dart Code Metrics | ||
run: | | ||
dirs_to_analyze="" | ||
if [ -d lib ]; then dirs_to_analyze+=" lib"; fi | ||
if [ -d test ]; then dirs_to_analyze+=" test"; fi | ||
if [ -d example ]; then dirs_to_analyze+=" example"; fi | ||
if [ dirs_to_analyze != "" ] | ||
then | ||
dart run dart_code_metrics:metrics \ | ||
analyze \ | ||
$dirs_to_analyze \ | ||
--fatal-warnings \ | ||
--fatal-performance \ | ||
--fatal-style | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@solid-yuriiprykhodko looks ok?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
solid_lints no longer uses DCM.
Add dart run custom_lint
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.