Georgii Dolzhykov
a7ea77e0ef
Fix regression after pr-10106 ( #10160 )
2021-01-29 19:58:24 +02:00
Sosuke Suzuki and fisker Cheung
07b30645ec
style: Add new ESLint rule no-empty-string-for-ifbreak ( #10172 )
...
* Add new ESLint rule for ifBreak
* Fix for third argument
* Run fix with new rule
* Address review
* Fix
* Update no-empty-flat-contents-for-if-break.js
* Fix CI config
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-01-29 20:03:11 +09:00
fisker Cheing
c3a59148cf
Ignore .nyc_output dir
2021-01-29 18:01:34 +08:00
Georgii Dolzhykov
8846448b85
Handlebars: fix formatting of attributes ( #10145 )
...
* Handlebars: fix formatting of attributes
* Add group only for class
* Add changelog
* Update clean.js
* Simplify ConcatStatement
* Lowercase attr name in clean
* Use text instead of n.chars
2021-01-28 23:45:08 +02:00
dependabot[bot]
12e82a89af
Build(deps): Bump @angular/compiler from 11.1.0 to 11.1.1 ( #10167 )
...
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler ) from 11.1.0 to 11.1.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.1.1/packages/compiler )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-29 02:37:32 +08:00
Sosuke Suzuki and fisker Cheung
c881350e8c
Break assignment whose rhs is wrapped by an unary expression ( #10158 )
...
* Break assignment whose rhs is wrapped unary expression
* Add changelog
* Recursive
* Refactor
* With loop
* Use if
* Update assignment.js
* Update assignment.js
This rewrite not totally equal, but should safe.
* Revert "Update assignment.js"
This reverts commit 14549442b7726461b0e39d0b1077cdbb00195e73.
* Try move parser check upper
* Simplify `switch`
* Simplify
* Move parser check to top
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-01-28 23:06:16 +09:00
Sosuke Suzuki and Georgii Dolzhykov
53a7e9782b
Print trailing comma for type parameters ( #10109 )
...
* Print type parameters for TypeScript
* Add more tests
* Add changelog
* Avoid duplicates printing trailing-commas
* Fix changelog
* Address review
* Update src/language-js/print/type-parameters.js
* Update 10109.md
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2021-01-28 23:03:16 +09:00
dependabot[bot]
7411285451
Build(deps): Bump node-notifier from 8.0.0 to 8.0.1 ( #10161 )
...
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases )
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md )
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-28 02:37:03 +02:00
Georgii Dolzhykov
b7a0e253f6
Fix changelog for #8233
2021-01-28 00:34:39 +02:00
dependabot[bot]
b565b579f2
Build(deps): Bump graphql from 15.4.0 to 15.5.0 ( #10149 )
...
Bumps [graphql](https://github.com/graphql/graphql-js ) from 15.4.0 to 15.5.0.
- [Release notes](https://github.com/graphql/graphql-js/releases )
- [Commits](https://github.com/graphql/graphql-js/compare/v15.4.0...v15.5.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-28 00:32:29 +02:00
fisker Cheung
4536fef4fe
Simplify printStartingTag in glimmer printer ( #10152 )
2021-01-28 00:32:08 +02:00
Daron McIntosh
3d9f102301
Add CLI option to prevent errors on unmatched patterns ( #10058 )
2021-01-28 00:30:16 +02:00
Georgii Dolzhykov
53b59d2d39
Fix lineSuffixBoundary ( #10122 )
2021-01-28 00:29:34 +02:00
fisker Cheung
bba719283d
JS: Simplify clean function ( #10154 )
2021-01-27 14:36:02 +02:00
dependabot[bot]
9786ce2fb6
Build(deps-dev): Bump webpack from 5.17.0 to 5.18.0 ( #10148 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-27 18:42:47 +08:00
Georgii Dolzhykov
79d2f4a295
Add CLI flag for debugging comment attachment issues ( #10124 )
2021-01-27 12:30:10 +02:00
Georgii Dolzhykov
63a771db55
Add parallel-prettier to "Related Projects" ( #10147 )
2021-01-27 10:06:03 +02:00
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
xrkffgg and fisker 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 Cheung and Georgii 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