Uploaded image for project: 'Opencast'
  1. MH-13095

Add linter (checkstyle) for JavaScript

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects versions: 6.0
    • Fix versions: None
    • Components: Tests

      Description

      For a long time, Opencast has an automated style checker for all Java
      code included in the project which ensured a mostly homogeneous style.
      For JavaScript, we talked about introducing checks for a while but never
      made any progress.

      This patch introduces eslint as example linter for the runtime-info-ui
      module. From here, this can be extended to other modules. Rules are not
      configured to be very strict. The most notably enforcement is probably
      the 2 space indention rule.

        TestRail: Results

          Attachments

            Activity

              People

              • Assignee:
                lkiesow Lars Kiesow
                Reporter:
                lkiesow Lars Kiesow
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  TestRail: Cases