Commit Graph

32018 Commits

Author SHA1 Message Date
Wesley Wigham c39a877a92 Add dockerfile based tests for azure-sdk-for-js and office-ui-fabric-react (#31948)
* Add dockerfile based tests

* Update tests/cases/docker/README.md

Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

* Combine sanitize functions

* Add some debugging instructions to README

* Fix listed command order
2019-06-20 12:47:57 -07:00
Sheetal Nandi 36df28d800 Merge pull request #31986 from microsoft/buildLocale
Support --locale with --build
2019-06-20 12:25:37 -07:00
Sheetal Nandi 796d5bb660 Merge pull request #31954 from suhasdeshpande/patch-1
fix tsserver picking hidden files created by emacs
2019-06-20 12:23:18 -07:00
Anders Hejlsberg 6def72b3a4 Merge pull request #31950 from microsoft/unionObjectAndArrayLiterals
Union inferences from object and array literals
2019-06-20 09:36:20 -07:00
Nathan Shively-Sanders afecb87d3f Use related spans to form a tree of errors.
Formatting is wrong, and I might want to format it as non-related spans,
but the structure is exactly a tree.
2019-06-20 08:54:31 -07:00
Nathan Shively-Sanders fc773a8e23 Merge pull request #32001 from typescript-bot/user-update-Microsoft-20190504
🤖 User test baselines have changed
2019-06-20 08:26:48 -07:00
typescript-bot e9d3f54a01 Update user baselines 2019-06-20 13:27:21 +00:00
Alexander T 9fcaa19ab0 microsoft-typescript/no-in-operator 2019-06-20 14:13:46 +03:00
Alexander T 0e14b4e030 microsoft-typescript/only-arrow-functions 2019-06-20 12:46:02 +03:00
Alexander T 67e20fc87a microsoft-typescript/no-keywords 2019-06-20 12:38:00 +03:00
Alexander T 1b798e3daf Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-06-20 11:47:25 +03:00
Alexander T 39c7e9a360 @typescript-eslint/unified-signatures 2019-06-20 11:47:12 +03:00
Alexander T 5921cd45c4 @typescript-eslint/prefer-function-type 2019-06-20 10:58:31 +03:00
Alexander T 38652d4cd7 no-var 2019-06-20 10:51:29 +03:00
Alexander T 882dfd265c @typescript-eslint/interface-name-prefix 2019-06-20 10:12:18 +03:00
Andrew Casey 6e50853143 Trivially expose getEncodedSyntacticClassifications 2019-06-19 15:48:23 -07:00
Sheetal Nandi 06d188a255 Support --locale with --build
Fixes #31960
2019-06-19 15:38:05 -07:00
Nathan Shively-Sanders 1f6ef0504b Re-add multiple errors
In the worst possible way. Now it's sort of ready for creating a
DiagnosticMessageTree.
2019-06-19 14:54:38 -07:00
Sheetal Nandi b9fc44ece7 Bundle info paths as relative to tsbuildinfo file 2019-06-19 14:49:13 -07:00
Daniel Rosenwasser 56370e8247 Updated test-cost file for laptops. 2019-06-19 14:38:42 -07:00
Nathan Shively-Sanders a56b65bc91 Add skip-percent alias for skipPercent 2019-06-19 14:12:17 -07:00
Nathan Shively-Sanders dbabc1241c Merge pull request #31981 from typescript-bot/user-update-Microsoft-20190503
🤖 User test baselines have changed
2019-06-19 14:00:08 -07:00
Sheetal Nandi 9446fc0c0c Convert options to relative paths 2019-06-19 12:54:22 -07:00
Sheetal Nandi d760cbb74b Make any paths in buildInfoFile to be relative to it. 2019-06-19 12:54:21 -07:00
Nathan Shively-Sanders e5fd8766fa Merge branch 'master' into report-multiple-overload-errors 2019-06-19 10:46:51 -07: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
Nathan Shively-Sanders fce7f9f87b Move .test-cost.json
Also include parameter name in test output so that people will know what
to do to change the percent chance of failure.
2019-06-19 08:40:06 -07: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
typescript-bot 7f0e672ad9 Update user baselines 2019-06-19 13:27:35 +00:00
Alexander T 9a0e2f5b2b @typescript-eslint/adjacent-overload-signatures 2019-06-19 15:42:32 +03:00
sisisin 6b33dda121 chore(tsserver): fix typo 2019-06-19 19:08:01 +09:00
Suhas Deshpande f8004a33dd semi-colon 2019-06-18 23:17:58 -07:00
Suhas Deshpande 8a11f15569 Add unit test 2019-06-18 22:50:48 -07:00
Suhas 13b7af6ea0 fix tsserver picking hidden files created by emacs
Saw this good for first timers. I followed what @sheetalkamat suggested. 
#31916
2019-06-18 22:50:48 -07: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 caff266f5e Notes on how to return errors from checkTypeRelatedTo 2019-06-18 10:52:03 -07:00
Nathan Shively-Sanders beddf9c02d Working, just not the way I would like
There are still separate errors instead of one + related spans for each
sub-error.
2019-06-18 10:12:32 -07:00
Nathan Shively-Sanders 1e6a6e9989 Update DOM and baselines (#31806) 2019-06-18 08:41:40 -07:00
Nathan Shively-Sanders c65d9f261a Initial attempt. Totally doesn't work. 2019-06-18 08:30:18 -07:00
Anders Hejlsberg f38a4aa3cf Accept new baselines 2019-06-17 16:18:20 -10:00
Anders Hejlsberg 51712fb1ae Add tests 2019-06-17 16:18:13 -10: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
Andrew Branch 04fbd93bf8 Revert previous fix and improve error message instead 2019-06-17 15:21:21 -07:00
Ron Buckton 179381301e Move class property transform (#31848)
* Revert "Revert "Move class property transformation into new transformer. (#30467)""

This reverts commit 53467ae4a4.

* Fix emit issues
2019-06-17 14:26:42 -07:00
Nathan Shively-Sanders 41b117eda7 Improve help message for skipPercent 2019-06-17 14:20:42 -07:00