From 1b547886d065b3759282baea0e36e3c85fb6fc2f Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Thu, 8 Dec 2016 13:46:08 -0800 Subject: [PATCH] build(tslint): enable no-inner-declarations (#13316) --- npm-shrinkwrap.clean.json | 173 ++++++++++++++++++++++- npm-shrinkwrap.json | 282 +++++++++++++++++++++++++++++++++++++- package.json | 1 + tslint.json | 6 +- 4 files changed, 457 insertions(+), 5 deletions(-) diff --git a/npm-shrinkwrap.clean.json b/npm-shrinkwrap.clean.json index dcc73e32fd..5f40d80371 100644 --- a/npm-shrinkwrap.clean.json +++ b/npm-shrinkwrap.clean.json @@ -1,6 +1,6 @@ { "name": "angular-srcs", - "version": "2.3.0-beta.0", + "version": "2.3.0", "dependencies": { "@types/angularjs": { "version": "1.5.13-alpha" @@ -80,6 +80,9 @@ "angular-mocks": { "version": "1.5.0" }, + "ansi-align": { + "version": "1.1.0" + }, "ansi-green": { "version": "0.1.1" }, @@ -1390,6 +1393,14 @@ } } }, + "boxen": { + "version": "0.6.0", + "dependencies": { + "camelcase": { + "version": "2.1.1" + } + } + }, "brace-expansion": { "version": "1.1.6" }, @@ -1416,6 +1427,9 @@ "buffer-crc32": { "version": "0.2.5" }, + "buffer-shims": { + "version": "1.0.0" + }, "buffers": { "version": "0.1.1" }, @@ -1434,6 +1448,9 @@ "camelcase-keys": { "version": "2.0.0" }, + "capture-stack-trace": { + "version": "1.0.0" + }, "caseless": { "version": "0.11.0" }, @@ -1471,6 +1488,9 @@ } } }, + "cli-boxes": { + "version": "1.0.0" + }, "cli-color": { "version": "1.1.0", "dependencies": { @@ -1542,6 +1562,14 @@ "concat-map": { "version": "0.0.1" }, + "configstore": { + "version": "2.1.0", + "dependencies": { + "graceful-fs": { + "version": "4.1.11" + } + } + }, "connect": { "version": "3.4.0" }, @@ -1673,6 +1701,9 @@ } } }, + "create-error-class": { + "version": "3.0.2" + }, "cryptiles": { "version": "2.0.5" }, @@ -1717,6 +1748,9 @@ "decamelize": { "version": "1.1.2" }, + "deep-extend": { + "version": "0.4.1" + }, "defaults": { "version": "1.0.3" }, @@ -1741,6 +1775,9 @@ "diff": { "version": "2.2.1" }, + "doctrine": { + "version": "0.7.2" + }, "dom-serialize": { "version": "2.2.1" }, @@ -1856,6 +1893,9 @@ "estree-walker": { "version": "0.2.1" }, + "esutils": { + "version": "1.1.6" + }, "etag": { "version": "1.7.0" }, @@ -1954,6 +1994,9 @@ "fill-range": { "version": "2.2.3" }, + "filled-array": { + "version": "1.1.0" + }, "finalhandler": { "version": "0.4.0" }, @@ -2544,6 +2587,20 @@ "glogg": { "version": "1.0.0" }, + "got": { + "version": "5.7.1", + "dependencies": { + "duplexer2": { + "version": "0.1.4" + }, + "isarray": { + "version": "1.0.0" + }, + "readable-stream": { + "version": "2.2.2" + } + } + }, "graceful-fs": { "version": "3.0.8" }, @@ -2764,6 +2821,9 @@ "ieee754": { "version": "1.1.8" }, + "imurmurhash": { + "version": "0.1.4" + }, "incremental-dom": { "version": "0.4.1" }, @@ -2824,6 +2884,9 @@ "is-my-json-valid": { "version": "2.12.3" }, + "is-npm": { + "version": "1.0.0" + }, "is-number": { "version": "2.1.0" }, @@ -2845,6 +2908,15 @@ "is-property": { "version": "1.0.2" }, + "is-redirect": { + "version": "1.0.0" + }, + "is-retry-allowed": { + "version": "1.1.0" + }, + "is-stream": { + "version": "1.1.0" + }, "is-subset": { "version": "0.1.1" }, @@ -3039,9 +3111,15 @@ "klaw": { "version": "1.1.3" }, + "latest-version": { + "version": "2.0.0" + }, "lazy-cache": { "version": "0.2.7" }, + "lazy-req": { + "version": "1.1.0" + }, "lazystream": { "version": "0.1.0", "dependencies": { @@ -3149,6 +3227,9 @@ "loud-rejection": { "version": "1.2.0" }, + "lowercase-keys": { + "version": "1.0.0" + }, "lru-cache": { "version": "2.7.3" }, @@ -3431,6 +3512,9 @@ "node-source-walk": { "version": "1.4.2" }, + "node-status-codes": { + "version": "1.0.0" + }, "node-uuid": { "version": "1.4.7" }, @@ -3501,9 +3585,18 @@ "os-locale": { "version": "1.4.0" }, + "os-tmpdir": { + "version": "1.0.2" + }, + "osenv": { + "version": "0.1.3" + }, "over": { "version": "0.0.5" }, + "package-json": { + "version": "2.4.0" + }, "pako": { "version": "0.2.8" }, @@ -3578,6 +3671,9 @@ "pkginfo": { "version": "0.3.1" }, + "prepend-http": { + "version": "1.0.4" + }, "preserve": { "version": "0.2.0" }, @@ -3680,12 +3776,26 @@ } } }, + "rc": { + "version": "1.1.6" + }, "react": { "version": "0.14.5" }, "read": { "version": "1.0.5" }, + "read-all-stream": { + "version": "3.1.0", + "dependencies": { + "isarray": { + "version": "1.0.0" + }, + "readable-stream": { + "version": "2.2.2" + } + } + }, "read-pkg": { "version": "1.1.0" }, @@ -3721,6 +3831,12 @@ "regex-cache": { "version": "0.4.2" }, + "registry-auth-token": { + "version": "3.1.0" + }, + "registry-url": { + "version": "3.1.0" + }, "repeat-element": { "version": "1.1.2" }, @@ -3920,6 +4036,9 @@ "semver": { "version": "5.1.0" }, + "semver-diff": { + "version": "2.1.0" + }, "semver-utils": { "version": "1.1.1" }, @@ -3974,6 +4093,9 @@ } } }, + "slide": { + "version": "1.1.6" + }, "sntp": { "version": "1.0.9" }, @@ -4115,6 +4237,9 @@ "strip-indent": { "version": "1.0.1" }, + "strip-json-comments": { + "version": "1.0.4" + }, "success-symbol": { "version": "0.1.0" }, @@ -4155,6 +4280,9 @@ "tildify": { "version": "1.1.2" }, + "timed-out": { + "version": "3.0.0" + }, "timers-browserify": { "version": "1.4.2" }, @@ -4252,6 +4380,23 @@ } } }, + "tslint-eslint-rules": { + "version": "3.1.0", + "dependencies": { + "diff": { + "version": "3.1.0" + }, + "glob": { + "version": "7.1.1" + }, + "resolve": { + "version": "1.1.7" + }, + "tslint": { + "version": "4.0.2" + } + } + }, "tty-browserify": { "version": "0.0.0" }, @@ -4339,6 +4484,12 @@ } } }, + "unzip-response": { + "version": "1.0.2" + }, + "update-notifier": { + "version": "1.0.3" + }, "url": { "version": "0.10.3", "dependencies": { @@ -4347,6 +4498,9 @@ } } }, + "url-parse-lax": { + "version": "1.0.0" + }, "user-home": { "version": "1.1.1" }, @@ -4370,6 +4524,9 @@ "utils-merge": { "version": "1.0.0" }, + "uuid": { + "version": "2.0.3" + }, "v8flags": { "version": "2.0.11" }, @@ -4558,6 +4715,9 @@ "which": { "version": "1.2.10" }, + "widest-line": { + "version": "1.0.0" + }, "window-size": { "version": "0.1.4" }, @@ -4576,9 +4736,20 @@ "wrench": { "version": "1.5.8" }, + "write-file-atomic": { + "version": "1.2.0", + "dependencies": { + "graceful-fs": { + "version": "4.1.11" + } + } + }, "ws": { "version": "1.1.1" }, + "xdg-basedir": { + "version": "2.0.0" + }, "xml2js": { "version": "0.4.15" }, diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 3025a436b4..f1dc0115b6 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "angular-srcs", - "version": "2.3.0-beta.0", + "version": "2.3.0", "dependencies": { "@types/angularjs": { "version": "1.5.13-alpha", @@ -128,6 +128,11 @@ "from": "angular-mocks@1.5.0", "resolved": "https://registry.npmjs.org/angular-mocks/-/angular-mocks-1.5.0.tgz" }, + "ansi-align": { + "version": "1.1.0", + "from": "ansi-align@>=1.1.0 <2.0.0", + "resolved": "https://registry.npmjs.org/ansi-align/-/ansi-align-1.1.0.tgz" + }, "ansi-green": { "version": "0.1.1", "from": "ansi-green@>=0.1.1 <0.2.0", @@ -2162,6 +2167,18 @@ } } }, + "boxen": { + "version": "0.6.0", + "from": "boxen@>=0.6.0 <0.7.0", + "resolved": "https://registry.npmjs.org/boxen/-/boxen-0.6.0.tgz", + "dependencies": { + "camelcase": { + "version": "2.1.1", + "from": "camelcase@>=2.1.0 <3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz" + } + } + }, "brace-expansion": { "version": "1.1.6", "from": "brace-expansion@>=1.0.0 <2.0.0", @@ -2204,6 +2221,11 @@ "from": "buffer-crc32@>=0.2.1 <0.3.0", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.5.tgz" }, + "buffer-shims": { + "version": "1.0.0", + "from": "buffer-shims@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz" + }, "buffers": { "version": "0.1.1", "from": "buffers@>=0.1.1 <0.2.0", @@ -2234,6 +2256,11 @@ "from": "camelcase-keys@>=2.0.0 <3.0.0", "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.0.0.tgz" }, + "capture-stack-trace": { + "version": "1.0.0", + "from": "capture-stack-trace@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz" + }, "caseless": { "version": "0.11.0", "from": "caseless@>=0.11.0 <0.12.0", @@ -2293,6 +2320,11 @@ } } }, + "cli-boxes": { + "version": "1.0.0", + "from": "cli-boxes@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-1.0.0.tgz" + }, "cli-color": { "version": "1.1.0", "from": "cli-color@>=1.0.0 <2.0.0", @@ -2406,6 +2438,18 @@ "from": "concat-map@0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" }, + "configstore": { + "version": "2.1.0", + "from": "configstore@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/configstore/-/configstore-2.1.0.tgz", + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "from": "graceful-fs@>=4.1.2 <5.0.0", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz" + } + } + }, "connect": { "version": "3.4.0", "from": "connect@>=3.2.0 <4.0.0", @@ -2619,6 +2663,11 @@ } } }, + "create-error-class": { + "version": "3.0.2", + "from": "create-error-class@>=3.0.1 <4.0.0", + "resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz" + }, "cryptiles": { "version": "2.0.5", "from": "cryptiles@>=2.0.0 <3.0.0", @@ -2691,6 +2740,11 @@ "from": "decamelize@>=1.1.1 <2.0.0", "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.1.2.tgz" }, + "deep-extend": { + "version": "0.4.1", + "from": "deep-extend@>=0.4.0 <0.5.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.1.tgz" + }, "defaults": { "version": "1.0.3", "from": "defaults@>=1.0.0 <2.0.0", @@ -2731,6 +2785,11 @@ "from": "diff@>=2.0.2 <3.0.0", "resolved": "https://registry.npmjs.org/diff/-/diff-2.2.1.tgz" }, + "doctrine": { + "version": "0.7.2", + "from": "doctrine@>=0.7.2 <0.8.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-0.7.2.tgz" + }, "dom-serialize": { "version": "2.2.1", "from": "dom-serialize@>=2.2.0 <3.0.0", @@ -2916,6 +2975,11 @@ "from": "estree-walker@>=0.2.1 <0.3.0", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.2.1.tgz" }, + "esutils": { + "version": "1.1.6", + "from": "esutils@>=1.1.6 <2.0.0", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-1.1.6.tgz" + }, "etag": { "version": "1.7.0", "from": "etag@>=1.7.0 <1.8.0", @@ -3074,6 +3138,11 @@ "from": "fill-range@>=2.1.0 <3.0.0", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz" }, + "filled-array": { + "version": "1.1.0", + "from": "filled-array@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/filled-array/-/filled-array-1.1.0.tgz" + }, "finalhandler": { "version": "0.4.0", "from": "finalhandler@0.4.0", @@ -4032,6 +4101,28 @@ "from": "glogg@>=1.0.0 <2.0.0", "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.0.tgz" }, + "got": { + "version": "5.7.1", + "from": "got@>=5.0.0 <6.0.0", + "resolved": "https://registry.npmjs.org/got/-/got-5.7.1.tgz", + "dependencies": { + "duplexer2": { + "version": "0.1.4", + "from": "duplexer2@>=0.1.4 <0.2.0", + "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.1.4.tgz" + }, + "isarray": { + "version": "1.0.0", + "from": "isarray@>=1.0.0 <1.1.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" + }, + "readable-stream": { + "version": "2.2.2", + "from": "readable-stream@>=2.0.5 <3.0.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz" + } + } + }, "graceful-fs": { "version": "3.0.8", "from": "graceful-fs@>=3.0.2 <3.1.0", @@ -4384,6 +4475,11 @@ "from": "ieee754@>=1.1.4 <2.0.0", "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.8.tgz" }, + "imurmurhash": { + "version": "0.1.4", + "from": "imurmurhash@>=0.1.4 <0.2.0", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" + }, "incremental-dom": { "version": "0.4.1", "from": "incremental-dom@latest", @@ -4484,6 +4580,11 @@ "from": "is-my-json-valid@>=2.12.3 <3.0.0", "resolved": "https://registry.npmjs.org/is-my-json-valid/-/is-my-json-valid-2.12.3.tgz" }, + "is-npm": { + "version": "1.0.0", + "from": "is-npm@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz" + }, "is-number": { "version": "2.1.0", "from": "is-number@>=2.1.0 <3.0.0", @@ -4519,6 +4620,21 @@ "from": "is-property@>=1.0.0 <2.0.0", "resolved": "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz" }, + "is-redirect": { + "version": "1.0.0", + "from": "is-redirect@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz" + }, + "is-retry-allowed": { + "version": "1.1.0", + "from": "is-retry-allowed@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz" + }, + "is-stream": { + "version": "1.1.0", + "from": "is-stream@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz" + }, "is-subset": { "version": "0.1.1", "from": "is-subset@>=0.1.1 <0.2.0", @@ -4833,11 +4949,21 @@ "from": "klaw@>=1.0.0 <2.0.0", "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.1.3.tgz" }, + "latest-version": { + "version": "2.0.0", + "from": "latest-version@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/latest-version/-/latest-version-2.0.0.tgz" + }, "lazy-cache": { "version": "0.2.7", "from": "lazy-cache@>=0.2.4 <0.3.0", "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-0.2.7.tgz" }, + "lazy-req": { + "version": "1.1.0", + "from": "lazy-req@>=1.1.0 <2.0.0", + "resolved": "https://registry.npmjs.org/lazy-req/-/lazy-req-1.1.0.tgz" + }, "lazystream": { "version": "0.1.0", "from": "lazystream@>=0.1.0 <0.2.0", @@ -5011,6 +5137,11 @@ "from": "loud-rejection@>=1.0.0 <2.0.0", "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.2.0.tgz" }, + "lowercase-keys": { + "version": "1.0.0", + "from": "lowercase-keys@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz" + }, "lru-cache": { "version": "2.7.3", "from": "lru-cache@>=2.0.0 <3.0.0", @@ -5457,6 +5588,11 @@ "from": "node-source-walk@>=1.4.0 <1.5.0", "resolved": "https://registry.npmjs.org/node-source-walk/-/node-source-walk-1.4.2.tgz" }, + "node-status-codes": { + "version": "1.0.0", + "from": "node-status-codes@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/node-status-codes/-/node-status-codes-1.0.0.tgz" + }, "node-uuid": { "version": "1.4.7", "from": "node-uuid@>=1.4.0 <1.5.0", @@ -5571,11 +5707,26 @@ "from": "os-locale@>=1.4.0 <2.0.0", "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz" }, + "os-tmpdir": { + "version": "1.0.2", + "from": "os-tmpdir@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz" + }, + "osenv": { + "version": "0.1.3", + "from": "osenv@>=0.1.0 <0.2.0", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.3.tgz" + }, "over": { "version": "0.0.5", "from": "over@>=0.0.5 <1.0.0", "resolved": "https://registry.npmjs.org/over/-/over-0.0.5.tgz" }, + "package-json": { + "version": "2.4.0", + "from": "package-json@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/package-json/-/package-json-2.4.0.tgz" + }, "pako": { "version": "0.2.8", "from": "pako@>=0.2.0 <0.3.0", @@ -5698,6 +5849,11 @@ "from": "pkginfo@>=0.3.0 <0.4.0", "resolved": "https://registry.npmjs.org/pkginfo/-/pkginfo-0.3.1.tgz" }, + "prepend-http": { + "version": "1.0.4", + "from": "prepend-http@>=1.0.1 <2.0.0", + "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz" + }, "preserve": { "version": "0.2.0", "from": "preserve@>=0.2.0 <0.3.0", @@ -5864,6 +6020,11 @@ } } }, + "rc": { + "version": "1.1.6", + "from": "rc@>=1.1.6 <2.0.0", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.1.6.tgz" + }, "react": { "version": "0.14.5", "from": "react@>=0.14.0 <0.15.0", @@ -5874,6 +6035,23 @@ "from": "read@1.0.5", "resolved": "https://registry.npmjs.org/read/-/read-1.0.5.tgz" }, + "read-all-stream": { + "version": "3.1.0", + "from": "read-all-stream@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/read-all-stream/-/read-all-stream-3.1.0.tgz", + "dependencies": { + "isarray": { + "version": "1.0.0", + "from": "isarray@~1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" + }, + "readable-stream": { + "version": "2.2.2", + "from": "readable-stream@^2.0.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.2.2.tgz" + } + } + }, "read-pkg": { "version": "1.1.0", "from": "read-pkg@>=1.0.0 <2.0.0", @@ -5931,6 +6109,16 @@ "from": "regex-cache@>=0.4.2 <0.5.0", "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.2.tgz" }, + "registry-auth-token": { + "version": "3.1.0", + "from": "registry-auth-token@>=3.0.1 <4.0.0", + "resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.1.0.tgz" + }, + "registry-url": { + "version": "3.1.0", + "from": "registry-url@>=3.0.3 <4.0.0", + "resolved": "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz" + }, "repeat-element": { "version": "1.1.2", "from": "repeat-element@>=1.1.2 <2.0.0", @@ -6252,6 +6440,11 @@ "from": "semver@5.1.0", "resolved": "https://registry.npmjs.org/semver/-/semver-5.1.0.tgz" }, + "semver-diff": { + "version": "2.1.0", + "from": "semver-diff@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/semver-diff/-/semver-diff-2.1.0.tgz" + }, "semver-utils": { "version": "1.1.1", "from": "semver-utils@>=1.1.1 <2.0.0", @@ -6338,6 +6531,11 @@ } } }, + "slide": { + "version": "1.1.6", + "from": "slide@>=1.1.5 <2.0.0", + "resolved": "https://registry.npmjs.org/slide/-/slide-1.1.6.tgz" + }, "sntp": { "version": "1.0.9", "from": "sntp@>=1.0.0 <2.0.0", @@ -6561,6 +6759,11 @@ "from": "strip-indent@>=1.0.1 <2.0.0", "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz" }, + "strip-json-comments": { + "version": "1.0.4", + "from": "strip-json-comments@>=1.0.4 <1.1.0", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz" + }, "success-symbol": { "version": "0.1.0", "from": "success-symbol@>=0.1.0 <0.2.0", @@ -6625,6 +6828,11 @@ "from": "tildify@>=1.0.0 <2.0.0", "resolved": "https://registry.npmjs.org/tildify/-/tildify-1.1.2.tgz" }, + "timed-out": { + "version": "3.0.0", + "from": "timed-out@>=3.0.0 <4.0.0", + "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-3.0.0.tgz" + }, "timers-browserify": { "version": "1.4.2", "from": "timers-browserify@>=1.0.1 <2.0.0", @@ -6780,6 +6988,33 @@ } } }, + "tslint-eslint-rules": { + "version": "3.1.0", + "from": "tslint-eslint-rules@>=3.1.0 <4.0.0", + "resolved": "https://registry.npmjs.org/tslint-eslint-rules/-/tslint-eslint-rules-3.1.0.tgz", + "dependencies": { + "diff": { + "version": "3.1.0", + "from": "diff@>=3.0.1 <4.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-3.1.0.tgz" + }, + "glob": { + "version": "7.1.1", + "from": "glob@>=7.1.1 <8.0.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz" + }, + "resolve": { + "version": "1.1.7", + "from": "resolve@>=1.1.7 <2.0.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz" + }, + "tslint": { + "version": "4.0.2", + "from": "tslint@>=4.0.0 <5.0.0", + "resolved": "https://registry.npmjs.org/tslint/-/tslint-4.0.2.tgz" + } + } + }, "tty-browserify": { "version": "0.0.0", "from": "tty-browserify@>=0.0.0 <0.1.0", @@ -6921,6 +7156,16 @@ } } }, + "unzip-response": { + "version": "1.0.2", + "from": "unzip-response@>=1.0.2 <2.0.0", + "resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-1.0.2.tgz" + }, + "update-notifier": { + "version": "1.0.3", + "from": "update-notifier@>=1.0.2 <2.0.0", + "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-1.0.3.tgz" + }, "url": { "version": "0.10.3", "from": "url@>=0.10.1 <0.11.0", @@ -6933,6 +7178,11 @@ } } }, + "url-parse-lax": { + "version": "1.0.0", + "from": "url-parse-lax@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz" + }, "user-home": { "version": "1.1.1", "from": "user-home@>=1.1.1 <2.0.0", @@ -6970,6 +7220,11 @@ "from": "utils-merge@1.0.0", "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz" }, + "uuid": { + "version": "2.0.3", + "from": "uuid@>=2.0.1 <3.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.3.tgz" + }, "v8flags": { "version": "2.0.11", "from": "v8flags@>=2.0.2 <3.0.0", @@ -7274,6 +7529,11 @@ "from": "which@>=1.0.9 <2.0.0", "resolved": "https://registry.npmjs.org/which/-/which-1.2.10.tgz" }, + "widest-line": { + "version": "1.0.0", + "from": "widest-line@>=1.0.0 <2.0.0", + "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz" + }, "window-size": { "version": "0.1.4", "from": "window-size@>=0.1.4 <0.2.0", @@ -7304,11 +7564,28 @@ "from": "wrench@>=1.5.8 <1.6.0", "resolved": "https://registry.npmjs.org/wrench/-/wrench-1.5.8.tgz" }, + "write-file-atomic": { + "version": "1.2.0", + "from": "write-file-atomic@>=1.1.2 <2.0.0", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-1.2.0.tgz", + "dependencies": { + "graceful-fs": { + "version": "4.1.11", + "from": "graceful-fs@^4.1.2", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz" + } + } + }, "ws": { "version": "1.1.1", "from": "ws@>=1.0.1 <2.0.0", "resolved": "https://registry.npmjs.org/ws/-/ws-1.1.1.tgz" }, + "xdg-basedir": { + "version": "2.0.0", + "from": "xdg-basedir@>=2.0.0 <3.0.0", + "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-2.0.0.tgz" + }, "xml2js": { "version": "0.4.15", "from": "xml2js@>=0.4.4 <0.5.0", @@ -7378,7 +7655,8 @@ }, "zone.js": { "version": "0.7.2", - "from": "zone.js@0.7.2" + "from": "zone.js@0.7.2", + "resolved": "https://registry.npmjs.org/zone.js/-/zone.js-0.7.2.tgz" } } } diff --git a/package.json b/package.json index fbe71c5355..7dd4f24db0 100644 --- a/package.json +++ b/package.json @@ -80,6 +80,7 @@ "ts-api-guardian": "0.1.4", "tsickle": "^0.2.1", "tslint": "^3.15.1", + "tslint-eslint-rules": "^3.1.0", "typescript": "^2.0.2", "universal-analytics": "^0.3.9", "vrsource-tslint-rules": "^0.14.1", diff --git a/tslint.json b/tslint.json index 5792864049..5725238cf8 100644 --- a/tslint.json +++ b/tslint.json @@ -1,7 +1,8 @@ { "rulesDirectory": [ "dist/tools/tslint", - "node_modules/vrsource-tslint-rules/rules" + "node_modules/vrsource-tslint-rules/rules", + "node_modules/tslint-eslint-rules/dist/rules" ], "rules": { "file-header": [true, "Copyright Google Inc\\."], @@ -12,6 +13,7 @@ "no-var-keyword": true, "require-internal-with-underscore": true, "semicolon": [true], - "variable-name": [true, "ban-keywords"] + "variable-name": [true, "ban-keywords"], + "no-inner-declarations": [true, "function"] } }