Commit Graph
5255 Commits
Author SHA1 Message Date
dependabot[bot] fecc0c3b62 Build(deps-dev): Bump cspell from 4.2.5 to 4.2.8 (#10130) 2021-01-25 06:05:43 +00:00
dependabot[bot] 79487987ec Build(deps-dev): Bump webpack-cli from 4.3.1 to 4.4.0 in /website (#10090) 2021-01-25 04:47:20 +00:00
dependabot[bot] 2b99ec3d3e Build(deps-dev): Bump webpack from 5.15.0 to 5.17.0 in /website (#10118)
Bumps [webpack](https://github.com/webpack/webpack) from 5.15.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.15.0...v5.17.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 11:47:58 +08:00
Georgii Dolzhykov f333c65231 Minor spellchecking and typechecking fixes (#10125) 2021-01-25 02:43:42 +02:00
fisker CheungandGeorgii Dolzhykov 6175013ae3 Enable unicorn/no-array-for-each (#10112)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2021-01-24 19:26:42 +08:00
dependabot[bot] 45e3864b77 Build(deps): Bump flow-parser from 0.142.0 to 0.143.1 (#10117)
Bumps [flow-parser](https://github.com/facebook/flow) from 0.142.0 to 0.143.1.
- [Release notes](https://github.com/facebook/flow/releases)
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md)
- [Commits](https://github.com/facebook/flow/compare/v0.142.0...v0.143.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-24 02:04:16 +02:00
fisker Cheung dd606d9ce1 Enable unicorn/no-array-push-push (#10111)
* Enable rule

* Apply auto-fix

* Manual fix
2021-01-23 22:37:01 +02:00
dependabot[bot] 04eb3002cb Build(deps-dev): Bump webpack from 5.16.0 to 5.17.0 (#10119)
Bumps [webpack](https://github.com/webpack/webpack) from 5.16.0 to 5.17.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.16.0...v5.17.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-24 02:26:57 +08:00
fisker Cheung 12bddae20c Switch default branch to main (#10115) 2021-01-23 19:14:13 +02:00
fisker Cheung 01052292ab Update eslint-plugin-unicorn to v27 (#10110) 2021-01-23 12:42:59 +08:00
dependabot[bot] b0455a7627 Build(deps-dev): Bump @glimmer/reference from 0.73.1 to 0.73.2 (#10104)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 15:28:00 +08:00
dependabot[bot] 17e75d2be7 Build(deps-dev): Bump @typescript-eslint/types from 4.13.0 to 4.14.0 (#10083)
Bumps [@typescript-eslint/types](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/visitor-keys) from 4.13.0 to 4.14.0.
- [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.14.0/packages/visitor-keys)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 08:23:47 +08:00
dependabot[bot] 466f21144b Build(deps-dev): Bump rollup from 2.37.0 to 2.37.1 (#10099)
Bumps [rollup](https://github.com/rollup/rollup) from 2.37.0 to 2.37.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.37.0...v2.37.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-22 08:19:02 +08:00
Georgii Dolzhykov 2bb6cc4bf8 Fix webpack 5 CLI args in yarn start in website 2021-01-21 00:33:08 +02:00
dependabot[bot] f3343504f7 Build(deps-dev): Bump webpack from 5.15.0 to 5.16.0 (#10091)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 14:39:40 +08:00
dependabot[bot] 90b2f2c6a1 Build(deps-dev): Bump rollup from 2.36.2 to 2.37.0 (#10093)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 14:39:10 +08:00
Sosuke Suzuki c7a3c16f7d Improve visual separation between header and body in classes with multiline headers (#10085)
* Add hardline for a class whose extends part is broken

refactor

Use groupId

Remove isPreviousLineEmpty

* Avoid leading comments

* Rename to heritage

* Add heuristic for implements

* Fix lint problems

* Fix

Fix

Fix

* Extract getGroupId patterns

* Adopots solution 2

* Fix

* Fix lint problem

* Add changelog

* Address reviews

* Update tests

* Rename to createGroupIdMapper

* Split files

* Add tests for complex extends

* Fix changelog
2021-01-20 15:01:16 +09:00
Georgii Dolzhykov af9478009e copy rationale.md update to stable docs 2021-01-19 18:03:46 +02:00
Cyrille DavidandGeorgii Dolzhykov 949c36190f Document --htmlWhitespaceSensitivity option for Handlebars (#10079)
* Document htmlWhitespaceSensitivity for Handlebars

* Update options.md

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2021-01-19 16:49:19 +02:00
Georgii Dolzhykov 4273cbf95f docs: add a note on formatting reversibility (#10062) 2021-01-19 11:39:01 +02:00
dependabot[bot] 0c561b3faa Build(deps): Bump @typescript-eslint/typescript-estree (#10084) 2021-01-19 05:53:34 +00:00
dependabot[bot] 819ca9f0b5 Build(deps-dev): Bump eslint-config-prettier from 7.1.0 to 7.2.0 (#10082)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 13:32:28 +08:00
dependabot[bot]andfisker e2beb5ac50 Build(deps-dev): Bump js-yaml from 3.14.1 to 4.0.0 in /website (#9996)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2021-01-19 10:45:37 +08:00
Georgii Dolzhykov 0354b2ef9d Add a test for HTML (#10077) 2021-01-18 16:40:57 +02:00
7cf524fa03 Smarter formatting of HTML class attribute (#7865)
* html: break class attr onto multiple lines, but try keeping consecutive classes with the same prefix on one line

* add changelog

* add more tests

* improve doc structure to fix an issue with the closing quote

* Update changelog_unreleased/html/pr-7865.md

Co-Authored-By: Jed Fox <git@twopointzero.us>

* handle classes with leading _ and -

* update snapshots

* Lint

* Update pr-7865.md

* Update changelog entry

Co-authored-by: Jed Fox <git@twopointzero.us>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-01-18 15:50:52 +02:00
Cyrille David c8cbbb0a79 handlebars: Support htmlWhitespaceSensitivity=strict option (2/3) (#9885)
* hbs: Add a strict mode

* Fix lint (after concat removal)

* Another lint error
2021-01-18 15:49:39 +02:00
dependabot[bot] 8af20aeeaf Build(deps-dev): Bump rollup from 2.36.1 to 2.36.2 (#10071) 2021-01-18 10:07:23 +00:00
dependabot[bot] cfe815b0fd Build(deps-dev): Bump webpack from 5.14.0 to 5.15.0 (#10074) 2021-01-18 09:35:24 +00:00
Sosuke Suzuki fbb3c421e5 Remove workaround for rollup/plugin-node-resolve 11 (#10075) 2021-01-18 16:51:00 +09:00
Georgii Dolzhykov 92cf9452e9 Disable Babel's error recovery for omitted call arguments (#10065) 2021-01-18 09:45:37 +02:00
dependabot[bot] 2808f401ba Build(deps-dev): Bump @rollup/plugin-node-resolve from 11.0.1 to 11.1.0 (#10069) 2021-01-18 05:56:54 +00:00
dependabot[bot] 67a539ea37 Build(deps-dev): Bump webpack from 5.14.0 to 5.15.0 in /website (#10072) 2021-01-18 05:53:10 +00:00
dependabot[bot] 44ee1131cb Build(deps-dev): Bump eslint from 7.17.0 to 7.18.0 (#10070)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-18 13:51:13 +08:00
Sosuke Suzuki 0144c7aa2f Rename shouldNotPrePrintHardline to shouldPrePrintHardline (#10067) 2021-01-18 10:50:02 +09:00
Sosuke Suzuki 87b5cfc8ab Refactor: Use getLastStatement function in printStatementSequence (#10066)
* Add getLastStatement function

* Use loop

* Fix lint problem
2021-01-17 10:54:38 +09:00
dependabot[bot]andfisker c5300fa0ca Build(deps): Bump meriyah from 3.1.6 to 4.0.0 (#10060)
* Build(deps): Bump meriyah from 3.1.6 to 4.0.0

Bumps [meriyah](https://github.com/meriyah/meriyah) from 3.1.6 to 4.0.0.
- [Release notes](https://github.com/meriyah/meriyah/releases)
- [Changelog](https://github.com/meriyah/meriyah/blob/master/CHANGELOG.md)
- [Commits](https://github.com/meriyah/meriyah/compare/v3.1.6...v4.0.0)

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

* `FieldDefinition` -> `PropertyDefinition`

* `PrivateName` -> `PrivateIdentifier`

* Test https://github.com/meriyah/meriyah/issues/164

* Copy test from https://github.com/meriyah/meriyah/commit/f21882c312284572ac6d7e7630c4a677d6caed92

* Revert breaking change from 3cdb2a4edc8af0b1c02b1d3f1e1493550164fed0

* Fix test options

* Typo

* Update snapshot

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2021-01-16 01:28:54 +02:00
Sosuke Suzuki 2f3fc241f8 Add meriyah to getMarkdownSyntax (#10061) 2021-01-15 23:05:31 +09:00
dependabot[bot] 2dfe869e35 Build(deps): Bump @angular/compiler from 11.0.8 to 11.0.9 (#10055)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-15 14:39:41 +08:00
dependabot[bot] 0ae0551c4d Build(deps-dev): Bump webpack from 5.13.0 to 5.14.0 in /website (#10053)
Bumps [webpack](https://github.com/webpack/webpack) from 5.13.0 to 5.14.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.13.0...v5.14.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 18:31:55 +08:00
dependabot[bot] 623663260a Build(deps-dev): Bump webpack from 5.13.0 to 5.14.0 (#10054)
Bumps [webpack](https://github.com/webpack/webpack) from 5.13.0 to 5.14.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.13.0...v5.14.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 17:14:30 +08:00
dependabot[bot] 46e7627b9f Build(deps-dev): Bump eslint-plugin-unicorn from 26.0.0 to 26.0.1 (#10056)
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) from 26.0.0 to 26.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v26.0.0...v26.0.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-14 16:59:38 +08:00
Cyrille David 554d45ea20 handlebars: Print final blockParam on its own line (#9978) 2021-01-13 12:02:47 +08:00
dependabot[bot] de0653bdb1 Build(deps-dev): Bump webpack from 5.12.3 to 5.13.0 (#10040)
Bumps [webpack](https://github.com/webpack/webpack) from 5.12.3 to 5.13.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.12.3...v5.13.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 21:44:02 +08:00
fisker Cheung 0009e0d276 Enable unicorn/prefer-regexp-test (#10045) 2021-01-12 20:37:05 +08:00
dependabot[bot] 28f6e0f2bd Build(deps-dev): Bump @typescript-eslint/types from 4.12.0 to 4.13.0 (#10038)
Bumps [@typescript-eslint/types](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/visitor-keys) from 4.12.0 to 4.13.0.
- [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.13.0/packages/visitor-keys)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 20:38:35 +09:00
dependabot[bot] 1e9b25a52a Build(deps): Bump @typescript-eslint/typescript-estree from 4.12.0 to 4.13.0 (#10039)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:26:58 +08:00
dependabot[bot] aeb7a2e82f Build(deps-dev): Bump eslint-plugin-unicorn from 25.0.1 to 26.0.0 (#10042)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:26:38 +08:00
dependabot[bot] e837e9d343 Build(deps): Bump @angular/compiler from 11.0.7 to 11.0.8 (#10041)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:26:04 +08:00
dependabot[bot] bb853534ec Build(deps-dev): Bump webpack from 5.12.3 to 5.13.0 in /website (#10037)
Bumps [webpack](https://github.com/webpack/webpack) from 5.12.3 to 5.13.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.12.3...v5.13.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:19:33 +08:00
dependabot[bot] 46a90cd337 Build(deps-dev): Bump @types/estree from 0.0.45 to 0.0.46 (#10043)
Bumps [@types/estree](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/estree) from 0.0.45 to 0.0.46.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/estree)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-12 14:17:43 +08:00