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

Upgrade stylelint configuration to match 15.x version migration recommendations

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 4.4
    • HTML and CSS, JavaScript
    • MOODLE_404_STABLE

    Description

      Stylelint has been bumped from version 13 to 15 at MDL-79003. Its configuration can be improved following migration guide outlined at https://stylelint.io/migration-guide/to-14 and https://stylelint.io/migration-guide/to-15, in particular:

      • Using stylelint-config-standard-scss and stylelint-config-standard rule bundles.
      • Differentiate file-type specific rules in .stylelintrc rather than in grunt config (potentially this can be expanded to other types if needed).
      • Start using @stylistic/stylelint-plugin that has migrated the deprecated rules (or use https://github.com/prettier/stylelint-prettier)
      • Add stylelint-no-unsupported-browser-features plugin (css only), so it will tell us if there are support issue, so we will have some browserlist awareness earlier.

      Attachments

        Issue Links

          Activity

            People

              kabalin Ruslan Kabalin
              kabalin Ruslan Kabalin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Clockify

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