Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-73486

Clean some stylelint warnings @ blocks/private_files/styles.css

XMLWordPrintable

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-73486-master
    • Hide

      For this test you will need access to the console, have nodejs installed and be able to run command 'grunt css'

      1. Login to your console
      2. Navigate to your Moodle's root folder
      3. Run "npm install"
      4. Run "npm install -g grunt"
      5. Run "grunt css"
      6. Verify the output for running "Stylelint:css" has no warnings
      Show
      For this test you will need access to the console, have nodejs installed and be able to run command 'grunt css' Login to your console Navigate to your Moodle's root folder Run "npm install" Run "npm install -g grunt" Run "grunt css" Verify the output for running "Stylelint:css" has no warnings

      While they aren't errors and everything passes and work ok, there are a few warnings when running stylelint:

      $ npx grunt css
      Running "ignorefiles" task
       
      Running "stylelint:scss" (stylelint) task
      >> Linted 166 files without errors
       
      Running "sass:dist" (sass) task
       
      Running "ignorefiles" task
       
      Running "stylelint:css" (stylelint) task
      >> blocks/private_files/styles.css
      >>  52:144  ⚠  Expected line length to be no more than 132 characters   max-line-length
      >>  53:144  ⚠  Expected line length to be no more than 132 characters   max-line-length
      >>  68:158  ⚠  Expected line length to be no more than 132 characters   max-line-length
      >> Linted 116 files without errors
       
      Done.
      

      it would be great to get rid of them. Don't know if via ignore annotations or really shortening the lines, I'm happy with any.

      Absolutely not-critical, but better get 100% green executions.

      Ciao

            basbrands Bas Brands
            stronk7 Eloy Lafuente (stronk7)
            Luca Bösch Luca Bösch
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.