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

Add stylelint config and make less compliant with CS (part 1)

XMLWordPrintable

    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-55167-master
    • Hide

      Repeat on windows/linux at least:

      1. Run npm install - ensure your dependencies are up to date
      2. Run `grunt css` and ensure less files are linted
      3. Verify no lint errors are reported
      4. Run `grunt` and ensure the executation completes
      5. Verify no built files have been changed
      Show
      Repeat on windows/linux at least: Run npm install - ensure your dependencies are up to date Run `grunt css` and ensure less files are linted Verify no lint errors are reported Run `grunt` and ensure the executation completes Verify no built files have been changed

      Stage one of adding stylelint, is getting the basics in place and keeping our less files linted

      1. Add stylelint config matching css coding style
      2. Add stylelint checking to grunt
      3. Ensure less files pass lint before building
      4. Fix all the stylistic lint errors in less (which don't impact on actual built css, the ones which affect the css will be fixed in MDL-55165)

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Simey Lameze Simey Lameze
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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