gecko-dev/tools/lint/android-fenix.yml
Aaditya Dhingra 63d043faa9 Bug 1926814 - Generate a report for ktlintFormat and allow linters to be run from other subdirectories. r=nalexander,android-reviewers,ohall
Generate and read ktlintFormat report instead of ktlint when running `./mach lint -l android-{fenix|focus|ac} --fix}` to accurately report the existing errors/warnings

Also fixes the issue where running AC linter from fenix directory would immediately output ✖ 0 problems (0 errors, 0 warnings, 0 fixed) without running the linter but the linter would run normally if run from root folder or AC subdirectory

Differential Revision: https://phabricator.services.mozilla.com/D226850
2024-11-08 16:49:33 +00:00

16 lines
443 B
YAML

---
android-fenix:
description: Android formatting lint for Fenix
include: ['mobile/android']
exclude: []
extensions: ['java', 'kt']
support-files:
- 'mobile/android/**/Makefile.in'
- 'mobile/android/config/**'
- 'mobile/android/gradle.configure'
- 'mobile/android/**/moz.build'
- '**/*.gradle'
type: global
payload: android.lints:fenix_format
setup: android.lints:setup