2020-03-14 16:34:15 +03:00
|
|
|
---
|
|
|
|
file-perm:
|
|
|
|
description: File permission check
|
|
|
|
include:
|
|
|
|
- .
|
|
|
|
extensions:
|
|
|
|
- .c
|
|
|
|
- .cc
|
|
|
|
- .cpp
|
|
|
|
- .h
|
|
|
|
- .html
|
2020-04-14 04:43:45 +03:00
|
|
|
- .idl
|
2020-03-14 16:34:15 +03:00
|
|
|
- .jsm
|
|
|
|
- .jsx
|
|
|
|
- .m
|
|
|
|
- .mm
|
2020-07-10 05:31:15 +03:00
|
|
|
- .png
|
2020-03-14 16:34:15 +03:00
|
|
|
- .rs
|
2020-07-10 05:31:15 +03:00
|
|
|
- .svg
|
2020-03-14 16:34:15 +03:00
|
|
|
- .xhtml
|
|
|
|
- .xml
|
|
|
|
- .xul
|
2020-07-10 05:31:15 +03:00
|
|
|
- .yml
|
2020-03-14 16:34:15 +03:00
|
|
|
support-files:
|
|
|
|
- 'tools/lint/file-perm/**'
|
|
|
|
type: external
|
2020-03-25 23:36:56 +03:00
|
|
|
payload: commlint:lint_wrapper
|
|
|
|
wraps: file-perm:lint
|
2020-07-10 06:01:21 +03:00
|
|
|
|
|
|
|
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
|