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 is 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
This commit is contained in:
Kristen McWilliam committed 2026-01-30 10:36:33 -05:00
1 parent 62cbc59182
commit 7ad2eb3e20
1 file changed
+10
+10
View File
@@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: 2026 Kristen McWilliam <kristen@kde.org>
#
# 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"