mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
63d043faa9
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
16 lines
443 B
YAML
16 lines
443 B
YAML
---
|
|
android-focus:
|
|
description: Android formatting lint for Focus
|
|
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:focus_format
|
|
setup: android.lints:setup
|