44 строки
827 B
YAML
44 строки
827 B
YAML
---
|
|
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
|