Skip to content

Add @jupyter/eslint-plugin#7856

Open
Darshan808 wants to merge 2 commits intojupyter:mainfrom
Darshan808:include-jupyter-eslint-plugin
Open

Add @jupyter/eslint-plugin#7856
Darshan808 wants to merge 2 commits intojupyter:mainfrom
Darshan808:include-jupyter-eslint-plugin

Conversation

@Darshan808
Copy link

Description

This PR integrates @jupyter/eslint-plugin into the Jupyter Notebook codebase.

The plugin is being actively developed to catch common issues and enforce best practices across Jupyter frontend projects, including JupyterLab, Notebook, and extensions. An early version is now available on npm, and this PR enables us to start validating the Notebook codebase against these rules.

Code changes

  • Updated eslint.config.mjs to include the @jupyter/eslint-plugin.
  • Enabled the following rules:
'jupyter/command-described-by': 'warn',
'jupyter/plugin-activation-args': 'error',
'jupyter/plugin-description': 'warn',

These settings follow the recommended configuration for Jupyter extensions.
We may consider making command-described-by and plugin-description stricter (error) if we decide to enforce them strictly across the codebase.

User-facing changes

None

Backwards-incompatible changes

None

@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2026

Binder 👈 Launch a Binder on branch Darshan808/notebook/include-jupyter-eslint-plugin

@jtpio jtpio added this to the 7.6.0 milestone Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants