Bug 1642825 - mozlint: Run the rejected-words linter in the CI r=Gijs,linter-reviewers,ahal

Depends on D78158

Differential Revision: https://phabricator.services.mozilla.com/D78230
This commit is contained in:
Sylvestre Ledru 2020-06-16 17:03:46 +00:00
Родитель 47b3629cd9
Коммит cb7d556407
1 изменённых файлов: 28 добавлений и 0 удалений

Просмотреть файл

@ -58,6 +58,34 @@ codespell:
- '**/*.ftl'
- 'tools/lint/codespell.yml'
rejected-words:
description: Reject some words we don't want to use in the code base
treeherder:
symbol: text(rejected-words)
# We don't want patches to be backed out because of this, a follow up bug will be
# good enough
tier: 2
run:
mach: lint -v -l rejected-words -f treeherder -f json:/builds/worker/mozlint.json *
when:
files-changed:
- '**/*.js'
- '**/*.jsm'
- '**/*.jxs'
- '**/*.xml'
- '**/*.html'
- '**/*.xhtml'
- '**/*.cpp'
- '**/*.c'
- '**/*.h'
- '**/*.configure'
- '**/*.py'
- '**/*.properties'
- '**/*.rst'
- '**/*.ftl'
- 'tools/lint/rejected-words.yml'
cpp-virtual-final:
description: lint C++ virtual function declarations
treeherder: