Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25204

Allow JSLint-style code checks to be ignored on a specific line or block of code

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • None
    • Qt Creator 4.14.0
    • Quick / QML Support
    • None

    Description

      Something like is already supported by jshint and eslint:

      // eslint-disable-next-line no-use-before-define
      var thing = new Thing();
      
      var thing = new Thing(); // eslint-disable-line no-use-before-define
      
      /* jshint ignore:start*/
      var thing = new Thing();
      /* jshint ignore:end */
      
      var thing = new Thing(); // jshint ignore:line
      

      References:

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            fawzi Fawzi Mohamed
            tbraunjones_gentuity Taylor Braun-Jones
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes