aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/snippets
diff options
context:
space:
mode:
authorSami Shalayel <sami.shalayel@qt.io>2025-07-09 11:00:32 +0200
committerSami Shalayel <sami.shalayel@qt.io>2025-07-11 16:02:55 +0200
commited87050f5a697f957c2e357b985e7564b0e3200f (patch)
treeb2b8113c5063eae738d4f77685323f66ec1c2066 /src/qml/doc/snippets
parent70e0daf318086ce293879dfbc25a61f2a7b34466 (diff)
doc: qmllint: update settings file
The settings file in the docs looks quite old: replace it with a fresh version obtained by "qmllint --write-defaults". Pick-to: 6.10 Change-Id: I46b12f6b5164ea1880fb63b5408b4b3494eb2d93 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/snippets')
-rw-r--r--src/qml/doc/snippets/qmllint/config.ini73
1 files changed, 66 insertions, 7 deletions
diff --git a/src/qml/doc/snippets/qmllint/config.ini b/src/qml/doc/snippets/qmllint/config.ini
index 29fa21438a..f4fc70b760 100644
--- a/src/qml/doc/snippets/qmllint/config.ini
+++ b/src/qml/doc/snippets/qmllint/config.ini
@@ -1,19 +1,78 @@
[General]
-AdditionalQmlImportPaths=
DisableDefaultImports=false
-OverwriteImportTypes=
-ResourcePath=
+MaxWarnings=-1
[Warnings]
-BadSignalHandler=warning
+AccessSingletonViaObject=warning
+AliasCycle=warning
+AssignmentInCondition=warning
+AttachedPropertyReuse=disable
+BadSignalHandlerParameters=warning
+Comma=warning
+CompilerWarnings=disable
+ComponentChildrenCount=warning
+ConfusingExpressionStatement=warning
+ConfusingMinuses=warning
+ConfusingPluses=warning
+ContextProperties=warning
Deprecated=warning
+DuplicateEnumEntries=warning
+DuplicateImport=warning
+DuplicateInlineComponent=warning
+DuplicatePropertyBinding=warning
+DuplicatedName=warning
+EnumEntryMatchesEnum=warning
+EnumsAreNotTypes=warning
+EqualityTypeCoercion=warning
+Eval=warning
+FunctionUsedBeforeDeclaration=disable
ImportFailure=warning
+IncompatibleType=warning
InheritanceCycle=warning
+InvalidLintDirective=warning
+LintPluginWarnings=disable
+LiteralConstructor=warning
+MissingEnumEntry=warning
+MissingProperty=warning
+MissingType=warning
MultilineStrings=info
-PropertyAlias=warning
+NonListProperty=warning
+NonRootEnum=warning
+PreferNonVarProperties=warning
+PrefixedImportType=warning
+PropertyAliasCycles=warning
+QtDesignStudio.FunctionsNotSupportedInQmlUi=warning
+QtDesignStudio.ImperativeCodeNotEditableInVisualDesigner=warning
+QtDesignStudio.InvalidIdeInVisualDesigner=warning
+QtDesignStudio.ReferenceToParentItemNotSupportedByVisualDesigner=warning
+QtDesignStudio.UnsupportedRootTypeInQmlUi=warning
+QtDesignStudio.UnsupportedTypeInQmlUi=warning
+Quick.Anchors=warning
+Quick.AttachedPropertyReuse=disable
+Quick.AttachedPropertyType=warning
+Quick.Color=warning
+Quick.ControlsAttachedPropertyReuse=disable
+Quick.ControlsNativeCustomize=warning
+Quick.LayoutsPositioning=warning
+Quick.PropertyChangesParsed=warning
+Quick.StateNoChildItem=warning
+Quick.UnexpectedVarType=warning
+ReadOnlyProperty=warning
+RedundantOptionalChaining=warning
RequiredProperty=warning
-TypeError=warning
-UnknownProperty=warning
+RestrictedType=warning
+StalePropertyRead=warning
+TopLevelComponent=warning
+TranslationFunctionMismatch=warning
+UncreatableType=warning
+UnintentionalEmptyBlock=warning
UnqualifiedAccess=warning
+UnreachableCode=warning
+UnresolvedAlias=warning
+UnresolvedType=warning
+UnterminatedCase=warning
UnusedImports=info
+UseProperFunction=warning
+VarUsedBeforeDeclaration=warning
+Void=disable
WithStatement=warning