Commit Graph
5438 Commits
Author SHA1 Message Date
Georgii Dolzhykov 285c15ef08 docs: how to ignore files using negative patterns (#10400) 2021-02-24 21:47:07 +02:00
fisker Cheung 5682d2f440 Add printDirective (#10396) 2021-02-24 02:29:50 +08:00
Georgii Dolzhykov 3dfdb2cff5 Add Support Requests bot config file (#10387) 2021-02-23 20:17:15 +02:00
dependabot[bot] bf99d34fcb Build(deps-dev): Bump concurrently from 5.3.0 to 6.0.0 in /website (#10363) 2021-02-23 15:01:28 +00:00
dependabot[bot] 975e77ea4f Build(deps): Bump flow-parser from 0.144.0 to 0.145.0 (#10368) 2021-02-23 14:57:21 +00:00
Georgii Dolzhykov ec27ade49b Heuristic for grouping parameters in method signatures (#10357)
* Heuristic for grouping parameters in method signatures
* Apply the same logic to function declaration and Flow types
* Group only if there is only one parameter
* Don't group if type param has constraints/default or >1 type param
2021-02-23 16:38:56 +02:00
fisker Cheung d544585d87 Make JSON parser stricter (#10346) 2021-02-23 13:33:10 +02:00
dependabot[bot]andGeorgii Dolzhykov eea7d11883 Build(deps): Bump linguist-languages from 7.12.2 to 7.13.0 (#10379)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2021-02-23 13:07:46 +08:00
fisker Cheung f392c7c526 Simplify JS locEnd (#10389) 2021-02-23 12:43:38 +08:00
fisker Cheung 3fc92980f2 Refactor: Switch second parameter of printComments from function to Doc (#10376) 2021-02-23 12:42:13 +08:00
fisker Cheung a9088a0b74 Refactor(JS): Extract printLiteral (#10392) 2021-02-23 12:41:54 +08:00
Georgii Dolzhykov ca7c6fdec5 Add issue template config (#10386) 2021-02-22 16:45:02 +02:00
Sosuke Suzuki b0d66bb3c6 Support TS 4.1 intrinsic keyword (#10390) 2021-02-22 13:49:49 +02:00
fisker Cheung a07de7220c Consistent document import style (#10378) 2021-02-21 22:41:36 +02:00
dependabot[bot] e2d15f16f5 Build(deps-dev): Bump eslint-plugin-jest from 24.1.3 to 24.1.5 (#10380) 2021-02-21 18:17:56 +00:00
dependabot[bot] 8363a5b3ae Build(deps-dev): Bump pretty-bytes from 5.5.0 to 5.6.0 (#10373)
Bumps [pretty-bytes](https://github.com/sindresorhus/pretty-bytes) from 5.5.0 to 5.6.0.
- [Release notes](https://github.com/sindresorhus/pretty-bytes/releases)
- [Commits](https://github.com/sindresorhus/pretty-bytes/compare/v5.5.0...v5.6.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 02:07:12 +08:00
dependabot[bot] 3901e26a75 Build(deps-dev): Bump eslint-plugin-unicorn from 28.0.1 to 28.0.2 (#10374)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 28.0.1 to 28.0.2.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v28.0.1...v28.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 01:16:16 +08:00
dependabot[bot] 2986680c88 Build(deps): Bump @glimmer/syntax from 0.75.0 to 0.77.1 (#10375)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-22 01:15:49 +08:00
dependabot[bot] 853a051241 Build(deps-dev): Bump @babel/preset-env from 7.12.16 to 7.12.17 (#10372) 2021-02-21 16:01:06 +00:00
dependabot[bot] 083dfa8c54 Build(deps): Bump lodash from 4.17.20 to 4.17.21 (#10362)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 23:48:56 +08:00
dependabot[bot] ce365ba9fe Build(deps-dev): Bump webpack from 5.22.0 to 5.23.0 (#10370)
Bumps [webpack](https://github.com/webpack/webpack) from 5.22.0 to 5.23.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.22.0...v5.23.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 23:41:18 +08:00
dependabot[bot] 24a3673876 Build(deps): Bump actions-cool/issues-helper from v2.1.1 to v2.1.2 (#10358)
Bumps [actions-cool/issues-helper](https://github.com/actions-cool/issues-helper) from v2.1.1 to v2.1.2.
- [Release notes](https://github.com/actions-cool/issues-helper/releases)
- [Changelog](https://github.com/actions-cool/issues-helper/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions-cool/issues-helper/compare/v2.1.1...39ff3699d63b245b1bafe4167d606d9cdde6cc74)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 22:38:44 +08:00
dependabot[bot] abf1f298bd Build(deps-dev): Bump webpack from 5.22.0 to 5.23.0 in /website (#10359)
Bumps [webpack](https://github.com/webpack/webpack) from 5.22.0 to 5.23.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.22.0...v5.23.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 22:16:35 +08:00
fisker Cheung 88919167e1 Switch ci-info to npm version (#10356) 2021-02-21 22:13:32 +08:00
dependabot[bot] 10133e1ace Build(deps-dev): Bump @babel/types from 7.12.13 to 7.12.17 (#10360)
Bumps [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types) from 7.12.13 to 7.12.17.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.17/packages/babel-types)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 21:57:35 +08:00
dependabot[bot]andfisker Cheung 73daa85a56 Build(deps-dev): Bump eslint-config-prettier from 7.2.0 to 8.0.0 (#10369)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-02-21 21:56:49 +08:00
dependabot[bot] 8bd0643b5c Build(deps): Bump @angular/compiler from 11.2.0 to 11.2.1 (#10367)
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 11.2.0 to 11.2.1.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/master/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/11.2.1/packages/compiler)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 20:51:08 +08:00
dependabot[bot] 9ba7cf0891 Build(deps-dev): Bump @glimmer/reference from 0.75.0 to 0.77.1 (#10361)
Bumps @glimmer/reference from 0.75.0 to 0.77.1.

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 17:11:53 +08:00
dependabot[bot] 2e3319bea0 Build(deps-dev): Bump @babel/core from 7.12.16 to 7.12.17 (#10364)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-21 17:11:09 +08:00
fisker Cheung 9c6de24405 Style: Disallow == (#10338) 2021-02-21 02:44:16 +02:00
Georgii Dolzhykov 42f8271a1e Indent type assertions in heads of call and member expressions (#10341) 2021-02-20 14:37:08 +02:00
Georgii Dolzhykov 31b3351800 Better formatting for nested await in member/call expression heads (#10342) 2021-02-20 12:50:44 +02:00
Georgii Dolzhykov aef9277ada Print trailing comma for TS type parameters but not type arguments (#10353) 2021-02-20 12:47:56 +02:00
fisker Cheung 04988c3aa0 Remove OptionalMemberExpression clean (#10347) 2021-02-20 09:07:27 +08:00
Sosuke Suzuki f858f5519f Add prettier-ignore comment for cpied markdown (#10343) 2021-02-18 23:24:10 +09:00
Georgii Dolzhykov e147c3b1c4 Fix ASI protection for private fields (#10334) 2021-02-18 12:39:56 +02:00
Georgii Dolzhykov 3950ce194d Correct parentheses for non-null assertions (#10337) 2021-02-18 01:52:24 +02:00
Georgii Dolzhykov 0a647a0d31 Format assignments more consistently (#10222) 2021-02-16 21:25:11 +02:00
Georgii Dolzhykov 9a2dc517ad Fix yarn.lock 2021-02-16 13:23:14 +02:00
Lipis 7caba77666 chore: Check for updates every Sunday (#10313) 2021-02-16 12:44:31 +02:00
dependabot[bot] 0acf76b33c Build(deps-dev): Bump webpack from 5.21.2 to 5.22.0 (#10327)
Bumps [webpack](https://github.com/webpack/webpack) from 5.21.2 to 5.22.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.21.2...v5.22.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:27:33 +02:00
dependabot[bot] 98df271961 Build(deps-dev): Bump webpack from 5.21.2 to 5.22.0 in /website (#10329)
Bumps [webpack](https://github.com/webpack/webpack) from 5.21.2 to 5.22.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.21.2...v5.22.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:27:16 +02:00
dependabot[bot] 091df1c7b9 Build(deps-dev): Bump eslint-plugin-unicorn from 28.0.0 to 28.0.1 (#10330)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 28.0.0 to 28.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v28.0.0...v28.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:27:01 +02:00
dependabot[bot] 739aa19bb0 Build(deps): Bump @typescript-eslint/typescript-estree from 4.15.0 to 4.15.1 (#10328)
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 4.15.0 to 4.15.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.1/packages/typescript-estree)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:26:47 +02:00
dependabot[bot] eb84e9e371 Build(deps-dev): Bump @typescript-eslint/types from 4.15.0 to 4.15.1 (#10326)
Bumps [@typescript-eslint/types](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/visitor-keys) from 4.15.0 to 4.15.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/visitor-keys/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.1/packages/visitor-keys)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:26:35 +02:00
Georgii Dolzhykovandfisker Cheung 2d1186995d Refine CONTRIBUTING.md (#10324)
* Slightly refine CONTRIBUTING.md

* Write more about run_spec

* Wording

* Deeper tests is an advanced topic. Move to bottom

* Mention prettier-regression-testing

* Fix the type for snippets

* Typo

* Add 'Advanced topics' heading

* Fix run_spec types

* Minor edits

* Add link

* Wording around yarn fix

* Update CONTRIBUTING.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-02-16 08:56:32 +02:00
Georgii Dolzhykov 3a73f48a0e Don't use smart quotes for JSON5 with --quote-props=preserve (#10323) 2021-02-15 19:13:33 +02:00
Georgii Dolzhykov 81e6208e63 Allow arg hugging for non-concise arrow functions with return type (#10316) 2021-02-15 19:13:09 +02:00
Georgii Dolzhykov a322cf152a Disable Babel error recovery for invalid escaped characters in identifiers (#10322) 2021-02-15 16:58:50 +02:00
dependabot[bot] 152b723caa Build(deps-dev): Bump @rollup/plugin-babel from 5.2.3 to 5.3.0 (#10320) 2021-02-15 10:18:00 +00:00