Replace eslint-plugin-jquery with eslint-plugin-no-jquery

Created on 13 September 2024, 3 months ago

Problem/Motivation

For removing jQuery from core we rely on eslint-plugin-jquery which is starting to show it's age. In issues like [#], we could use the new options that eslint-plugin-no-jquery provides.

eslint-plugin-no-jquery was a fork of the package we use and is maintained by wikimedia: https://github.com/wikimedia/eslint-plugin-no-jquery it adds a bunch of things we'd be interested in such as no-jquery/variable-pattern.

Proposed resolution

Replace eslint-plugin-jquery with eslint-plugin-no-jquery, and update the config in core/.eslintrc.jquery.json (replacing jquery with no-jquery should be enough).

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
JavascriptΒ  β†’

Last updated 3 days ago

Created by

πŸ‡«πŸ‡·France nod_ Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024