[wp-trac] [WordPress Trac] #43828: Add JSDoc ESLint script
WordPress Trac
noreply at wordpress.org
Mon Jul 27 23:34:07 UTC 2020
#43828: Add JSDoc ESLint script
-------------------------------------+-------------------------
Reporter: netweb | Owner: netweb
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 5.5
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+-------------------------
Changes (by whyisjake):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"48650" 48650]:
{{{
#!CommitTicketReference repository="" revision="48650"
Build/Test Tools: Enable JSDocs to be linted with ESLint.
As part of the [Javascript Inline Docs
Initiative](https://make.wordpress.org/core/handbook/docs/inline/js/) this
add some tooling to lint Javascript docblocks. Two new commands:
* `npm run lint:jsdoc`
* `npm run lint:jsdoc:fix`
The latter will run the linter and try to fix an possible issues
automatically.
Fixes #43828.
Props netweb, atimmer, kamataryo, whyisjake.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43828#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list