[wp-trac] [WordPress Trac] #42850: jshint.js uses non-free license

WordPress Trac noreply at wordpress.org
Sat Dec 9 04:39:44 UTC 2017


#42850: jshint.js uses non-free license
--------------------------+-----------------------------
 Reporter:  csmall2       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 In version 4.9 of WordPress a series of linters were added to the editors
 to make sure that changes made to things such as themes still worked. This
 is a good idea.

 Unfortunately the linter used for Javascript was jshint. This has a single
 file which uses the "Do not use for Evil" clause.  It basically means
 anything that uses that file is unable to be distributed. In effect, if
 anyone makes a WordPress site that is "evil" (whatever that means) they're
 breaking the license.

 You can find the file in wp-includes/js/codemirror/jshint.js

 The jshint project is aware of the problem and are trying to fix it.
 https://github.com/jshint/jshint/issues/1234

 I'll be making modifications to the Debian package to just not ship jshint
 which is a shame but brings it back to pre 4.9 behaviour. Ideally I'd like
 it fixed in WordPress proper.

 Given WordPress does care about the licenses (e.g the React changes) you
 may want to look into this as well.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42850>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list