Commit Graph
50 Commits
Author SHA1 Message Date
Sosuke Suzuki 4aef256147 Git blame ignore 3.0.0 2023-07-05 21:50:05 +09:00
Sosuke Suzuki fa48415617 Bump Prettier dependency to 3.0.0 2023-07-05 21:50:05 +09:00
Sosuke Suzuki 151cc2c4f2 Update dependents count 2023-07-05 21:46:57 +09:00
Sosuke Suzuki 186e0966b0 Release 3.0.0 2023-07-05 21:41:09 +09:00
Sosuke Suzuki 26b45e361f Git blame ignore 2.8.2 2023-01-07 20:22:01 +09:00
Sosuke Suzuki b9c3cd4c70 Bump Prettier dependency to 2.8.2 2023-01-07 20:22:01 +09:00
Sosuke Suzuki dc187f1936 Update dependents count 2023-01-07 20:21:43 +09:00
Sosuke Suzuki ac88438d65 Release 2.8.2 2023-01-07 20:15:48 +09:00
Sosuke Suzuki a5bd5579cb refactor: renameprintList to printHeritageList (#13645)
* Reanem `printList` to `printHeritageList`

* Rename
2022-12-30 15:32:20 +09:00
Sosuke Suzukiandfisker 08a51db63f Update dependencies (#14052)
Co-authored-by: fisker <lionkay@gmail.com>
2022-12-23 21:45:45 +08:00
Sosuke Suzukiandfisker 7564339a15 Support type annotations on auto accessors via babel-ts (#14049)
* Update `@babel/parser`

* Move tests to `/format/typescript`

* Update tests

* Add changelog

* Dedupe

Co-authored-by: fisker <lionkay@gmail.com>
2022-12-23 16:41:36 +09:00
Sosuke Suzuki b237e464e1 Update deps 2022-12-08 22:10:19 +09:00
Sosuke Suzuki 812ceb7657 Update visitor-keys tests 2022-12-08 22:03:33 +09:00
Sosuke Suzuki a8869bef55 Merge branch 'main' into next 2022-12-08 22:00:17 +09:00
Sosuke Suzuki 26b5273833 Revert removing version validation 2022-12-08 02:31:38 +09:00
Sosuke Suzuki be4dd620bf Clean changelog_unreleased 2022-12-08 02:31:11 +09:00
Sosuke Suzuki 804e5a75f3 Git blame ignore 2.8.1 2022-12-08 02:29:25 +09:00
Sosuke Suzuki b87de09bcf Bump Prettier dependency to 2.8.1 2022-12-08 02:29:25 +09:00
Sosuke Suzuki 80c3ec14ee Update dependents count 2022-12-08 02:29:08 +09:00
Sosuke Suzuki cd1df1a184 Release 2.8.1 2022-12-08 02:22:06 +09:00
Sosuke Suzuki 5541a63d76 Remove version validation 2022-12-08 01:48:48 +09:00
Sosuke Suzukiandfisker Cheung 1cf760a184 Support decorator auto accessors syntax (#13919)
* Install new ts-estree

* Print auto accessor properties

* Support edge cases

* Misc tests

* Add tests for auto accessor with type annotations

* Add changelog

* Update changelog_unreleased/typescript/13919.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* Update changelog_unreleased/typescript/13919.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>

* Print semicolon for accessor and add tests

* Add TODO comment

* Add  to properties list

* Address review

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-12-05 20:50:15 +09:00
Sosuke Suzuki 2d655b03ad Merge branch 'main' into next 2022-12-05 17:56:47 +09:00
Sosuke Suzuki 9c45de6842 Clean changelog 2022-11-23 14:11:13 +09:00
Sosuke SuzukiandGeorgii Dolzhykov ebd4542d59 2.8 blog post (#13813)
* Draft

* Update

* Generate

* Add `truncate`

* Address review

* Regen

* Update

* Reword changelog for #13016

* Edit intro

* Edit changelog for #13019

* Regenerate blog post

* Address review

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2022-11-23 14:01:45 +09:00
Sosuke Suzuki a34272d32f Validate version 2022-11-23 13:54:54 +09:00
Sosuke Suzuki 94c25d9e5e Git blame ignore 2.8.0 2022-11-23 13:53:57 +09:00
Sosuke Suzuki 4049e49fe2 Bump Prettier dependency to 2.8.0 2022-11-23 13:53:57 +09:00
Sosuke Suzuki 595fbafb99 Update dependents count 2022-11-23 13:53:37 +09:00
Sosuke Suzuki dcc0623911 Release 2.8.0 2022-11-23 13:24:27 +09:00
Sosuke Suzuki 7f7498109b Remove version validattion temp 2022-11-23 13:20:49 +09:00
Sosuke Suzuki 876c297589 Update changelog for satisfies (#13879)
Address review
2022-11-22 15:25:52 +09:00
Sosuke Suzuki fd376000e9 Update @typescript-eslint/typescript-estree to support satisfies (#13872)
* Update to `5.43.1-alpha.22`

* Update snapshots for satisfies

* Update changelog

* Remove `@ts-expect-error` comment

* Yarn dedupe

* Update to stable version

* Fix changelog

* Fix changelog
2022-11-22 15:19:28 +09:00
Sosuke Suzuki 5e0b88329e Fix generate truncate comment (backport #13437) (#13814)
Fix generate truncate comment
2022-11-06 18:59:10 +09:00
Sosuke Suzuki a980caa7db Add missing changelog for #13016 (#13812)
* Add missing changelog

* Fix
2022-11-06 18:48:44 +09:00
Sosuke Suzuki 520dbcd36e Add changelog for #13783 (#13811)
* Add changelog

* Fix
2022-11-06 17:54:43 +09:00
Sosuke Suzuki fb55c39c00 Remove needless conditions for YeildExpression in needs-parens (#13790)
Remove needless condition
2022-11-06 14:06:46 +09:00
Sosuke Suzuki ff0529ac2e Backport "Support TS4.9 satisfies operator (#13764)" (#13783) 2022-11-04 10:35:50 +08:00
Sosuke Suzuki 67e121a20b Add more tests for satisfies (#13775) 2022-11-02 09:45:34 +08:00
Sosuke Suzuki 931661a7aa Support TS4.9 satisfies operator (#13764)
* Print `satisfies` operators

* Add tests

* Add changelog

* Add `hug-args` tests

* Add more tests for TSAsExpression

* Add tests for argument expansion

* Add tests for template literal

* Add tests for ternary

* Add tests for export default satisfies

* Add tests for no lookahead tokens

* Add more tests for needs parens 1

* Add more tests for needs-parens 2

* Add more tests for needs parens 3

* Add tests for needs parens 4

* Add comment

* Add more tests for needs parens 5

* Add more tests for needs parens 6

* Fix test cases

* Fix snapshots

* Fix unstable tests

* No parens for mixed

* Merge printing logic

* More reuse `isTSTypeExpression`
2022-11-01 19:08:55 +09:00
Sosuke Suzuki bb04cf072e Merge branch 'main' into next 2022-10-25 01:42:41 +09:00
Sosuke Suzuki d09bc86c9f Enable prettier-internal-rules/prefer-fs-promises-submodule for all files (#13722)
* Enable `prefer-fs-promises-submodule` for all files

* Fix problems
2022-10-23 22:23:44 +09:00
Sosuke Suzuki f8773fcd6a Remove rimraf package (#13721)
* Remove `rimraf` from `draft-blog-post`

* Remove `rimraf` from `sync-flow-tests`

* Remove `rimraf` from cache tests

* Uninstall `rimraf`
2022-10-23 22:23:30 +09:00
Sosuke Suzukiandfisker Cheung 92a6af22e7 Remove prefer-ast-path-node and add prefer-ast-path-getters (#13648)
* Support `getParent`

* Fix

* Fix

* Refactor

* Rename rule and add tests

* Fix by rule

* Fix error message

* Add error message tests

* Run Prettier!

* Address review

* Improve error message

* Refactor

* Stricter check & refactor

* Minor tweak

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-10-18 14:23:13 +09:00
Sosuke Suzuki 8c352359ab Update espree.d.ts (#13644)
* Update type def for espree

* Update
2022-10-16 14:56:02 +09:00
Sosuke Suzuki 93553e95d2 Add meta.schema to internal ESLint rules for removing warnings (#13649)
* `jsx-identifier-case`

* `no-node-comments`

* Fix
2022-10-16 10:14:38 +09:00
Sosuke Suzuki 1cfccd3b82 Remove node-actionlint (#13617)
Remove node-actionlint
2022-10-12 13:50:41 +08:00
Sosuke Suzuki 28b7f2bffd Consistent dangling comments formatting for tuple and array (#13608)
* Consistent dangling comments formatting for tuple and array

* Add tests

* Add changelog

* Fix changelog

* Rename

* Refactor

* Fix ternary

* Remove needless ternary
2022-10-11 07:22:26 +09:00
Sosuke Suzuki 63be4c7f8b SCSS: Fix formatting string value that includes escape \ (#13487)
* Ignore ignoreing escape for `value-string`

* Revert

* Add changelog
2022-09-18 23:42:16 +09:00
Sosuke Suzuki 8cfdcaa6b2 Use Object.hasOwn instead of Reflect.has in build script (#13495)
Use `Object.hasOwn` instead of `Reflect.has`
2022-09-18 18:32:17 +09:00