summaryrefslogtreecommitdiffstats
path: root/comm/tools/lint/license.yml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/tools/lint/license.yml')
-rw-r--r--comm/tools/lint/license.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/comm/tools/lint/license.yml b/comm/tools/lint/license.yml
new file mode 100644
index 0000000000..255d06595a
--- /dev/null
+++ b/comm/tools/lint/license.yml
@@ -0,0 +1,51 @@
+---
+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