---
license:
    description: License Check
    include:
        - comm/
    exclude:
        # By design
        - comm/build/macosx/hardenedruntime/developer.entitlements.xml
        - comm/build/macosx/hardenedruntime/production.entitlements.xml
        # License not super clear, Firefox excludes its branding
        - comm/mail/branding/
        # Mostly empty file
        - comm/mail/base/content/overrides/app-license-name.html
        # Need to verify
        - comm/mail/components/im/messages
        # Public Domain, but do not match pre-approved strings from Mozilla
        - comm/mailnews/db/mork/morkDeque.cpp
        - comm/mailnews/db/mork/morkDeque.h
        # No license for README files
        - comm/mailnews/jsaccount/readme.html
        # License file in directory
        - comm/mailnews/mime/jsmime
    extensions:
        - .c
        - .cc
        - .cpp
        - .css
        - .dtd
        - .ftl
        - .h
        - .html
        - .idl
        - .java
        - .js
        - .jsm
        - .jsx
        - .m
        - .mjs
        - .mm
        - .properties
        - .py
        - .rs
        - .svg
        - .xhtml
        - .xml
        - .xul
    support-files:
        - 'tools/lint/license/**'
    type: external
    payload: commlint:lint_wrapper
    wraps: license:lint
