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

Replace csslint with stylelint and better control

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Themes
    • Labels:
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Epic Name:
      Stylelint

      Description

      http://stylelint.io is a modern CSS linter which shared a lot of commonality with eslint. It's got a growing community with Wordpress, Facebook, Wikimedia and GitHub adopting it.

      Nice overview of stylelint and why you would want to do it: https://css-tricks.com/stylelint/

      This issue is about defining rules and linting from grunt. We can do this for plain css and less now, but it is flexible to support scss or whatever comes next too.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    5/Dec/16