5 Commits

Author SHA1 Message Date
Dmitrii Filippov
3d7ad5534b Add eslint rules for modules and fix imports
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
2020-04-01 12:30:53 +02:00
Milutin Kristofic
c55db4aad1 Add lint rule for license in js files
Change-Id: Icced042c376e4bb7f8c98f2c01875a5427411ad2
2020-03-03 14:33:23 +01:00
dependabot[bot]
27ccd19a11 Bump lodash.template from 4.4.0 to 4.5.0
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Change-Id: Icf92f91cd2902c0d7512571c0bca60715226a525
Signed-off-by: dependabot[bot] <support@github.com>
2020-02-14 10:41:25 +00:00
Dmitrii Filippov
047240b40f Tools to generate license map for npm packages
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
2020-02-12 15:29:39 +00:00
Dmitrii Filippov
3f49f9103f Add rules_nodejs and npm managed directories
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
2020-02-12 15:29:31 +00:00