From 7ad2eb3e203ecd29f2ce0465bc117e02e5f216db Mon Sep 17 00:00:00 2001 From: Kristen McWilliam Date: Mon, 26 Jan 2026 14:31:47 -0500 Subject: [PATCH] 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 --- .contextProperties.ini | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .contextProperties.ini diff --git a/.contextProperties.ini b/.contextProperties.ini new file mode 100644 index 0000000..9f2c6b9 --- /dev/null +++ b/.contextProperties.ini @@ -0,0 +1,10 @@ +# SPDX-FileCopyrightText: 2026 Kristen McWilliam +# +# 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"