Rules
This section documents all rules currently provided by eslint-plugin-jupyter.
Available rules
- command-described-by
- no-schema-enum
- no-translation-concatenation
- no-pageconfig-base-url
- no-untranslated-string
- plugin-activation-args
- plugin-description
- require-soft-assertions-before-snapshots
- token-format
Each page includes intent, examples, configuration, and when to apply the rule.
Recommended ruleset
The plugin ships with a recommended configuration that enables all current rules with the following defaults:
¹ Applied only to **/*.spec.{ts,js} and **/*.test.{ts,js} files.
² Applied only to **/schema/*.json files
These defaults are the same in both jupyterPlugin.configs.recommended (flat config) and plugin:@jupyter/eslint-plugin/recommended-legacy.
For guidance on using these recommended rules, see the User Guide.