1. Create bazel rules\macro for eslint, use it everywhere instead of
direct run eslint from npm. Cleanup all duplicated\unused eslint
pieces.
The macro can be reused to define rules for other folders and\or
typescript.
2. Convert eslint configuration to .js. It improves flexibility and
allows comments in config files.
3. Add eslint-plugin-import and configuration for it.
Change-Id: Ic599a4cd088842f195ecf22ca67e1835fcd9b559
Switching to npm packages requires a new way to define licenses for
javascript libraries. This change adds a tool to generate json
licenses map and also adds some examples how to define licenses.
Change-Id: I80ba0ec5ef7853c517073566dfb34a5caebd5dcb
Switching from bower to npm packages requires to use JavaScript rules
for Bazel (rules_nodejs). This change adds rules_nodejs to gerrit and
also adds empty package.json files for future usage.
Change-Id: I09ee3e0ffbf1d185669c54cdb0db86760bfd35c8