27860 Commits

Author SHA1 Message Date
Alexander T
882dfd265c @typescript-eslint/interface-name-prefix 2019-06-20 10:12:18 +03:00
Alexander T
33eeceec9e Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-06-19 18:48:52 +03:00
Alexander T
62119ec9cc @typescript-eslint/no-unnecessary-type-assertion 2019-06-19 18:45:02 +03:00
Alexander T
5ce8c831b4 prefer-const 2019-06-19 17:58:49 +03:00
Alexander T
504b932f7b @typescript-eslint/camelcase 2019-06-19 17:30:28 +03:00
Alexander T
5902b327db no-unused-expressions 2019-06-19 17:01:53 +03:00
Alexander T
fdfff3593e no-template-curly-in-string 2019-06-19 16:42:05 +03:00
Alexander T
9a0e2f5b2b @typescript-eslint/adjacent-overload-signatures 2019-06-19 15:42:32 +03:00
Sheetal Nandi
7ed3896a0a
Merge pull request #31587 from microsoft/definitionSpan
Include declarationSpan as relevant declaration span when defintion or other places are declaration name
2019-06-18 14:07:15 -07:00
Nathan Shively-Sanders
1e6a6e9989
Update DOM and baselines (#31806) 2019-06-18 08:41:40 -07:00
Josh Goldberg
ca00b3248b Added --noImplicitThis code fix for functions used as object properties (#31138)
* Added --noImplicitThis code fix for functions used as object properties

Before trying out all the various possibilities for where these functions could be used, I figured I'd start out with a relatively simple use case to verify this is the right approach. Is it? 😄

Starts on #28964.

* Fixed function expression names; included new baselines

* Got JSDocs to work, hooray!

* Added test for 'any' case of no function uses

* Refactored for inferFunctionReferencesFromUsage

* Fixed inference bug: undefined references cause parameters to default

* Removed dead code comments
2019-06-17 19:00:15 -07:00
Orta
7f65be44c1
Merge pull request #31878 from orta/yarn_lockfile
Adds a yarnrc which makes sure that the lockfile isn't generated for people using Yarn
2019-06-17 16:33:13 -07:00
Ron Buckton
179381301e
Move class property transform (#31848)
* Revert "Revert "Move class property transformation into new transformer. (#30467)""

This reverts commit 53467ae4a4edb37c259b0b4e61972a90cd6c5587.

* Fix emit issues
2019-06-17 14:26:42 -07:00
TypeScript Bot
36aa1014f8 Update user baselines (#31902) 2019-06-14 14:50:54 -07:00
Alexander T
6b05b26452 @typescript-eslint/prefer-namespace-keyword 2019-06-14 14:52:36 +03:00
Alexander T
a18aeee1eb @typescript-eslint/no-unnecessary-qualifier 2019-06-14 12:34:28 +03:00
Alexander T
59310d5880 @typescript-eslint/class-name-casing 2019-06-14 12:20:48 +03:00
Alexander T
627211b06b quotes 2019-06-14 12:18:27 +03:00
Alexander T
713d6ec155 no-trailing-spaces 2019-06-14 12:05:25 +03:00
Alexander T
650600c5e4 linebreak-style 2019-06-14 11:58:42 +03:00
Alexander T
f611ec68ed microsoft-typescript/no-double-space 2019-06-14 11:52:48 +03:00
Alexander T
65ddc1fef2 microsoft-typescript/type-operator-spacing 2019-06-14 11:48:52 +03:00
Alexander T
012c76e897 microsoft-typescript/object-literal-surrounding-space 2019-06-14 11:45:45 +03:00
Alexander T
f1a399b391 exclude *.generated.d.ts files 2019-06-14 11:40:10 +03:00
Alexander T
c3517c073e @typescript-eslint/type-annotation-spacing 2019-06-14 11:29:00 +03:00
Alexander T
afb5c9bfcf @typescript-eslint/prefer-interface 2019-06-14 11:25:18 +03:00
Alexander T
3fb48d3f24 @typescript-eslint/no-inferrable-types 2019-06-14 11:21:43 +03:00
Alexander T
a96a08a329 microsoft-typescript/boolean-trivia 2019-06-14 11:17:49 +03:00
Alexander T
4e6fb72737 no-new-func 2019-06-14 11:02:15 +03:00
Alexander T
12e195c24e no-throw-literal 2019-06-14 10:54:11 +03:00
Alexander T
bea1bcb466 brace-style 2019-06-14 10:51:09 +03:00
Alexander T
550a99e839 dot-notation 2019-06-14 10:44:19 +03:00
Alexander T
8896c676be object-shorthand 2019-06-14 10:38:45 +03:00
Alexander T
d7f5def5a3 space-in-parens 2019-06-14 10:33:03 +03:00
Alexander T
1cc0ff22c1 no-eval 2019-06-14 10:25:02 +03:00
Alexander T
123ca0d639 no-empty 2019-06-14 10:21:51 +03:00
Alexander T
d8796d5eaf @typescript-eslint/no-this-alias 2019-06-14 10:16:19 +03:00
Alexander T
f96fb53e4c no-restricted-globals 2019-06-14 10:12:06 +03:00
Alexander T
1ccb4d2d82 microsoft-typescript/debug-assert 2019-06-14 10:00:33 +03:00
Alexander T
f6ccfb39cc @typescript-eslint/semi 2019-06-14 09:46:02 +03:00
ExE Boss
81f71530c4 fix(lib): Fix RegExp constructor with string|RegExp and flags (#30586) 2019-06-13 15:38:11 -07:00
Sheetal Nandi
73bf2684ac Rename to use contextSpan 2019-06-13 12:41:21 -07:00
Alexander T
55b8a38d50 add eslint 2019-06-13 13:39:49 +03:00
Wesley Wigham
74c6bc1f85
Filter primitives from union when checking for mismatched excess props if nonprimitive type is present (#31708)
* Filter primitives from union when checking for mismatched excess props if nonprimitive type is present

* Use maybeTypeOfKind
2019-06-12 17:31:57 -07:00
Sheetal Nandi
da2aa9781e Revert to using spread instead of mutating value later 2019-06-12 15:25:16 -07:00
Orta Therox
9d263b40bf Adds a yarnrc which makes sure that the lockfile isn't generated for people using Yarn 2019-06-12 11:20:20 -07:00
Sheetal Nandi
a0d164f142
Merge pull request #31820 from microsoft/nodeModules
When resolving from typings cache, handle node code modules
2019-06-12 10:55:26 -07:00
Sheetal Nandi
520f7e8067
Merge pull request #31818 from microsoft/sharepointIssue
Do not watch tsconfig files from folders that we canot watch (because they are at roots we want to ignore)
2019-06-12 10:47:17 -07:00
Benjamin Lichtman
0628adc056
Merge pull request #31865 from amcasey/FunctionHintSpan
Correct outline hint spans for functions
2019-06-12 10:13:21 -07:00
Andrew Casey
1bf28f21de Add regression test 2019-06-11 17:50:36 -07:00