gecko-dev/tools/lint/mingw-capitalization.yml
Andrew Halberstadt e04895a098 Bug 1373368 - [mozlint] Raise if a non-existant path is specified in a lint config, r=standard8
Since I left the next two patches to bitrot, I realized that a path I had added
didn't exist anymore. We should definitely error out if non-existant paths are
specified, otherwise the lists will become outdated and it will be possible to
accidentally disable linting on some files.

I discovered a few instances of this already in our existing definitions.

MozReview-Commit-ID: 8jsTKLI0nFE

--HG--
extra : rebase_source : acceb0b129fc472fb456ff527e4c8c52228edd59
2018-03-29 14:50:17 -04:00

27 lines
1.0 KiB
YAML

---
mingw-capitalization:
description: >
"A Windows include file is not lowercase, and may break the MinGW build"
extensions: ['h', 'cpp', 'cc', 'c']
include: ['.']
exclude:
# We do not compile WebRTC with MinGW yet
- media/webrtc
- media/mtransport/third_party/nrappkit/src/util/util.c
- gfx/angle/checkout/src/common/tls.cpp
- gfx/cairo/cairo/src/cairo-atomic-private.h
- gfx/harfbuzz/src/hb-directwrite.cc
- gfx/skia/skia/src/xps/SkXPSDevice.cpp
- gfx/skia/skia/src/xps/SkXPSDevice.h
- gfx/skia/skia/src/xps/SkXPSDocument.h
- ipc/chromium/src/third_party/libevent
- modules/freetype2/builds/mac/ftmac.c
- other-licenses/7zstub
- security/nss/nss-tool/common/util.cc
- toolkit/crashreporter/google-breakpad/src/tools/windows
- toolkit/crashreporter/google-breakpad/src/common/windows
- third_party/python/psutil/psutil
type: external
level: warning
payload: cpp.mingw-capitalization:lint