mirror of https://github.com/qt/qtdoc.git
FX&MaterialShowroom: Add a configuration file for qmlllint
The example is currently in a state where qmllint produces almost no warnings, and should generally be kept in such a state. Thus, add a configuration file that sets the warning limit to "0", such that running the all_qmllint target for the example will fail if any warning is produced, with the additional strictness hopefully helping keeping the example almost warning-free. Some warnings were disabled, instead of fixed, due to a compatibility issue with Qt Design Studio, but should be fixed if that incompatibility is resolved. Pick-to: 6.10 Fixes: QTBUG-138170 Change-Id: Ibbbf17892f6be1b7b549718df16036d6a57c3022 Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
This commit is contained in:
parent
d0b655dda8
commit
6749ea650e
|
@ -0,0 +1,11 @@
|
||||||
|
[General]
|
||||||
|
MaxWarnings=0
|
||||||
|
|
||||||
|
[Warnings]
|
||||||
|
# Qt Design Studio .ui.qml files do not support non-target based
|
||||||
|
# PropertyChanges instances.
|
||||||
|
# qmllint, on the other hand, warns about them.
|
||||||
|
# To be compatible with Qt Design Studio we currently disable this
|
||||||
|
# warning, considering that there are many instances of it being
|
||||||
|
# triggered in ui.qml files.
|
||||||
|
Quick.PropertyChangesParsed=disable
|
Loading…
Reference in New Issue