Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-141233

Allow fixing a specific warning with qmllint

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • None
    • QML: Tooling
    • None

      It's possible to do this by qmllint --write-defaults and then disabling (commenting out) all of the warnings except the ones you want to fix, but forgetting to re-enable them could be a problem.

      Olivier proposed a --no-default-categories argument:

      --ignore-settings --no-default-categories --unqualified warning --fix
      

      Having something like this would be useful.

        For Gerrit Dashboard: QTBUG-141233
        # Subject Branch Project Status CR V

            olivier.decanniere Olivier De Cannière
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change