зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1575250 - Run the check for trailing whitespaces and Windows CR in the CI r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D43360 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
71f8303be7
Коммит
cf254e9cad
|
@ -223,6 +223,23 @@ rustfmt:
|
|||
- '**/*.rs'
|
||||
|
||||
|
||||
file-whitespace:
|
||||
description: Check for trailing whitespaces and Windows CR
|
||||
platform: lint/opt
|
||||
treeherder:
|
||||
symbol: file-whitespace
|
||||
run:
|
||||
mach: lint -l file-whitespace -f treeherder -f json:/builds/worker/mozlint.json
|
||||
when:
|
||||
files-changed:
|
||||
- '**/*.c'
|
||||
- '**/*.cc'
|
||||
- '**/*.cpp'
|
||||
- '**/*.h'
|
||||
- '**/*.py'
|
||||
- '**/*.rs'
|
||||
|
||||
|
||||
file-perm:
|
||||
description: Check for incorrect permissions on source files
|
||||
platform: lint/opt
|
||||
|
|
Загрузка…
Ссылка в новой задаче