diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 7244c68..73edcba 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -33,7 +33,8 @@ jobs: run: dart format --set-exit-if-changed . - name: Analyze run: dart analyze --fatal-infos . - # TODO: Run custom_lint when https://github.com/invertase/dart_custom_lint/issues/271 lands + - name: custom_lint + run: dart run custom_lint pana: runs-on: ubuntu-latest diff --git a/.gitignore b/.gitignore index c0120f0..076e2ae 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ pubspec.lock .DS_Store + +*.log \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index 6199baa..52413bf 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -14,6 +14,15 @@ dependencies: dev_dependencies: rexios_lints: ^8.1.0 +dependency_overrides: + custom_lint: + git: + prs: + - https://github.com/invertase/dart_custom_lint/pull/272 + url: https://github.com/Rexios80/dart_custom_lint + ref: 6056693aece8cb4f8cbd7e60c9e5996cc21cb190 + path: packages/custom_lint + platforms: web: