@o3r/o3r-widget-tags

Ensures that the tags @o3rWidget and @o3rWidgetParam are used with correct values.

[!WARNING] This rule must be configured to be used.

How to use

Example :
{
  "@o3r/o3r-widget-tags": [
    "error",
    {
      "supportedInterfaceNames": ["NestedConfiguration", "Configuration", "CustomConfigurationInterface"],
      "widgets": {
        "widgetName1": {
          "param1": "string",
          "param2": "number",
          "param3": "boolean",
          "param4": "string[]",
          "param5": "number[]",
          "param6": "boolean[]",
        },
        "widgetName2": {}
      }
    }
  ]
}

results matching ""

    No results matching ""