summaryrefslogtreecommitdiffstats
path: root/tools/lint/license.yml
blob: f6bd6576ac9096e07508521cfcecae0e120d765a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
---
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/
        # 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
        # might not work with license
        - gradle.properties
        # might not work with license
        - gradle/wrapper/gradle-wrapper.properties
        # Imported code that is dual Apache2 / MIT licensed
        - intl/l10n/rust/l10nregistry-rs
        # tests
        - js/src/devtools/rootAnalysis/t/
        - mobile/android/geckoview/src/main/AndroidManifest.xml
        - mobile/android/geckoview/src/main/AndroidManifest_overlay.jinja
        - mobile/android/geckoview/src/main/res/drawable/ic_generic_file.xml
        - mobile/android/geckoview_example/src/main
        - testing/webcompat/interventions/
        - testing/webcompat/shims/
        # might not work with license
        - mobile/android/gradle/dotgradle-offline/gradle.properties
        # might not work with license
        - mobile/android/gradle/dotgradle-online/gradle.properties
        # 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/browser.developer.entitlements.xml
        - security/mac/hardenedruntime/browser.production.entitlements.xml
        - security/mac/hardenedruntime/developer.entitlements.xml
        - security/mac/hardenedruntime/plugin-container.developer.entitlements.xml
        - security/mac/hardenedruntime/plugin-container.production.entitlements.xml
        - security/mac/hardenedruntime/production.entitlements.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/
    extensions:
        - .c
        - .cc
        - .cpp
        - .css
        - .dtd
        - .ftl
        - .h
        - .html
        - .java
        - .js
        - .jsm
        - .jsx
        - .m
        - .mm
        - .mjs
        - .properties
        - .py
        - .rs
        - .svg
        - .xhtml
        - .xml
        - .xul
    support-files:
        - 'tools/lint/license/**'
    type: external
    payload: license:lint
    find-dotfiles: true