---
license:
    description: License Check
    include:
        - .
    exclude:
        # These paths need to be triaged.
        - build/pgo/js-input
        # License not super clear
        - browser/branding/
        # Trademarks
        - browser/components/pocket/content/panels/
        - browser/components/newtab/data/content/tippytop/images/
        - toolkit/components/pdfjs/content/web/images/
        # We probably want a specific license
        - browser/extensions/webcompat/injections/
        # Copied mostly verbatim from upstream. License is documented in
        # Cargo.toml.
        - build/rust/windows/src/lib.rs
        # Different license
        - build/pgo/blueprint/print.css
        # Different license
        - build/pgo/blueprint/screen.css
        # Empty files
        - config/external/nspr/_pl_bld.h
        - config/external/nspr/_pr_bld.h
        # Unknown origin
        - gfx/2d/MMIHelpers.h
        # ICU4X data
        - intl/icu_segmenter_data
        # Imported code that is dual Apache2 / MIT licensed
        - intl/l10n/rust/l10nregistry-rs
        - intl/l10n/rust/l10nregistry-tests
        # tests
        - js/src/devtools/rootAnalysis/t/
        - mobile/android/geckoview/src/main/AndroidManifest_overlay.jinja
        - mobile/android/geckoview_example/src/main
        - testing/webcompat/interventions/
        - testing/webcompat/shims/
        # TODO - Bug 1882443: temporarily ignored for firefox-android migration
        - mobile/android/android-components/docs/
        # Almost empty file
        - modules/libpref/greprefs.js
        - parser/html/java/named-character-references.html
        - python/mozlint/test/files/
        # By design
        - python/mozrelease/mozrelease
        - security/mac/hardenedruntime/v2/developer/browser.xml
        - security/mac/hardenedruntime/v2/developer/media-plugin-helper.xml
        - security/mac/hardenedruntime/v2/developer/plugin-container.xml
        - security/mac/hardenedruntime/v2/developer/utility.xml
        - security/mac/hardenedruntime/v2/production/nightly.browser.xml
        - security/mac/hardenedruntime/v2/production/firefox.browser.xml
        - security/mac/hardenedruntime/v2/production/firefoxdeveloperedition.browser.xml
        - security/mac/hardenedruntime/v2/production/media-plugin-helper.xml
        - security/mac/hardenedruntime/v2/production/plugin-container.xml
        - testing/marionette/harness/marionette_harness/www/
        # Browsertime can't handle this script when there's a comment at the top
        - testing/raptor/browsertime/browsertime_benchmark.js
        - toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.cc
        - toolkit/components/reputationservice/chromium/chrome/common/safe_browsing/csd.pb.h
        - toolkit/mozapps/update/updater/crctable.h
        - tools/lint/eslint/eslint-plugin-mozilla/lib/configs
        # template fragments used to generate .js sources.
        - toolkit/components/uniffi-bindgen-gecko-js/src/templates/js
        # By design
        - tools/lint/test/
        # TODO: Bug 1713577 - Enable the linter on all tests.
        - '**/test*'
        - '**/gtest/'
        - '**/crashtest*'
        - '**/mochitest*'
        - '**/reftest*'
        - '**/androidTest/'
        - '**/jit-test/'
    extensions:
        - .c
        - .cc
        - .cpp
        - .css
        - .dtd
        - .ftl
        - .h
        - .html
        - .idl
        - .java
        - .js
        - .jsm
        - .jsx
        - .m
        - .mm
        - .mjs
        - .properties
        - .py
        - .rs
        - .svg
        - .webidl
        - .xhtml
        - .xml
    support-files:
        - 'tools/lint/license/**'
    type: external
    payload: license:lint
    find-dotfiles: true
