Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-6130

Require new JS modules to be written in ES6

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: Coding style
    • Labels:
      None

      Description

      Policy: New JS modules have to be written in ES6

      Since 17th July 2020, this rule applies:

      1. Require new JS modules to be written on ES6.

       


      We only currently recommend devs to write new JS modules in ES6. Since we're moving towards ES6, perhaps it's about time that we require new JS modules to be written in ES6 instead of AMD?

      Voting

      Option A
      • Require new JS modules to be written on ES6.
      Option B
      • Leave things as they are: Writing new JS modules using ES6 is recommended, but still optional. Devs can still write new JS modules using AMD if they prefer to.

        Attachments

          Activity

            People

            Assignee:
            jpataleta Jun Pataleta
            Reporter:
            jpataleta Jun Pataleta
            Participants:
            Component watchers:
            Marina Glancy, Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: