📄️ Rules
This section documents all rules currently provided by eslint-plugin-jupyter.
📄️ command-described-by
Ensure JupyterLab command registrations include a describedBy property.
📄️ no-pageconfig-base-url
Disallow calling PageConfig.getBaseUrl() outside of makeSettings().
📄️ no-schema-enum
Disallow enum in settings JSON schema files; use oneOf with const and title instead.
📄️ no-translation-concatenation
Forbid string concatenation inside JupyterLab translation wrapper calls.
📄️ no-untranslated-string
Require user-facing string literals to be wrapped in a translation call such as trans.().
📄️ plugin-activation-args
Ensure JupyterLab plugin activate arguments match the order and count of requires and optional tokens.
📄️ plugin-description
Ensure all JupyterFrontEndPlugin objects define a non-empty description property.
📄️ require-soft-assertions-before-snapshots
Require expect.soft() for snapshot assertions that are not the last in a Playwright test block.
📄️ token-format
Ensure JupyterLab Token ids follow the : naming convention where the symbol is a valid JavaScript identifier.