gecko-dev/testing/eslint-plugin-mozilla
Dave Townsend d0ae98c6c8 Bug 1231828: Fix XBL preprocesser to properly handle fields, entities and handlers. r=miker
Fixing some XBL files turned up some bugs in the preprocessor:

* XBL fields aren't just simple JS assignements, they are entire JS blocks which
  are evaluated and the result used for the field. So we don't need eslint to
  parse them as an assignment.
* XBL text can contain entities, in general just replacing every entity with a
  valid JS token should retain the meaning well enough for eslint's purposes.
* Events can have names that aren't valid JS identifiers so just don't use them.

--HG--
extra : commitid : 65gYzRiXqKe
extra : rebase_source : 9a6bcdd22f63b4aba52052f4f4ad0f20e6a2b446
2015-12-10 17:15:23 -05:00
..
docs Bug 1229859 - Introduce new import-globals-from eslint rule to import globals from other modules; r=Mossop 2015-12-04 11:21:21 +01:00
lib Bug 1231828: Fix XBL preprocesser to properly handle fields, entities and handlers. r=miker 2015-12-10 17:15:23 -05:00
LICENSE
moz.build
package.json Bug 1229858: Add a preprocessor to convert XBL into JavaScript blocks for eslint. r=miker 2015-12-02 17:03:33 -08:00