[wp-trac] [WordPress Trac] #35465: Improve wp.Backbone docs

WordPress Trac noreply at wordpress.org
Sun Apr 22 11:04:21 UTC 2018


#35465: Improve wp.Backbone docs
----------------------------------------+-------------------------------
 Reporter:  ericlewis                   |       Owner:  gma992
     Type:  enhancement                 |      Status:  reopened
 Priority:  normal                      |   Milestone:  5.0
Component:  General                     |     Version:  3.5
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:  javascript, docs
----------------------------------------+-------------------------------

Comment (by netweb):

 Replying to [comment:18 birgire]:
 > ps: how would we run this on a specific .js file?

 For the time being, this should work:
 * `./node_modules/.bin/eslint --config .eslintrc-jsdoc.js src/wp-
 includes/js/wp-backbone.js`

 And, if you tack `--fix` onto the end it will automagically fix 13 of the
 17 errors for you ✨
 * `./node_modules/.bin/eslint --config .eslintrc-jsdoc.js src/wp-
 includes/js/wp-backbone.js --fix`

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


More information about the wp-trac mailing list