From 89e7b03d4a8216b3c06f8700de0046d641e44cc0 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Tue, 12 May 2020 09:54:12 -0700 Subject: [PATCH] Add format and lint on commit --- common/config/rush/pnpm-lock.yaml | 556 +++++++++++++++++++++++++++++- extensions/ql-vscode/package.json | 22 +- tsfmt.json | 1 + 3 files changed, 568 insertions(+), 11 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 55b94f8d2..a14b17488 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -51,9 +51,11 @@ dependencies: gulp: 4.0.2 gulp-sourcemaps: 2.6.5 gulp-typescript: 5.0.1_typescript@3.8.3 + husky: 4.2.5 js-yaml: 3.13.1 jsonc-parser: 2.1.1 leb: 0.3.0 + lint-staged: 10.2.2 minimist: 1.2.5 mocha: 6.2.2 mocha-sinon: 2.1.0 @@ -61,6 +63,7 @@ dependencies: npm-packlist: 1.4.8 npm-run-all: 4.1.5 plugin-error: 1.0.1 + prettier: 2.0.5 proxyquire: 2.1.3 react: 16.13.0 react-dom: 16.13.0_react@16.13.0 @@ -109,6 +112,12 @@ packages: dev: false resolution: integrity: sha512-HHxmgxbIzOfFlZ+tdeRKtaxWOMUoCG5Mu3wKeUmOxjYrwb3AAHgnmtCUbPPK11/raIWLIBK250t8E2BPO0p7jA== + /@babel/runtime/7.9.6: + dependencies: + regenerator-runtime: 0.13.5 + dev: false + resolution: + integrity: sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ== /@gulp-sourcemaps/identity-map/1.0.2: dependencies: acorn: 5.7.4 @@ -299,6 +308,14 @@ packages: node: '>=10' resolution: integrity: sha512-XNg0udEoe81rq1jTe3J9itbg8a4GwR/d1I7vSBdYdNU7qmmTilEy+2E+pu/VAL8PMIDRldplV3VkGDoiuN07Vw== + /@samverschueren/stream-to-observable/0.3.0: + dependencies: + any-observable: 0.3.0 + dev: false + engines: + node: '>=6' + resolution: + integrity: sha512-MI4Xx6LHs4Webyvi6EbspgyAb4D2Q2VtnCQ1blOJcoLS6mVa8lNN2rkIy1CVxfTUpoyIbCTkXES1rLXztFD1lg== /@sinonjs/commons/1.7.1: dependencies: type-detect: 4.0.8 @@ -462,6 +479,10 @@ packages: dev: false resolution: integrity: sha512-+0ZRUpPOs4Mvvwj/pftWb14fnPN/yS6nOp6HZFyIMDuUmyPtKXcO4/SPhyRGR6dUCAn1B3hHJozD/UCrU+Mmew== + /@types/parse-json/4.0.0: + dev: false + resolution: + integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== /@types/prop-types/15.7.3: dev: false resolution: @@ -847,6 +868,15 @@ packages: node: '>= 4.0.0' resolution: integrity: sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg== + /aggregate-error/3.0.1: + dependencies: + clean-stack: 2.2.0 + indent-string: 4.0.0 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-quoaXsZ9/BLNae5yiNoUz+Nhkwz83GhWwtYFglcjEQB2NDHCIpApbqXxIFnm4Pq/Nvhrsq5sYJFyohrrxnTGAA== /ajv-errors/1.0.1_ajv@6.12.0: dependencies: ajv: 6.12.0 @@ -967,6 +997,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-qCJQ3bABXponyoLoLqYDu/pF768= + /any-observable/0.3.0: + dev: false + engines: + node: '>=6' + resolution: + integrity: sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog== /any-promise/1.3.0: dev: false resolution: @@ -1128,6 +1164,12 @@ packages: node: '>=4' resolution: integrity: sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== + /astral-regex/2.0.0: + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== /async-done/1.3.2: dependencies: end-of-stream: 1.4.4 @@ -1287,6 +1329,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w== + /braces/3.0.2: + dependencies: + fill-range: 7.0.1 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== /brorand/1.1.0: dev: false resolution: @@ -1501,6 +1551,15 @@ packages: node: '>=8' resolution: integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== + /chalk/4.0.0: + dependencies: + ansi-styles: 4.2.1 + supports-color: 7.1.0 + dev: false + engines: + node: '>=10' + resolution: + integrity: sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A== /chardet/0.7.0: dev: false resolution: @@ -1560,6 +1619,10 @@ packages: node: '>=6.0' resolution: integrity: sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ== + /ci-info/2.0.0: + dev: false + resolution: + integrity: sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== /cipher-base/1.0.4: dependencies: inherits: 2.0.4 @@ -1582,6 +1645,12 @@ packages: dev: false resolution: integrity: sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q== + /clean-stack/2.2.0: + dev: false + engines: + node: '>=6' + resolution: + integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== /cli-cursor/2.1.0: dependencies: restore-cursor: 2.0.0 @@ -1606,6 +1675,15 @@ packages: node: '>= 0.2.0' resolution: integrity: sha1-9TsFJmqLGguTSz0IIebi3FkUriM= + /cli-truncate/2.1.0: + dependencies: + slice-ansi: 3.0.0 + string-width: 4.2.0 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg== /cli-width/2.2.0: dev: false resolution: @@ -1636,6 +1714,12 @@ packages: dev: false resolution: integrity: sha1-s3gt/4u1R04Yuba/D9/ngvh3doA= + /clone/1.0.4: + dev: false + engines: + node: '>=0.8' + resolution: + integrity: sha1-2jCcwmPfFZlMaIypAheco8fNfH4= /clone/2.1.2: dev: false engines: @@ -1726,6 +1810,12 @@ packages: dev: false resolution: integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + /commander/5.1.0: + dev: false + engines: + node: '>= 6' + resolution: + integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== /commandpost/1.4.0: dev: false resolution: @@ -1734,6 +1824,10 @@ packages: dev: false resolution: integrity: sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs= + /compare-versions/3.6.0: + dev: false + resolution: + integrity: sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA== /component-emitter/1.3.0: dev: false resolution: @@ -1800,6 +1894,18 @@ packages: dev: false resolution: integrity: sha1-tf1UIgqivFq1eqtxQMlAdUUDwac= + /cosmiconfig/6.0.0: + dependencies: + '@types/parse-json': 4.0.0 + import-fresh: 3.2.1 + parse-json: 5.0.0 + path-type: 4.0.0 + yaml: 1.9.2 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== /create-ecdh/4.0.3: dependencies: bn.js: 4.11.8 @@ -1847,6 +1953,16 @@ packages: node: '>=4.8' resolution: integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== + /cross-spawn/7.0.2: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + dev: false + engines: + node: '>= 8' + resolution: + integrity: sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw== /crypto-browserify/3.12.0: dependencies: browserify-cipher: 1.0.1 @@ -1977,6 +2093,10 @@ packages: node: '>=0.10' resolution: integrity: sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU= + /dedent/0.7.0: + dev: false + resolution: + integrity: sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= /deep-eql/3.0.1: dependencies: type-detect: 4.0.8 @@ -2003,6 +2123,12 @@ packages: node: '>= 0.10' resolution: integrity: sha1-vLgrqnKtebQmp2cy8aga1t8m1oQ= + /defaults/1.0.3: + dependencies: + clone: 1.0.4 + dev: false + resolution: + integrity: sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= /define-properties/1.1.3: dependencies: object-keys: 1.1.1 @@ -2199,6 +2325,12 @@ packages: hasBin: true resolution: integrity: sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g== + /elegant-spinner/2.0.0: + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-5YRYHhvhYzV/FC4AiMdeSIg3jAYGq9xFvbhZMpPlJoBsfYgrw2DSCYeXfat6tYBu45PWiyRr3+flaCPPmviPaA== /elliptic/6.5.2: dependencies: bn.js: 4.11.8 @@ -2257,6 +2389,14 @@ packages: node: '>=6.9.0' resolution: integrity: sha512-98p2zE+rL7/g/DzMHMTF4zZlCgeVdJ7yr6xzEpJRYwFYrGi9ANdn5DnJURg6RpBkyk60XYDnWIv51VfIhfNGuA== + /enquirer/2.3.5: + dependencies: + ansi-colors: 3.2.4 + dev: false + engines: + node: '>=8.6' + resolution: + integrity: sha512-BNT1C08P9XD0vNg3J475yIUG+mVdp9T6towYFHUv897X0KoHBjB1shyrNmhmtHWKP17iSWgo7Gqh7BBuzLZMSA== /entities/1.1.2: dev: false resolution: @@ -2532,6 +2672,22 @@ packages: node: '>=6' resolution: integrity: sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA== + /execa/4.0.1: + dependencies: + cross-spawn: 7.0.2 + get-stream: 5.1.0 + human-signals: 1.1.1 + is-stream: 2.0.0 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.0 + signal-exit: 3.0.2 + strip-final-newline: 2.0.0 + dev: false + engines: + node: '>=10' + resolution: + integrity: sha512-SCjM/zlBdOK8Q5TIjOn6iEHZaPHFsMoTxXQ2nvUvtPnuohz3H2dIozSg+etNR98dGoYUp2ENSKLL/XaMmbxVgw== /expand-brackets/2.1.4: dependencies: debug: 2.6.9 @@ -2688,6 +2844,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc= + /fill-range/7.0.1: + dependencies: + to-regex-range: 5.0.1 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== /find-cache-dir/2.1.0: dependencies: commondir: 1.0.1 @@ -2715,6 +2879,23 @@ packages: node: '>=6' resolution: integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== + /find-up/4.1.0: + dependencies: + locate-path: 5.0.0 + path-exists: 4.0.0 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + /find-versions/3.2.0: + dependencies: + semver-regex: 2.0.0 + dev: false + engines: + node: '>=6' + resolution: + integrity: sha512-P8WRou2S+oe222TOCHitLy8zj+SIsVJh52VP4lvXkaFVnOFFdoWv1H1Jjvel1aI6NCFOAaeAVm8qrI0odiLcww== /findup-sync/2.0.0: dependencies: detect-file: 1.0.0 @@ -2918,6 +3099,10 @@ packages: dev: false resolution: integrity: sha1-6td0q+5y4gQJQzoGY2YCPdaIekE= + /get-own-enumerable-property-symbols/3.0.2: + dev: false + resolution: + integrity: sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== /get-stream/4.1.0: dependencies: pump: 3.0.0 @@ -2926,6 +3111,14 @@ packages: node: '>=6' resolution: integrity: sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== + /get-stream/5.1.0: + dependencies: + pump: 3.0.0 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw== /get-value/2.0.6: dev: false engines: @@ -3318,6 +3511,31 @@ packages: node: '>= 4.5.0' resolution: integrity: sha512-OmvfoQ53WLjtA9HeYP9RNrWMJzzAz1JGaSFr1nijg0PVR1JaD/xbJq1mdEIIlxGpXp9eSe/O2LgU9DJmTPd0Eg== + /human-signals/1.1.1: + dev: false + engines: + node: '>=8.12.0' + resolution: + integrity: sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== + /husky/4.2.5: + dependencies: + chalk: 4.0.0 + ci-info: 2.0.0 + compare-versions: 3.6.0 + cosmiconfig: 6.0.0 + find-versions: 3.2.0 + opencollective-postinstall: 2.0.2 + pkg-dir: 4.2.0 + please-upgrade-node: 3.2.0 + slash: 3.0.0 + which-pm-runs: 1.0.0 + dev: false + engines: + node: '>=10' + hasBin: true + requiresBuild: true + resolution: + integrity: sha512-SYZ95AjKcX7goYVZtVZF2i6XiZcHknw50iXvY7b0MiGoj5RwdgRQNEHdb+gPDPCXKlzwrybjFjkL6FOj8uRhZQ== /iconv-lite/0.4.24: dependencies: safer-buffer: 2.1.2 @@ -3379,6 +3597,12 @@ packages: node: '>=0.8.19' resolution: integrity: sha1-khi5srkoojixPcT7a21XbyMUU+o= + /indent-string/4.0.0: + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== /indexes-of/1.0.1: dev: false resolution: @@ -3649,6 +3873,18 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ== + /is-number/7.0.0: + dev: false + engines: + node: '>=0.12.0' + resolution: + integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + /is-obj/1.0.1: + dev: false + engines: + node: '>=0.10.0' + resolution: + integrity: sha1-PkcprB9f3gJc19g6iW2rn09n2w8= /is-object/1.0.1: dev: false resolution: @@ -3679,6 +3915,12 @@ packages: node: '>= 0.4' resolution: integrity: sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ== + /is-regexp/1.0.0: + dev: false + engines: + node: '>=0.10.0' + resolution: + integrity: sha1-/S2INUXEa6xaYz57mgnof6LLUGk= /is-relative/1.0.0: dependencies: is-unc-path: 1.0.0 @@ -3693,6 +3935,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-EtSj3U5o4Lec6428hBc66A2RykQ= + /is-stream/2.0.0: + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== /is-string/1.0.5: dev: false engines: @@ -3958,10 +4206,50 @@ packages: dev: false resolution: integrity: sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw== + /lint-staged/10.2.2: + dependencies: + chalk: 4.0.0 + commander: 5.1.0 + cosmiconfig: 6.0.0 + debug: 4.1.1 + dedent: 0.7.0 + execa: 4.0.1 + listr2: 1.3.8 + log-symbols: 3.0.0 + micromatch: 4.0.2 + normalize-path: 3.0.0 + please-upgrade-node: 3.2.0 + string-argv: 0.3.1 + stringify-object: 3.3.0 + dev: false + hasBin: true + resolution: + integrity: sha512-78kNqNdDeKrnqWsexAmkOU3Z5wi+1CsQmUmfCuYgMTE8E4rAIX8RHW7xgxwAZ+LAayb7Cca4uYX4P3LlevzjVg== /listenercount/1.0.1: dev: false resolution: integrity: sha1-hMinKrWcRyUyFIDJdeZQg0LnCTc= + /listr2/1.3.8: + dependencies: + '@samverschueren/stream-to-observable': 0.3.0 + chalk: 3.0.0 + cli-cursor: 3.1.0 + cli-truncate: 2.1.0 + elegant-spinner: 2.0.0 + enquirer: 2.3.5 + figures: 3.2.0 + indent-string: 4.0.0 + log-update: 4.0.0 + p-map: 4.0.0 + pad: 3.2.0 + rxjs: 6.5.4 + through: 2.3.8 + uuid: 7.0.3 + dev: false + engines: + node: '>=10.0.0' + resolution: + integrity: sha512-iRDRVTgSDz44tBeBBg/35TQz4W+EZBWsDUq7hPpqeUHm7yLPNll0rkwW3lIX9cPAK7l+x95mGWLpxjqxftNfZA== /load-json-file/1.1.0: dependencies: graceful-fs: 4.2.3 @@ -4020,6 +4308,14 @@ packages: node: '>=6' resolution: integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== + /locate-path/5.0.0: + dependencies: + p-locate: 4.1.0 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== /lodash.get/4.4.2: dev: false resolution: @@ -4040,6 +4336,25 @@ packages: node: '>=4' resolution: integrity: sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg== + /log-symbols/3.0.0: + dependencies: + chalk: 2.4.2 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ== + /log-update/4.0.0: + dependencies: + ansi-escapes: 4.3.1 + cli-cursor: 3.1.0 + slice-ansi: 4.0.0 + wrap-ansi: 6.2.0 + dev: false + engines: + node: '>=10' + resolution: + integrity: sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg== /loose-envify/1.4.0: dependencies: js-tokens: 4.0.0 @@ -4204,6 +4519,10 @@ packages: dev: false resolution: integrity: sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= + /merge-stream/2.0.0: + dev: false + resolution: + integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== /micromatch/3.1.10: dependencies: arr-diff: 4.0.0 @@ -4224,6 +4543,15 @@ packages: node: '>=0.10.0' resolution: integrity: sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg== + /micromatch/4.0.2: + dependencies: + braces: 3.0.2 + picomatch: 2.2.2 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q== /miller-rabin/4.0.1: dependencies: bn.js: 4.11.8 @@ -4617,6 +4945,14 @@ packages: node: '>=4' resolution: integrity: sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= + /npm-run-path/4.0.1: + dependencies: + path-key: 3.1.1 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== /nth-check/1.0.2: dependencies: boolbase: 1.0.0 @@ -4775,6 +5111,11 @@ packages: node: '>=6' resolution: integrity: sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q== + /opencollective-postinstall/2.0.2: + dev: false + hasBin: true + resolution: + integrity: sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw== /optionator/0.8.3: dependencies: deep-is: 0.1.3 @@ -4881,12 +5222,28 @@ packages: node: '>=6' resolution: integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== + /p-locate/4.1.0: + dependencies: + p-limit: 2.2.2 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== /p-map/2.1.0: dev: false engines: node: '>=6' resolution: integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== + /p-map/4.0.0: + dependencies: + aggregate-error: 3.0.1 + dev: false + engines: + node: '>=10' + resolution: + integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== /p-reflect/2.1.0: dev: false engines: @@ -4908,6 +5265,14 @@ packages: node: '>=6' resolution: integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + /pad/3.2.0: + dependencies: + wcwidth: 1.0.1 + dev: false + engines: + node: '>= 4.0.0' + resolution: + integrity: sha512-2u0TrjcGbOjBTJpyewEl4hBO3OeX5wWue7eIFPzQTg6wFSvoaHcBTTUY5m+n0hd04gmTCPuY0kCpVIVuw5etwg== /pako/1.0.11: dev: false resolution: @@ -5029,6 +5394,12 @@ packages: node: '>=4' resolution: integrity: sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= + /path-exists/4.0.0: + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== /path-is-absolute/1.0.1: dev: false engines: @@ -5041,6 +5412,12 @@ packages: node: '>=4' resolution: integrity: sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= + /path-key/3.1.1: + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== /path-parse/1.0.6: dev: false resolution: @@ -5083,6 +5460,12 @@ packages: node: '>=4' resolution: integrity: sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== + /path-type/4.0.0: + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== /pathval/1.1.0: dev: false resolution: @@ -5103,6 +5486,12 @@ packages: dev: false resolution: integrity: sha1-elfrVQpng/kRUzH89GY9XI4AelA= + /picomatch/2.2.2: + dev: false + engines: + node: '>=8.6' + resolution: + integrity: sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== /pidtree/0.3.0: dev: false engines: @@ -5150,6 +5539,20 @@ packages: node: '>=6' resolution: integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw== + /pkg-dir/4.2.0: + dependencies: + find-up: 4.1.0 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + /please-upgrade-node/3.2.0: + dependencies: + semver-compare: 1.0.0 + dev: false + resolution: + integrity: sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg== /plugin-error/1.0.1: dependencies: ansi-colors: 1.1.0 @@ -5232,6 +5635,13 @@ packages: node: '>= 0.8.0' resolution: integrity: sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= + /prettier/2.0.5: + dev: false + engines: + node: '>=10.13.0' + hasBin: true + resolution: + integrity: sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg== /pretty-hrtime/1.0.3: dev: false engines: @@ -5767,6 +6177,10 @@ packages: node: '>= 8.9.0' resolution: integrity: sha512-5KXuwKziQrTVHh8j/Uxz+QUbxkaLW9X/86NBlx/gnKgtsZA2GIVMUn17qWhRFwF8jdYb3Dig5hRO/W5mZqy6SQ== + /semver-compare/1.0.0: + dev: false + resolution: + integrity: sha1-De4hahyUGrN+nvsXiPavxf9VN/w= /semver-greatest-satisfied-range/1.1.0: dependencies: sver-compat: 1.5.0 @@ -5775,6 +6189,12 @@ packages: node: '>= 0.10' resolution: integrity: sha1-E+jCZYq5aRywzXEJMkAoDTb3els= + /semver-regex/2.0.0: + dev: false + engines: + node: '>=6' + resolution: + integrity: sha512-mUdIBBvdn0PLOeP3TEkMH7HHeUP3GjsXCwKarjv/kGmUFOYg1VqEemKhoQpWMu6X2I8kHeuVdGibLGkVK+/5Qw== /semver/5.3.0: dev: false hasBin: true @@ -5829,12 +6249,26 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= + /shebang-command/2.0.0: + dependencies: + shebang-regex: 3.0.0 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== /shebang-regex/1.0.0: dev: false engines: node: '>=0.10.0' resolution: integrity: sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= + /shebang-regex/3.0.0: + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== /shell-quote/1.7.2: dev: false resolution: @@ -5876,6 +6310,12 @@ packages: dev: false resolution: integrity: sha512-iTTyiQo5T94jrOx7X7QLBZyucUJ2WvL9J13+96HMfm2CGoJYbIPqRfl6wgNcqmzk0DI28jeGx5bUTXizkrqBmg== + /slash/3.0.0: + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== /slice-ansi/2.1.0: dependencies: ansi-styles: 3.2.1 @@ -5886,6 +6326,26 @@ packages: node: '>=6' resolution: integrity: sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== + /slice-ansi/3.0.0: + dependencies: + ansi-styles: 4.2.1 + astral-regex: 2.0.0 + is-fullwidth-code-point: 3.0.0 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ== + /slice-ansi/4.0.0: + dependencies: + ansi-styles: 4.2.1 + astral-regex: 2.0.0 + is-fullwidth-code-point: 3.0.0 + dev: false + engines: + node: '>=10' + resolution: + integrity: sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== /snapdragon-node/2.1.1: dependencies: define-property: 1.0.0 @@ -6075,6 +6535,12 @@ packages: node: '>=4' resolution: integrity: sha1-ucczDHBChi9rFC3CdLvMWGbONUY= + /string-argv/0.3.1: + dev: false + engines: + node: '>=0.6.19' + resolution: + integrity: sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg== /string-width/1.0.2: dependencies: code-point-at: 1.1.0 @@ -6164,6 +6630,16 @@ packages: dev: false resolution: integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + /stringify-object/3.3.0: + dependencies: + get-own-enumerable-property-symbols: 3.0.2 + is-obj: 1.0.1 + is-regexp: 1.0.0 + dev: false + engines: + node: '>=4' + resolution: + integrity: sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw== /strip-ansi/3.0.1: dependencies: ansi-regex: 2.1.1 @@ -6228,6 +6704,12 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= + /strip-final-newline/2.0.0: + dev: false + engines: + node: '>=6' + resolution: + integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== /strip-json-comments/2.0.1: dev: false engines: @@ -6470,6 +6952,14 @@ packages: node: '>=0.10.0' resolution: integrity: sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg= + /to-regex-range/5.0.1: + dependencies: + is-number: 7.0.0 + dev: false + engines: + node: '>=8.0' + resolution: + integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== /to-regex/3.0.2: dependencies: define-property: 2.0.2 @@ -6777,6 +7267,11 @@ packages: dev: false resolution: integrity: sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ== + /uuid/7.0.3: + dev: false + hasBin: true + resolution: + integrity: sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg== /v8-compile-cache/2.0.3: dev: false resolution: @@ -6960,6 +7455,12 @@ packages: dev: false resolution: integrity: sha512-i6dHe3EyLjMmDlU1/bGQpEw25XSjkJULPuAVKCbNRefQVq48yXKUpwg538F7AZTf9kyr57zj++pQFltUa5H7yA== + /wcwidth/1.0.1: + dependencies: + defaults: 1.0.3 + dev: false + resolution: + integrity: sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= /webpack-cli/3.3.11_webpack@4.42.0: dependencies: chalk: 2.4.2 @@ -7030,6 +7531,10 @@ packages: dev: false resolution: integrity: sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= + /which-pm-runs/1.0.0: + dev: false + resolution: + integrity: sha1-Zws6+8VS4LVd9rd4DKdGFfI60cs= /which/1.3.1: dependencies: isexe: 2.0.0 @@ -7037,6 +7542,15 @@ packages: hasBin: true resolution: integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + /which/2.0.2: + dependencies: + isexe: 2.0.0 + dev: false + engines: + node: '>= 8' + hasBin: true + resolution: + integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== /wide-align/1.1.3: dependencies: string-width: 2.1.1 @@ -7078,6 +7592,16 @@ packages: node: '>=6' resolution: integrity: sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== + /wrap-ansi/6.2.0: + dependencies: + ansi-styles: 4.2.1 + string-width: 4.2.0 + strip-ansi: 6.0.0 + dev: false + engines: + node: '>=8' + resolution: + integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== /wrappy/1.0.2: dev: false resolution: @@ -7162,6 +7686,14 @@ packages: dev: false resolution: integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + /yaml/1.9.2: + dependencies: + '@babel/runtime': 7.9.6 + dev: false + engines: + node: '>= 6' + resolution: + integrity: sha512-HPT7cGGI0DuRcsO51qC1j9O16Dh1mZ2bnXwsi0jrSpsLz0WxOLSLXfkABVl6bZO629py3CU+OMJtpNHDLB97kg== /yargs-parser/13.1.1: dependencies: camelcase: 5.3.1 @@ -7304,7 +7836,7 @@ packages: peerDependencies: glob: '*' resolution: - integrity: sha512-NkoIMaJdASYX4NjcB+nsEk/8Ff/2RLvHwL0efNOny3no6aNuJ3EkpNK0ZdX7HQdmTdY3IJPmjoJ3Rn4pkbxgdA== + integrity: sha512-14DvfY6Fj3HXp2/CNJ2zNh9MA8zPw9mUcr8WqkSsYvJow7JMcIlJ//OOONwpoSWtfrk1bk6Cin7jj9H79ItHQQ== tarball: 'file:projects/build-tasks.tgz' version: 0.0.0 'file:projects/semmle-bqrs.tgz_typescript@3.8.3': @@ -7319,7 +7851,7 @@ packages: peerDependencies: typescript: '*' resolution: - integrity: sha512-lE3FBYrOVF1JH0ZqvF4YA+bed3JPWYucsnFe+XL140a/YR19XD+TTHIfov7VpR9qdyWfARgvmR+gf2qsguXTKQ== + integrity: sha512-24GdnvMbGfQIWMfgDhift+kYJDnG7dX03NrpX4ajZ2rckteysvq2/K7XI1OXGvUuqrt3m0/+GRDHpSI9XKDJJA== tarball: 'file:projects/semmle-bqrs.tgz' version: 0.0.0 'file:projects/semmle-io-node.tgz_typescript@3.8.3': @@ -7334,7 +7866,7 @@ packages: peerDependencies: typescript: '*' resolution: - integrity: sha512-MD9edC5HjrCfPmhktw6XmWotUmperj27/hDZiuMbuSlJ4jRKyiBtJ8Vk2Y4U41TrzsBlJfAwZW8tetPw5ujiLg== + integrity: sha512-Bj0ax/bASrHV7tamOuXZZdd3UOB4NBKdjdszIRaDvDRTu8RlEst+TVoUhkfy30qb2/6ePp3/juOJyyiBJN7u8Q== tarball: 'file:projects/semmle-io-node.tgz' version: 0.0.0 'file:projects/semmle-io.tgz_typescript@3.8.3': @@ -7348,7 +7880,7 @@ packages: peerDependencies: typescript: '*' resolution: - integrity: sha512-ta1lLi1COIeFwpwH523cWheWx6OE8GTqguQmOA7G6CwRF41RYbbREf/4KlOLKO/uG2akhhl+3gcWY2c5/VDC/A== + integrity: sha512-NtyviDSevxbd+hj4J66LucOzo8LU2hJ1Jh0eHw0Qu3tRZPUT8HcQlseyy29AvZR8n8eppfEZiAm/JdiHfmRPMA== tarball: 'file:projects/semmle-io.tgz' version: 0.0.0 'file:projects/semmle-vscode-utils.tgz': @@ -7360,14 +7892,14 @@ packages: dev: false name: '@rush-temp/semmle-vscode-utils' resolution: - integrity: sha512-Dbwt0/Wd0VNKkRZRjFQv3hmGy/UDt36HDtEDsNgZIcQACoY1j2+mJavpQ+ZzCg4Ftj06eHDVk+ptzUEd+8Ybzw== + integrity: sha512-5y5r8SDoN9Fp44naC9gUe8rOexeckXg2T0h9QCJAIcEgnFqOxzRc6Rv9gbMUStFKNh+rFlvmYmgPAdg5QkfgUg== tarball: 'file:projects/semmle-vscode-utils.tgz' version: 0.0.0 'file:projects/typescript-config.tgz': dev: false name: '@rush-temp/typescript-config' resolution: - integrity: sha512-qJbtY2jvt6LKkmUt/seiYyXSEB6Oip/rW+SxofQEnpyplgIQv7whTZb6g5pwlSLGl8goTaQFm4NfazKhFmxXvQ== + integrity: sha512-XuUIySaNoooIduvehnlKYaHqZJmmQoCqB1RtKhNszjCYZaSSJAnKVucViWBf5oNLKSNP7NchrD7gcoBlQ3xYvw== tarball: 'file:projects/typescript-config.tgz' version: 0.0.0 'file:projects/vscode-codeql.tgz': @@ -7411,12 +7943,15 @@ packages: gulp: 4.0.2 gulp-sourcemaps: 2.6.5 gulp-typescript: 5.0.1_typescript@3.8.3 + husky: 4.2.5 js-yaml: 3.13.1 + lint-staged: 10.2.2 minimist: 1.2.5 mocha: 6.2.2 mocha-sinon: 2.1.0 node-fetch: 2.6.0 npm-run-all: 4.1.5 + prettier: 2.0.5 proxyquire: 2.1.3 react: 16.13.0 react-dom: 16.13.0_react@16.13.0 @@ -7443,7 +7978,7 @@ packages: dev: false name: '@rush-temp/vscode-codeql' resolution: - integrity: sha512-NvThExJ3C239HdTehHzyqzEK+QWsk5QSq//jQ6/UPcxLZuH39nxQAbrSAozv2f19URIZCOIomf8T9vOi5mfY0w== + integrity: sha512-YwJoYdN8GMZlZHiLXhC1jw2BfrBJOpoCDtKQ78HphTslH7S94cUbASmZCgXKPkb9aIijsOY3JHE4/Od6lqB65w== tarball: 'file:projects/vscode-codeql.tgz' version: 0.0.0 registry: '' @@ -7500,9 +8035,11 @@ specifiers: gulp: ^4.0.2 gulp-sourcemaps: ^2.6.5 gulp-typescript: ^5.0.1 + husky: ~4.2.5 js-yaml: ^3.12.0 jsonc-parser: ~2.1.0 leb: ^0.3.0 + lint-staged: ~10.2.2 minimist: ~1.2.5 mocha: ~6.2.1 mocha-sinon: ~2.1.0 @@ -7510,6 +8047,7 @@ specifiers: npm-packlist: ~1.4.4 npm-run-all: ^4.1.5 plugin-error: ^1.0.1 + prettier: ~2.0.5 proxyquire: ~2.1.3 react: ^16.8.6 react-dom: ^16.8.6 @@ -7528,8 +8066,8 @@ specifiers: unzipper: ~0.10.5 vinyl: ^2.2.0 vsce: ^1.65.0 - vscode-jsonrpc: 5.0.1 - vscode-languageclient: 6.1.3 + vscode-jsonrpc: ^5.0.1 + vscode-languageclient: ^6.1.3 vscode-test: ^1.0.0 vscode-test-adapter-api: ~1.7.0 vscode-test-adapter-util: ~0.7.0 diff --git a/extensions/ql-vscode/package.json b/extensions/ql-vscode/package.json index b5fcf90ec..cb7c64746 100644 --- a/extensions/ql-vscode/package.json +++ b/extensions/ql-vscode/package.json @@ -465,7 +465,8 @@ "update-vscode": "node ./node_modules/vscode/bin/install", "postinstall": "node ./node_modules/vscode/bin/install", "format": "tsfmt -r", - "lint": "eslint src test --ext .ts,.tsx" + "lint": "eslint src test --ext .ts,.tsx", + "lint-staged": "lint-staged" }, "dependencies": { "child-process-promise": "^2.2.1", @@ -542,6 +543,23 @@ "@types/sinon-chai": "~3.2.3", "proxyquire": "~2.1.3", "@types/proxyquire": "~1.3.28", - "eslint-plugin-react": "~7.19.0" + "eslint-plugin-react": "~7.19.0", + "husky": "~4.2.5", + "lint-staged": "~10.2.2", + "prettier": "~2.0.5" + }, + "husky": { + "hooks": { + "pre-commit": "npm run lint-staged" + } + }, + "lint-staged": { + "./**/*.{json,css,scss,md}": [ + "prettier --write" + ], + "./**/*.{ts,tsx}": [ + "eslint --fix --debug", + "tsfmt -r" + ] } } diff --git a/tsfmt.json b/tsfmt.json index 871a24cc4..700ff37f9 100644 --- a/tsfmt.json +++ b/tsfmt.json @@ -1,5 +1,6 @@ { "newLineCharacter": "\n", + "convertTabsToSpaces": true, "indentStyle": 2, "insertSpaceAfterCommaDelimiter": true, "insertSpaceAfterSemicolonInForStatements": true,