Commit Graph
5529 Commits
Author SHA1 Message Date
Georgii Dolzhykov 5624eaf87e issue template: insist on using the Playground (#7974) 2021-03-16 18:31:36 +02:00
Georgii Dolzhykov 770ed280cf Playground: serialize errors in AST (#10548) 2021-03-16 17:53:05 +02:00
dependabot[bot] 527ff95354 Build(deps-dev): Bump @glimmer/reference from 0.77.1 to 0.77.2 (#10544) 2021-03-16 15:32:20 +00:00
dependabot[bot] 18a316bbaa Build(deps-dev): Bump webpack from 5.25.0 to 5.26.0 (#10545) 2021-03-16 15:24:36 +00:00
Georgii Dolzhykov 13744dffa2 Fix edge case with trailing comments in arrow chains (#10543)
* Fix edge case with trailing comments in arrow chains

* Remove handling of args.needsSemi from printComments
2021-03-16 15:51:03 +02:00
Georgii Dolzhykov 68fd9db7d0 Fix Prettier 2.0 blog post 2021-03-16 15:05:15 +02:00
Cyrille DavidandGeorgii Dolzhykov f6b63e8807 Move Handlebars support out of alpha to release (#10290)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2021-03-16 11:25:06 +02:00
dependabot[bot] 72fcf45df3 Build(deps): Bump @babel/parser from 7.13.9 to 7.13.10 (#10523) 2021-03-16 04:07:53 +00:00
fisker Cheung 863eb079dc Forbid AstPath.call without name (#10541) 2021-03-15 17:20:27 +08:00
fisker Cheung 521b63bb27 Update no-identifier-n rule (#10540) 2021-03-15 11:04:12 +08:00
Georgii Dolzhykov 4fc2630c16 Remove stale plugins from home page and docs (#10538) 2021-03-15 03:54:59 +02:00
dependabot[bot] 259d91d9ab Build(deps): Bump @angular/compiler from 11.2.4 to 11.2.5 (#10534)
Bumps [@angular/compiler](https://github.com/angular/angular/tree/HEAD/packages/compiler) from 11.2.4 to 11.2.5.
- [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.5/packages/compiler)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 08:31:18 +08:00
Georgii Dolzhykov f7fe6f52ca docs: refine browser.md (#10539) 2021-03-15 02:25:18 +02:00
dependabot[bot] 127a783965 Build(deps-dev): Bump rollup-plugin-polyfill-node from 0.6.1 to 0.6.2 (#10533)
Bumps [rollup-plugin-polyfill-node](https://github.com/snowpackjs/rollup-plugin-polyfill-node) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/snowpackjs/rollup-plugin-polyfill-node/releases)
- [Commits](https://github.com/snowpackjs/rollup-plugin-polyfill-node/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 06:30:02 +08:00
dependabot[bot] 3f12d6496d Build(deps-dev): Bump eslint-plugin-jest from 24.1.8 to 24.3.1 (#10532)
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 24.1.8 to 24.3.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v24.1.8...v24.3.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-15 06:09:58 +08:00
Georgii Dolzhykov 6a87ce138a Improve detection of AMD define (#10528) 2021-03-15 00:08:37 +02:00
dependabot[bot] 9f3c95b659 Build(deps-dev): Bump @babel/preset-env from 7.13.9 to 7.13.10 (#10527) 2021-03-14 16:03:25 +00:00
dependabot[bot] 3e8fc15fac Build(deps-dev): Bump eslint from 7.21.0 to 7.22.0 (#10530) 2021-03-14 15:42:09 +00:00
dependabot[bot] 4097e704ac Build(deps-dev): Bump rollup from 2.40.0 to 2.41.2 (#10529)
Bumps [rollup](https://github.com/rollup/rollup) from 2.40.0 to 2.41.2.
- [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.40.0...v2.41.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 23:07:38 +08:00
dependabot[bot] a5916854aa Build(deps-dev): Bump @babel/core from 7.13.8 to 7.13.10 (#10522)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.8 to 7.13.10.
- [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.13.10/packages/babel-core)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-14 22:35:21 +08:00
fisker Cheung 21c81e007d Test json superset (#10493) 2021-03-14 15:04:35 +02:00
dependabot[bot] eadd777cc2 Build(deps-dev): Bump webpack from 5.24.3 to 5.25.0 (#10521) 2021-03-14 12:40:17 +00:00
dependabot[bot] 59868f4322 Build(deps-dev): Bump webpack from 5.24.3 to 5.25.0 in /website (#10526) 2021-03-14 12:40:12 +00:00
dependabot[bot] 2447cc32a9 Build(deps): Bump clipboard from 2.0.7 to 2.0.8 in /website (#10525) 2021-03-14 12:08:37 +00:00
dependabot[bot] 3fc328ad97 Build(deps-dev): Bump docusaurus from 1.14.6 to 1.14.7 in /website (#10524) 2021-03-14 10:20:30 +00:00
dependabot[bot] 1501ea4979 Build(deps): Bump codecov/codecov-action from v1.2.1 to v1.2.2 (#10519) 2021-03-14 10:20:16 +00:00
Georgii Dolzhykov 2740ea6ee8 Avoid last-argument hugging for number-only arrays (#10517) 2021-03-14 12:15:53 +02:00
Georgii Dolzhykov 169faf39ac Update yaml to 1.10.2 (#10516) 2021-03-14 12:14:08 +02:00
fisker Cheung 3995c2a1a1 Whitelist recovered babel parse errors (#10495) 2021-03-13 22:07:22 +02:00
fisker Cheung 1ce6b8dc3d Fix syntax error on JSON range formatting (#10497) 2021-03-12 00:24:45 +02:00
fisker Cheung ff32d6b823 Playground: Order options (#10501)
* Playground: Order options

* Remove `rangeStart/End` from `ENABLED_OPTIONS`
2021-03-10 22:20:47 +02:00
fisker Cheung d3a0699148 Rename n to node (#10504) 2021-03-10 22:14:08 +02:00
Georgii Dolzhykov 4ece300581 Fix Flow range formatting (#10505)
* Fix Flow range formatting

* Add changelog
2021-03-10 15:12:27 +02:00
Georgii Dolzhykov 33ab1fccc8 Clarify docs about pragma (#10500) 2021-03-10 03:40:15 +02:00
Georgii Dolzhykov 6be741d74e Fix PR number in changelog 2021-03-10 03:02:43 +02:00
Georgii Dolzhykov 109492a497 Clarify prettier.format docs (#10499) 2021-03-10 02:54:50 +02:00
fisker Cheung 02f803ac8d JSON: Only allow +/- number in UnaryExpression (#10434) 2021-03-09 10:58:31 +08:00
046ffb11f9 Support better formatting for curried arrow functions (#9992)
* Support formatting for curried arrow functions

* Fix test file name

* Fix threshold

* Add changelog

* Fix operator for comparing

* Fix return pos

* Fix eslint

* level 2

* Refactor for level2

* Update tests

* Remove concat

* If it fits on one line, print on one line

* Indent second level arg

* Break before last return value

* Use isCallLikeExpression

* Improve printing

* Add tests

* Remove unnecesary condition

* Fix lint problems

* Update src/language-js/utils.js

Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>

* Update changelog

* Add ImportExpression

* Add ImportExpression to isCallLikeExpression

* Resolve conflicts

* Address reviews

* Fix ESLint problem

* Fix changelog

* Add tests

* More tests

* Print simple arrow chains on one line

* Don't forcibly break chain when a segment has a return type but no params

* Prevent excessive wrapping in assignments

* Simplify

* Format object bodies like blocks

* Update changelog

* Fix last arg expansion

* Simplify

* Fix arrow chains in assignment chains

Co-authored-by: Chris Brody <chris.brody+brodybits@gmail.com>
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2021-03-08 23:18:53 +02:00
fisker Cheung 94775e88ef Build: Fix rollup warning (#10487) 2021-03-08 17:08:47 +02:00
dependabot[bot] e0916e4979 Build(deps): Bump typescript from 4.2.2 to 4.2.3 (#10482) 2021-03-08 00:42:36 +00:00
dependabot[bot] 28179b8a50 Build(deps-dev): Bump webpack from 5.24.2 to 5.24.3 (#10484) 2021-03-07 22:29:50 +00:00
dependabot[bot] 65beebf14c Build(deps-dev): Bump eslint-plugin-jest from 24.1.5 to 24.1.8 (#10483) 2021-03-07 22:28:58 +00:00
dependabot[bot] 2558a0c4ab Build(deps-dev): Bump rollup-plugin-polyfill-node from 0.5.0 to 0.6.1 (#10471) 2021-03-07 21:13:07 +00:00
dependabot[bot] bb1be0d409 Build(deps): Bump @angular/compiler from 11.2.3 to 11.2.4 (#10476) 2021-03-07 21:11:50 +00:00
dependabot[bot] b6f53f93dc Build(deps-dev): Bump @babel/preset-env from 7.13.8 to 7.13.9 (#10474) 2021-03-07 21:11:15 +00:00
dependabot[bot] 689a8e55f0 Build(deps): Bump clipboard from 2.0.6 to 2.0.7 in /website (#10475) 2021-03-07 21:10:21 +00:00
dependabot[bot] c0bcfb40da Build(deps-dev): Bump webpack from 5.24.2 to 5.24.3 in /website (#10472) 2021-03-07 21:06:37 +00:00
dependabot[bot] 6561457fc1 Build(deps): Bump meriyah from 4.1.4 to 4.1.5 (#10477) 2021-03-07 21:05:54 +00:00
fisker Cheung c7f9b9d1e8 Fix a wrong condition (#10478)
* Add rule

* Fix
2021-03-07 12:19:38 +02:00
Sosuke Suzuki c9144daf47 Support TS 4.2 abstract construct types via ts-estree (#10466) 2021-03-06 19:16:51 +02:00