Commit graph

6 commits

Author SHA1 Message Date
libraryupgrader be197b8c57 build: Updating grunt to 1.3.0
* https://npmjs.com/advisories/577 (CVE-2018-3721)
* https://npmjs.com/advisories/745
* https://npmjs.com/advisories/782 (CVE-2018-16487)
* https://npmjs.com/advisories/788
* https://npmjs.com/advisories/813
* https://npmjs.com/advisories/1065 (CVE-2019-10744)
* https://npmjs.com/advisories/1523 (CVE-2019-10744)

Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".
* Committed package-lock.json (T179229) too.
* Consolidated .phpcs.xml encoding to "UTF-8" (T200956).
* Dropped .php5 and .inc files from .phpcs.xml (T200956).
* Also sorted "composer fix" command to run phpcbf last.
* Added the "composer phan" command to conveniently run phan.
* Set `root: true` in .eslintrc.json (T206485).
* Enable eslint caching.

Change-Id: I226ec86e0b2ed01892047197f2cb7bb3f1ca9fa8
2021-01-02 20:02:56 +00:00
Timo Tijhof 7726ed6a5e build: Simplify linter configs
* eslint: Already excludes node_modules by default.
  https://eslint.org/docs/user-guide/configuring#ignoring

* eslint: Expands directories by default, much faster to
  let ESLint crawl the directories while knowing what to exclude,
  then to let Grunt expand **/** recursively run each file
  individually.
  This makes Grunt run ESLint the same way as one normally
  would from the command line: `eslint .`, except without
  the eslint CLI sub-process.

* eslint: Preserve the exclude for vendor via eslint config
  so that it also works when running ESLint outside Grunt,
  e.g. in IDEs or from the command line with extra options.

* stylelint: Ignores node_modules by default.
  https://stylelint.io/user-guide/node-api/#files

Change-Id: I1a78e9d93e7666c1539bcf4a3bc50306cecf89ba
(cherry picked from commit 20f34321f4)
2018-05-01 19:58:43 +00:00
Cindy Cicalese 3c36f7452a Update CI files, dir structure, remove inline JS.
Bug:T191546
Bug:T191919
Change-Id: Ia7ed03a98972262d164fd131bcb84994ad279c7f
2018-04-11 17:21:08 +00:00
Antoine Musso 1978596bb5 build: mark package.json as private
We do not release a npm package for this repository, the package.json
is solely for CI/build purposes.

Change-Id: I3da11273ff7876e83fdb278a504f9b1589e69991
2017-08-01 15:55:45 +02:00
Antoine Musso 2e8cf3413a Reorder package.json devDependencies
Change-Id: Ie2a174ba9a2f2689a4fece8f746de1c7935b25c0
2017-08-01 15:55:12 +02:00
Paladox 826c44afc4 Add npm entry point
Change-Id: If89e3c94c49cc4d0f9ca7fa30cbfed772ba58493
2016-06-02 12:07:58 +00:00