Commit Graph
5273 Commits
Author SHA1 Message Date
Georgii Dolzhykov 1df287acc8 Use default parameters where possible and other microrefactoring (#10135) 2021-01-27 12:36:39 +08:00
fisker Cheung a98292e417 Simplify frontMatter parse (#10136)
* Simplify frontMatter parse

* Rewrite regex to @thorn0's version
2021-01-27 01:11:53 +02:00
Georgii Dolzhykov 343d372845 Document that Prettier never unquotes numeric properties in TS and Flow (#10126)
* Document that Prettier never unquotes numeric properties in TS and Flow

* Add Angular

* Mention Vue
2021-01-26 20:17:30 +02:00
dependabot[bot] cdab1d7392 Build(deps-dev): Bump @typescript-eslint/types from 4.14.0 to 4.14.1 (#10138)
Bumps [@typescript-eslint/types](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/visitor-keys) from 4.14.0 to 4.14.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.14.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-01-27 02:13:26 +08:00
xrkffggandfisker Cheung 27f91167d4 CI: Add Mark issue duplicate job (#10140)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2021-01-27 01:34:23 +08:00
Georgii Dolzhykov c5484f7a0a website: bigger font for <h5> in blog (#10142) 2021-01-26 18:56:42 +02:00
dependabot[bot] 59dfc0f3f3 Build(deps): Bump @typescript-eslint/typescript-estree (#10137) 2021-01-26 05:56:42 +00:00
fisker e8a5d867cd Use ... instead of .concat() 2021-01-26 09:54:20 +08:00
fisker Cheung 89e5751b46 Use Object.{entries,values} if possible (#10131) 2021-01-26 09:48:31 +08:00
fisker Cheung ce26805e84 Enable unicorn/prefer-spread (#10129) 2021-01-26 09:46:14 +08:00
fisker Cheung 743ef3de9b SCSS: Fix maps with keys that are lists or maps (#10005) 2021-01-26 09:45:25 +08:00
dependabot[bot] 9392042501 Build(deps): Bump fast-glob from 3.2.4 to 3.2.5 (#10073)
Bumps [fast-glob](https://github.com/mrmlnc/fast-glob) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/mrmlnc/fast-glob/releases)
- [Commits](https://github.com/mrmlnc/fast-glob/compare/3.2.4...3.2.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 21:28:26 +02:00
Cyrille David 0d1713ba81 Add changelog entry for #9885 (#10133) 2021-01-25 21:27:35 +02:00
dependabot[bot] 4d58724016 Build(deps): Bump @glimmer/syntax from 0.73.1 to 0.73.2 (#10103)
Bumps [@glimmer/syntax](https://github.com/glimmerjs/glimmer-vm) from 0.73.1 to 0.73.2.
- [Release notes](https://github.com/glimmerjs/glimmer-vm/releases)
- [Changelog](https://github.com/glimmerjs/glimmer-vm/blob/master/CHANGELOG.md)
- [Commits](https://github.com/glimmerjs/glimmer-vm/compare/v0.73.1...v0.73.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 17:18:47 +02:00
Mike 3dfac3d71b Support YAML document end marker in front matter (#9878) 2021-01-25 17:09:22 +02:00
dependabot[bot] 78fb22283b Build(deps): Bump @angular/compiler from 11.0.9 to 11.1.0 (#10097)
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 11.0.9 to 11.1.0.
- [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.1.0/packages/compiler)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-25 16:24:57 +02:00
Georgii Dolzhykov 2b3716d527 Add skipped changelog entry to 2.2.0 blog post 2021-01-25 14:15:47 +02:00
Georgii Dolzhykov 24433cbbf6 Use fill to print number-only arrays (#10106) 2021-01-25 10:07:06 +02:00
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