fisker Cheung
49c6b82517
Merge branch 'main' into next
...
# Conflicts:
# package.json
# tests/integration/__tests__/help-options.js
# yarn.lock
2021-12-17 10:30:50 +08:00
dependabot[bot]
db0604eddd
Build(deps): Bump @babel/parser from 7.16.4 to 7.16.6 ( #11973 )
2021-12-15 02:04:49 +00:00
fisker Cheung
44c8508e02
Merge branch 'main' into next
...
# Conflicts:
# yarn.lock
2021-11-22 11:24:52 +08:00
Sosuke Suzuki
7acdac30db
Remove unnecessary parentheses for decorators ( #11849 )
...
* Remove unnecesary parans for typescript parser
* Add tests
* Update changelog
2021-11-21 15:54:18 +09:00
fisker Cheung
3001154f8d
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# scripts/build/config.mjs
# yarn.lock
2021-11-18 10:40:53 +08:00
Titus and sosukesuzuki
cca8469388
Add support for MDX 2 comments ( #11563 )
...
* Add support for MDX 2 comments
This adds support for MDX 2 comments (which are the same as other
comments inside JSX) in addition to MDX 1 comments (HTML-like
constructs).
Related to GH-10706.
Related to wooorm/xdm#61 .
* Fix blank line before comment
* Add `esComment` to `printer-markdown`
* Add embedded test
* Remove embedded formatter
* Add support for es-comments as blocks & test prettier-ignore comments
* Add a test for mdx pragma
* Remove duplicate fixture
* Add changelog
* Add note clarifying support
Co-authored-by: sosukesuzuki <aosukeke@gmail.com >
2021-11-17 16:49:19 +09:00
Sosuke Suzuki
9e1038c0eb
Support TypeScript 4.5 syntax ( #11813 )
...
* Update dependencies
* Add tests for type-only module specifiers
* Add tests for ts import assertions
* Add tests for ts private-fields-in-in
* Update changelog
* Update misc tests
* Update SYNTAX_KIND_PROPERTY_DEFINITION
* List typescript from error list
2021-11-16 10:15:08 +09:00
Sosuke Suzuki
2eb7cdd613
(only babel-ts) Support TypeScript 4.5 type-only module specifiers ( #11723 )
...
* Support TypeScript 4.5 type-only module specifiers
* Add tests
* Update changelog
2021-10-30 21:52:49 +09:00
Sosuke Suzuki
6f602d1126
Fix formatting for tagged template decorators ( #11717 )
...
* Fix formatting for tagged template decorators
* Add changelog
2021-10-25 21:23:42 +09:00
Sosuke Suzuki
65e01b7c03
Update typescript-estree to 5.x ( #11676 )
...
* Remove useJSXTextNode
* Replace TSAbstractClassProperty to TSAbstractPropertyDefinition
* Throw syntax error for inalid abstract property
* Support PropertyDefinition for quoted props
* Refactor postprocess
* Add tests for removing TSParenthesizedType
* Install new ts-estree
* Remove unused handling TSPrivateIdentifier
* Fix lint problem
* Address review
2021-10-20 15:13:02 +09:00
sosukesuzuki
7446e06d47
Merge branch 'main' into next
2021-10-10 14:58:57 +09:00
Sosuke Suzuki and dependabot[bot]
fb7451a1a2
Support right precedence hack-style pipeline ( #11557 )
...
* Build(deps): Bump @babel/parser from 7.15.5 to 7.15.7
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser ) from 7.15.5 to 7.15.7.
- [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.15.7/packages/babel-parser )
---
updated-dependencies:
- dependency-name: "@babel/parser"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Build(deps): Bump @babel/parser from 7.15.5 to 7.15.6
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser ) from 7.15.5 to 7.15.6.
- [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.15.6/packages/babel-parser )
---
updated-dependencies:
- dependency-name: "@babel/parser"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* tmp
* paren
* tmp
* Return parts simply
* Recursive for hack pipe
* Update tests
* Revert shouldFlatten
* Revert needs-parens
* Fix
* Fix lint problems
* Update error message
* Fix isEnabledHackPipeline logic
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-02 11:34:32 +09:00
fisker Cheung
beba6fa88c
Merge branch 'next' of github.com:prettier/prettier into next
...
# Conflicts:
# package.json
# yarn.lock
2021-09-08 12:54:17 +08:00
dependabot[bot]
47cfb6beb3
Build(deps): Bump typescript from 4.3.5 to 4.4.2 ( #11423 )
2021-08-29 09:37:09 +00:00
dependabot[bot] and Sosuke Suzuki
29b116b4a1
Build(deps): Bump @babel/parser from 7.15.2 to 7.15.3 ( #11345 )
...
* Build(deps): Bump @babel/parser from 7.15.2 to 7.15.3
Bumps [@babel/parser](https://github.com/babel/babel/tree/HEAD/packages/babel-parser ) from 7.15.2 to 7.15.3.
- [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.15.3/packages/babel-parser )
---
updated-dependencies:
- dependency-name: "@babel/parser"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Add tests for `@babel/parser` 7.15.3 (#11366 )
* Add tests for babel/babel#13659
* Add tests for babel/babel#13655
* Add tests for babel/babel#13645
* Update tests
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2021-08-19 07:26:12 +08:00
Sosuke Suzuki
53f95f3500
Support hack-style pipeline ( #11335 )
...
* Avoid to conflicts to v8intrinsic plugin
* Support hack-style pipeline
* Update tests for hask-style pipeline
* Update tests 2
* Add changelog
* Update misc tests
* Address reviews
* Fix type error
* Copy plugin array
* Add tests
* Address review
* Add error tests
2021-08-15 01:16:13 +09:00
fisker Cheung
a998e3c34d
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# src/language-css/loc.js
# yarn.lock
2021-08-13 11:45:05 +08:00
Sosuke Suzuki
1645e7a9c4
Update to babel/parser 7.15.0 ( #11310 )
...
* Update to babel/parser 7.15
* Avoid plugin conflicts
* Remove allowAwaitOutsideFunction
* Add remove private-in
* Update tests for top-level-await
* Update typescript tests
* Handle bar style record/tuple
* Update tests
* Use appendPlugin
* Dont consider about bar style record and tuple
* Revert appendChild
* Update appendPlugins
2021-08-05 19:14:42 +09:00
fisker Cheung
894f841fbd
Style: Enforce extensions ( #11227 )
2021-07-21 09:10:34 +08:00
fisker Cheung
10053999d7
Update meriyah to v4.2.0 ( #11194 )
2021-07-12 14:45:33 +08:00
09222ed6e8
Build(deps): Bump espree from 7.3.1 to 8.0.0 ( #11162 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com >
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2021-07-07 18:53:09 +08:00
dependabot[bot]
4672b21177
Build(deps): Bump @babel/parser from 7.14.4 to 7.14.5 ( #11065 )
2021-06-13 17:08:22 +00:00
fisker
77f8f0ddb5
Merge branch 'main' into next
...
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# yarn.lock
2021-06-14 00:31:55 +08:00
Sosuke Suzuki
06065bf49b
Support TypeScript 4.3 ( #10945 )
...
* Update deps
* Add tests
* Add changelog
2021-05-25 10:39:32 +03:00
fisker Cheung
877e64c046
Fix missing parentheses on async inside for..of ( #10781 )
2021-05-06 16:53:48 +03:00
fisker Cheung
413bb11bc9
Merge branch 'main' into next
...
# Conflicts:
# package.json
# yarn.lock
2021-05-06 16:08:40 +08:00
fisker Cheung
60619338f1
Merge branch 'main' into next
...
# Conflicts:
# package.json
# tests/css/atrule/each.css
# tests/css/atrule/for.css
# tests/css/atrule/if-else.css
# tests/css/atrule/include.css
# tests/css/atrule/while.css
# tests/format/css/atrule/each.css
# tests/format/css/atrule/for.css
# tests/format/css/atrule/if-else.css
# tests/format/css/atrule/include.css
# tests/format/css/atrule/while.css
# tests/scss/atrule/each.scss
# tests/scss/atrule/for.scss
# tests/scss/atrule/if-else.scss
# tests/scss/atrule/include.scss
# tests/scss/atrule/while.scss
# yarn.lock
2021-05-06 16:00:12 +08:00
Sosuke Suzuki
711c6d0d27
Support typescript 4.3 via babel ( #10811 )
...
* Suppor type members get/set
* Add tests for static index signature in class
* Support override modifier in class
* Add changelog
2021-05-05 22:32:51 +03:00
Sosuke Suzuki
63c744823b
Update babel parser ( #10802 )
...
* Update
* Use error codes instead of error messages
* Update js tests
* Update ts tests
* Add comments
* Remove plugins enabled by default
* update misc error tests
* Remove moduleStringNmaes
* use allowedMessagesCode directly
* Remove some misc tests
* Update snapshots for integration tests
* Add Redeclaration to cspell.json
2021-05-03 12:12:25 +09:00
fisker Cheung
ece93681f1
Restructure test files ( #10415 )
2021-04-25 20:01:56 +08:00