openscd / open-scd

A substation configuration description editor for projects using SCL IEC 61850-6 Edition 2 or greater
https://openscd.github.io
Apache License 2.0
93 stars 31 forks source link

Stabilise OpenSCD Platform #1531

Open trusz opened 3 months ago

trusz commented 3 months ago
Sander3003 commented 1 month ago

Let's see if we can harmonize the this story with the goals below.

Goal: stable plaform

Definition of done:

Correct placements of components and plug-ins;

Components should in OSCD/components

Plug-ins should be packages/plug-ins/

no more flake tests

When we migrate plug-ins into their own plug-ins directory; we can to make sure that the test in that plug-in that the assertions on doc modifications are correct (use code coverage?)

80% test coverage for plug-ins

Prettify project / ESlint should be part of the pre-commit-hook; Use the Airbnb rules (ESlint config)

Exclude: end to end test

TODO;

Example ESlint config `Add @nx/eslint