releases-comm-central/tools/lint/file-perm.yml

58 строки
1.0 KiB
YAML

---
file-perm:
description: File permission check
include:
- comm/
extensions:
- .build
- .c
- .cc
- .cpp
- .flac
- .h
- .html
- .idl
- .js
- .jsm
- .jsx
- .m
- .md
- .m4s
- .mjs
- .mm
- .mozbuild
- .mp4
- .png
- .rs
- .rst
- .svg
- .toml
- .ttf
- .wasm
- .webidl
- .xhtml
- .xml
- .xul
- .yaml
- .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