Details
-
Task
-
Resolution: Unresolved
-
P2: Important
-
None
-
None
Description
Some task to collect all tasks about adding qmllint warnings required by qmlls to get feature parity with QtCreator on the warning level.
Also, you can find all qtc codemodel warnings in qmljsstaticanalysismessage.cpp's StaticAnalysisMessages::StaticAnalysisMessages() and qmljsstaticanalysismessage.h definition of Type enum (each enum value corresponds to a warning, see also their description in the StaticAnalysisMessages::StaticAnalysisMessages() constructor!)
- UnknownType
- ErrInvalidEnumValue
- ErrEnumValueMustBeStringOrNumber
- ErrNumberValueExpected
- ErrBooleanValueExpected
- ErrStringValueExpected
- ErrInvalidUrl
- WarnFileOrDirectoryDoesNotExist
- ErrInvalidColor
- ErrAnchorLineExpected
- ErrPropertiesCanOnlyHaveOneBinding
- ErrIdExpected
- ErrInvalidId
- ErrDuplicateId
- ErrInvalidPropertyName
- ErrDoesNotHaveMembers
- ErrInvalidMember
- WarnAssignmentInCondition
- WarnCaseWithoutFlowControl
- WarnEval
- WarnUnreachable
- WarnWith
- WarnComma
- WarnUnnecessaryMessageSuppression
- WarnAlreadyFormalParameter
- WarnAlreadyFunction
- WarnVarUsedBeforeDeclaration
- WarnAlreadyVar
- WarnDuplicateDeclaration
- WarnFunctionUsedBeforeDeclaration
- WarnBooleanConstructor
- WarnStringConstructor
- WarnObjectConstructor
- WarnArrayConstructor
- WarnFunctionConstructor
- HintAnonymousFunctionSpacing
- WarnBlock
- WarnVoid
- WarnConfusingPluses
- WarnConfusingMinuses
- HintDeclareVarsInOneLine
- HintExtraParentheses
- MaybeWarnEqualityTypeCoercion
- WarnConfusingExpressionStatement
- StateCannotHaveChildItem
- ErrTypeIsInstantiatedRecursively
- HintDeclarationsShouldBeAtStartOfFunction
- HintOneStatementPerLine
- WarnImperativeCodeNotEditableInVisualDesigner
- WarnUnsupportedTypeInVisualDesigner
- WarnReferenceToParentItemNotSupportedByVisualDesigner
- WarnUndefinedValueForVisualDesigner
- WarnStatesOnlyInRootItemForVisualDesigner
- ErrUnsupportedRootTypeInVisualDesigner
- ErrInvalidIdeInVisualDesigner
- ErrUnsupportedRootTypeInQmlUi
- ErrUnsupportedTypeInQmlUi
- ErrFunctionsNotSupportedInQmlUi
- ErrBlocksNotSupportedInQmlUi
- ErrBehavioursNotSupportedInQmlUi
- ErrStatesOnlyInRootItemInQmlUi
- ErrReferenceToParentItemNotSupportedInQmlUi
- WarnDoNotMixTranslationFunctionsInQmlUi
- ErrUnknownComponent
- ErrCouldNotResolvePrototypeOf
- ErrCouldNotResolvePrototype
- ErrPrototypeCycle
- ErrInvalidPropertyType
- WarnEqualityTypeCoercion
- WarnExpectedNewWithUppercaseFunction
- WarnNewWithLowercaseFunction
- WarnNumberConstructor
- HintBinaryOperatorSpacing
- WarnUnintentinalEmptyBlock
- HintPreferNonVarPropertyType
- ErrMissingRequiredProperty
- ErrObjectValueExpected
- ErrArrayValueExpected
- ErrDifferentValueExpected
- ErrSmallerNumberValueExpected
- ErrLargerNumberValueExpected
- ErrMaximumNumberValueIsExclusive
- ErrMinimumNumberValueIsExclusive
- ErrInvalidStringValuePattern
- ErrLongerStringValueExpected
- ErrShorterStringValueExpected
- ErrInvalidArrayValueLength
- ErrHitMaximumRecursion
- ErrToManyComponentChildren
- WarnComponentRequiresChildren
- WarnDuplicateImport
- ErrAliasReferRoot
- WarnAliasReferRootHierarchy
Attachments
Issue Links
- depends on
-
QTBUG-127107 qmllint does not warn about redeclaration of JS variables
- Reported
-
QTBUG-127558 qmllint does not know about destroy() in Item and Rectangle, only in QtObject
- Reported
-
QTBUG-127323 qmllint warnings disappear sometimes
- Open
-
QTBUG-118074 qmllint does not complain about invalid import URL
- In Progress
-
QTBUG-118102 qmllint: no complaints for duplicate properties
- Reported
-
QTBUG-118326 qmllint: warn for assignments inside of if conditions
- Reported
-
QTBUG-126715 qmllint: complain about duplicate inline components
- Reported
-
QTBUG-127325 qmllint does not warn about duplicate imports
- Reported
-
QTBUG-114487 Absorb Qt Creator's QmlJS tool into standard QML tools
- Closed
- is required for
-
QTBUG-97637 QML Language Server Support for IDEs (like VSCode, QtC)
- In Progress
-
QTBUG-116644 qmlls/qmllint: support quickfixes from the old codemodel
- Reported
-
QTCREATORBUG-31037 Enable QML Language Server by default
- Open
- relates to
-
QTBUG-126607 qmlls does not complain about limitations of .ui.qml files
- Reported
-
QTBUG-127294 qmllint: too many warnings when accessing an attached type from a value type
- Reported
-
QTBUG-112338 Unify qmllint disable/enable comments with QML annotations and Qt Creator's @disable-check
- Reported
-
QTBUG-117300 qmllint does not warn about enum with the same name as their value
- Reported
-
QTBUG-114985 qmllint: warn when shadowing signals and handlers
- Reported
-
QTBUG-118148 qmllint: warn about duplicate names
- Reported
-
QTBUG-119781 qmllint: Warn against enum declarations in elements other than root element
- Reported
-
QTBUG-127108 qmllint: split the unqualified category up
- Reported
-
QTBUG-118323 qmllint: produce warnings for string to valuetype conversions
- Open