[plasma/kwin] /: chore: globally disable i18n unqualified warnings for qmllint
Kristen McWilliam <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 4e2ff36ddd4926c49f8c61ec02f4b40fcab612db by Kristen McWilliam. Committed on 05/08/2026 at 21:47. Pushed by merritt into branch 'master'. chore: globally disable i18n unqualified warnings for qmllint QML LSP doesn't currently work with our i18n functions, so disable the lint warnings for them until that's fixed. The .contextProperties.ini allows us to set this globally for all QML files in the project, rather than adding per-line disable comments. https://archive.is/V6RKS#selection-1667.0-1671.0:~:text=Context%20property%20settings A +10 -0 .contextProperties.ini https://invent.kde.org/plasma/kwin/-/commit/4e2ff36ddd4926c49f8c61ec02f4b40fcab612db diff --git a/.contextProperties.ini b/.contextProperties.ini new file mode 100644 index 00000000000..9f2c6b98063 --- /dev/null +++ b/.contextProperties.ini @@ -0,0 +1,10 @@ +# SPDX-FileCopyrightText: 2026 Kristen McWilliam <[email protected]> +# +# SPDX-License-Identifier: BSD-2-Clause + +# Configuration file for qmllint + +[General] +# QML LSP doesn't currently work with our i18n functions, +# so disable the lint warnings for them until that is fixed. +disableUnqualifiedAccess = "i18nc,xi18nc,i18ncp,i18n"