Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 314084

Replace valid-jsdoc rule with eslint-plugin-jsdoc for eslint

$
0
0

Problem/Motivation

Drupal's ESLint configuration, which contrib projects are also encouraged to use, uses the valid-jsdoc rule, which has been deprecated.

The ESLint team recommends using eslint-plugin-jsdoc instead.

Proposed resolution

Stop using the valid-jsdoc rule in Drupal's ESLint configuration. Begin using eslint-plugin-jsdoc instead. For now, configure eslint-plugin-jsdoc similarly to how the valid-jsdoc is configured now, to minimize rework. In the future, consider using more features from eslint-plugin-jsdoc, as it is quite a bit more powerful than the valid-jsdoc rule.

Remaining tasks

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 314084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>