Commit graph

209 commits

Author SHA1 Message Date
Nathan Shively-Sanders b1dfb68d35 pin version of octokit 2020-06-11 16:46:18 -07:00
Alexander T 2cea9d9d95
fix(38682): use stable typescript version (#38683) 2020-05-20 09:32:51 -07:00
Andrei Arkhipov 8746d1708f
Updating dependencies (#37788)
* Bump fs-extra from 6.0.1 to 9.0.0

Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 6.0.1 to 9.0.0.
- [Release notes](https://github.com/jprichardson/node-fs-extra/releases)
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jprichardson/node-fs-extra/compare/6.0.1...9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump azure-devops-node-api from 8.1.1 to 10.1.0

Bumps [azure-devops-node-api](https://github.com/Microsoft/azure-devops-node-api) from 8.1.1 to 10.1.0.
- [Release notes](https://github.com/Microsoft/azure-devops-node-api/releases)
- [Commits](https://github.com/Microsoft/azure-devops-node-api/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint-plugin-jsdoc from 21.0.0 to 22.1.0

Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 21.0.0 to 22.1.0.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v21.0.0...v22.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @typescript-eslint/eslint-plugin from 2.18.0 to 2.26.0

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.18.0 to 2.26.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.26.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint-plugin-import from 2.20.0 to 2.20.2

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.20.0 to 2.20.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.20.0...v2.20.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump eslint-formatter-autolinkable-stylish from 1.1.1 to 1.1.2

Bumps [eslint-formatter-autolinkable-stylish](https://github.com/a-tarasyuk/eslint-formatter-autolinkable-stylish) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/a-tarasyuk/eslint-formatter-autolinkable-stylish/releases)
- [Commits](https://github.com/a-tarasyuk/eslint-formatter-autolinkable-stylish/compare/v1.1.1...v1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @typescript-eslint/parser from 2.18.0 to 2.27.0

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.18.0 to 2.27.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.27.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @typescript-eslint/eslint-plugin from 2.26.0 to 2.27.0

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 2.26.0 to 2.27.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.27.0/packages/eslint-plugin)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump @typescript-eslint/experimental-utils from 2.18.0 to 2.27.0

Bumps [@typescript-eslint/experimental-utils](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/experimental-utils) from 2.18.0 to 2.27.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/experimental-utils/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.27.0/packages/experimental-utils)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-06 11:38:49 -07:00
Daniel Rosenwasser 466d0c0ecb
Bump version number to 4.0 (#38215) 2020-04-27 14:09:58 -07:00
Andrew Branch 813efb49af
Lock playwright version (#37869) 2020-04-09 13:20:02 -04:00
Nathan Shively-Sanders a5061eff19
Update scripts for octokit 17 (#36915)
* Update scripts for octokit 17

Also put playwright in alphabetical order, npm seems to like that.

* back to passing auth in the ctor I GUESS
2020-02-21 09:49:02 -08:00
Orta 19c3bcb9a9
Adds puppeteer to test whether typescript.js runs in the browser (#35471)
* Adds puppeteer to test whether typescript.js runs in the browser

* Adds a check for the browser integration into the GitHub Actions CI

* Update to use playwright, and test in three browsers
2020-02-13 14:19:33 -05:00
Wesley Wigham 1fd0e8f9a6
Bump package.json version to reflect reality 2020-02-11 15:08:03 -08:00
Alexander T 8c31700735
Enable @typescript-eslint/space-before-function-paren, @typescript-eslint/no-unused-expressions (#36569)
* use @typescript-eslint/no-unused-expressions instead of no-unused-expressions

* enable @typescript-eslint/space-before-function-paren
2020-02-04 14:43:25 -08:00
Nathan Shively-Sanders 0bbeab6e61
Revert "Skip costly tests" (#35197)
* Revert "Skip costly tests"

* fix package.json format
2019-11-19 12:59:09 -08:00
Daniel Rosenwasser 1b0fca5df5 Update version to 3.8. 2019-10-21 14:51:21 -07:00
Alexander T a3da2e77f9 update eslint. fix eslint @typescript-eslint/no-unnecessary-type-assertion errors 2019-10-04 11:00:24 +03:00
Wesley Wigham 558ece72cb
Add support for capturing cpu profiles into tsc itself (#33586)
* Add support for capturing cpu profiles into tsc itself

* Accept baseline for new compiler option in showConfig

* Fix lints

* Support profiling build mode, only ever have one live profiling session

* Minor modification to enable/disable semaphore, accept re-cased baseline

* Add pid into autognerated cpuprofile path

* Rename to fix case

* Sanitize filepaths in emitted cpuprofile for easier adoption by enterprise people, add inspector to browser field
2019-09-27 13:34:44 -07:00
Andrew Branch 1755db4d81
Add build-eslint-rules to npm prepare script (#33417)
* Add build-eslint-rules to local build

* Switch to prepare script
2019-09-13 14:38:10 -07:00
Alexander T 861f0bec01 update eslint-formatter-autolinkable-stylish 2019-09-10 16:34:20 +03:00
Alexander 3e9d651f48 update typescript-eslint to the latest version 2019-09-09 21:35:00 +03:00
Alexander T 7ea134bacd Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-09-05 09:52:04 +03:00
Wesley Wigham 2b153fc75a
Add browser field entries for all require calls in sys.ts (#33242) 2019-09-04 16:59:16 -07:00
Alexander d85eb26777 update typescript-eslint, eslint-plugin-jsdoc, del. remove @types/del 2019-09-02 20:36:15 +03:00
Alexander 49c3afdc20 update eslint, typescript-eslint, eslint-plugin-jsdoc 2019-08-31 22:16:36 +03:00
Alexander T 800248321f update eslint 2019-08-20 18:13:41 +03:00
Alexander T 41ede77c66 update typescript-eslint packages to 2.0.1-alpha.14 2019-08-20 11:09:49 +03:00
Alexander T 383750c9da update typescript-eslint, eslint 2019-08-19 14:40:07 +03:00
Alexander T 3b7f3daa28 update typescript-eslint packages to 2.0.1-alpha.8 2019-08-19 13:35:29 +03:00
Alexander T 4c30a6027b add --ci option to lint command to run eslint with the .eslintrc.ci config 2019-08-16 11:55:54 +03:00
Alexander T f20a2828f2 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-08-15 10:32:45 +03:00
Ryan Cavanaugh 11c28d6dd0
Update versions to 3.7 (#32879)
* Update versions to 3.7

* Update API baselines
2019-08-14 13:00:26 -07:00
Alexander T 466ee10011 add .eslintrc for src and scripts. update typescript-eslint 2019-08-14 12:34:16 +03:00
Alexander 481d70d50d Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-08-07 21:23:10 +03:00
Alexander T 5217574414 split lint task to list-scripts, lint-compiler. add list-scripts, lint-compiler to postTest 2019-08-06 09:48:21 +03:00
Alexander a37d34a5b6 lint src/, scripts/ folders separately 2019-08-04 15:33:01 +03:00
Michael Crane 5e19753979 Update browser table 2019-08-02 10:50:49 -07:00
Bill Ticehurst 996e7e50d5 Use optional module "@microsoft/typescript-etw" for ETW logging 2019-07-29 15:32:40 -07:00
Alexander b6c3c7a486 Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-07-29 22:25:02 +03:00
Wesley Wigham b963e1a2a7
Update LKG (#32578)
* Update LKG

* Add @types/node version bump

* Small paatches/casts to be compatible with latest node

* Accept API baseline update

* Make internal NodeBuffer compatable with latest Buffer

* Why do we even have an internal buffer type

* Sync up internal buffer type better

* Fix lint

* Readd mroe missing Buffer methods
2019-07-29 10:33:43 -07:00
Alexander T 11ec6118fb @typescript-eslint/array-type 2019-07-29 18:39:11 +03:00
Alexander 0059763d8f move eslint rules from eslint-plugin-microsoft-typescript to scripts/eslint 2019-07-24 13:31:17 +03:00
Alexander T bb817c74c2 update eslint 2019-07-22 13:58:14 +03:00
Alexander T 8bf5ebc417 remove tslint, tslint:disable-next-line, update @typescript-eslint/* 2019-07-18 16:00:44 +03:00
Alexander T 68ae4382bd jsdoc/check-alignment 2019-07-18 15:06:56 +03:00
Alexander T 2c32308f35 no-null/no-null 2019-07-18 10:50:38 +03:00
Alexander c5453c8b35 import/no-extraneous-dependencies 2019-07-05 21:55:05 +03:00
Alexander T ab28ee7005 update eslint, @typescript-eslint/* 2019-06-27 14:08:53 +03:00
Alexander T 810303542d Merge branch 'master' of https://github.com/Microsoft/TypeScript into feature/eslint 2019-06-27 11:51:20 +03:00
Alexander T 702dc59b36 no-fallthrough 2019-06-22 10:50:25 +03:00
Nathan Shively-Sanders a852f2feea Skip costly tests
1. Add a script to generate a sorted list of most costly tests. A tests'
cost is roughly `runtime% / number of edits`. A slow test that's only
been updated once is much less valuable than a slow test that has
been updated 20 times: the latter test is catching more changes in the
type system.

2. Check in the results of running this script. I want to make the
skipping behaviour deterministic and the same for everybody, even though
you may get slightly better performance by examining only *your* test
changes.

3. Add code to skip tests until it reaches a 5% chance of missing an
edit. Right now this provides a 38% speedup.

Still not done:
4. Make this value configurable.
5. Make the CI configuration specify a 0% chance of missing an edit.
2019-06-14 13:35:41 -07:00
Alexander T 55b8a38d50 add eslint 2019-06-13 13:39:49 +03:00
Wesley Wigham 49c44f650a
Add script for pack response postback (#31748) 2019-06-03 15:24:35 -07:00
Daniel Rosenwasser 94f19c7edd Update version to 3.6.0. 2019-05-29 08:59:44 -07:00
Ryan Cavanaugh 885d4d63c8
Remove "generate types" code (#31075) 2019-04-23 13:51:47 -07:00