tools/lint/file-perm.yml
author Khushil Mistry <khushil324@gmail.com>
Wed, 30 Sep 2020 13:53:44 +0300
changeset 40809 faa3265fa49ca5274c89e5f0ccc7d410b1e5b6c1
parent 39968 f8b5f50ca7721d519e8f558406fe72b8c856bf38
permissions -rw-r--r--
Bug 1665174 - for inserting smileys just insert the smiley char, without any span around it. r=mkmelin a=wsmwk Inserting an span element caused an unwanted change of paragraph mode at times, and was not needed for anything.

---
file-perm:
    description: File permission check
    include:
        - .
    extensions:
        - .c
        - .cc
        - .cpp
        - .h
        - .html
        - .idl
        - .jsm
        - .jsx
        - .m
        - .mm
        - .png
        - .rs
        - .svg
        - .xhtml
        - .xml
        - .xul
        - .yml
    support-files:
        - 'tools/lint/file-perm/**'
    type: external
    payload: commlint:lint_wrapper
    wraps: file-perm:lint

maybe-shebang-file-perm:
    description: "File permission check for files that might have `#!` header."
    include:
        - .
    allow-shebang: true
    extensions:
        - .js
        - .py
        - .sh
    support-files:
        - 'tools/lint/file-perm/**'
    type: external
    payload: commlint:lint_wrapper
    wraps: file-perm:lint