[wp-trac] [WordPress Trac] #43828: Add JSDoc ESLint script

WordPress Trac noreply at wordpress.org
Thu Jun 20 14:30:27 UTC 2019


#43828: Add JSDoc ESLint script
-------------------------------------------------+-------------------------
 Reporter:  netweb                               |       Owner:  netweb
     Type:  task (blessed)                       |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.3
Component:  Build/Test Tools                     |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-       |     Focuses:  javascript
  refresh                                        |
-------------------------------------------------+-------------------------

Comment (by kamataryo):

 The patch `43828.3.diff` includes:
   - inherit `.eslintignore` from the existing `43828.diff` patch and match
 it current status
   - inherit `.eslingrc.js` from the existing `43828.diff` patch
   - `package.json` update to set `@wordpress/scripts` as a dependency
   - Also npm scripts `npm run lint:js` is added to run it

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43828#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list