Commit Graph
5524 Commits
Author SHA1 Message Date
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
dependabot[bot] b269a17719 Build(deps): Bump codemirror-graphql from 0.15.2 to 1.0.0 in /website (#10317)
Bumps [codemirror-graphql](https://github.com/graphql/graphiql) from 0.15.2 to 1.0.0.
- [Release notes](https://github.com/graphql/graphiql/releases)
- [Changelog](https://github.com/graphql/graphiql/blob/main/CHANGELOG.md)
- [Commits](https://github.com/graphql/graphiql/compare/codemirror-graphql@0.15.2...codemirror-graphql@1.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:41:30 +02:00
dependabot[bot] 23e24a09af Build(deps-dev): Bump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0 (#10319) 2021-02-15 06:09:03 +00:00
dependabot[bot] aca16618c7 Build(deps-dev): Bump eslint from 7.19.0 to 7.20.0 (#10318) 2021-02-15 05:55:07 +00:00
dependabot[bot] 4cc2a37cff Build(deps-dev): Bump rollup from 2.38.5 to 2.39.0 (#10321) 2021-02-15 05:53:02 +00:00
fisker Cheung c3d08c943e Style: Disallow else if in no-else-return (#10310) 2021-02-15 05:29:58 +02:00
Georgii Dolzhykov 7e8f746a4e website: remove svgo (#10315) 2021-02-15 05:29:24 +02:00
Georgii Dolzhykov ca4a51dcd9 build: fix tree shaking for front matter related functions (#10314) 2021-02-15 05:29:15 +02:00
Georgii Dolzhykov 8ba12c9d0d website: remove js for removed elements 2021-02-15 02:09:07 +02:00
Georgii Dolzhykov d3757fb6b4 website: add State of JS 2020 (#10312) 2021-02-15 00:22:08 +02:00
Sosuke Suzuki 2598803a2a Improve formatting for React Hooks call (#10238)
* Add isReactHookCallWithDepsArray

* Improve formatting for React hooks call

* Refactor

* Add changelog

* Use isReactHookCallWithDepsArray in shouldGroupLastArg

* Support general pattern
2021-02-14 23:57:26 +02:00
fisker Cheung dca2c55ef6 Move embeddedInHtml to language-html/ (#9739)
* Move `embeddedInHtml` to `language-html/`

* Fix

* Rename to `__embeddedInHtml`
2021-02-13 13:34:31 +08:00
dependabot[bot] 0ba5029ed0 Build(deps): Bump resolve from 1.19.0 to 1.20.0 (#10307) 2021-02-12 23:48:43 +00:00
dependabot[bot] e2d917353c Build(deps-dev): Bump @babel/preset-env from 7.12.13 to 7.12.16 (#10306) 2021-02-12 22:46:47 +00:00
Syu Katoandfisker Cheung 9f9677e6b7 Fix hasFlowShorthandAnnotationComment check (#5497)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-02-13 05:29:44 +08:00