fisker Cheung
4fa4756df3
Update yarn to v4.1.1 ( #16203 )
2024-04-04 22:28:18 +08:00
fisker Cheung
76b8f95061
Rename parameters in massageAstNode ( #16024 )
2024-02-04 14:32:54 +08:00
fisker Cheung
6d0b1d2a93
Update yarn to v4.1.0 ( #16021 )
2024-02-03 20:30:08 +08:00
fisker Cheung
6eda34db44
Test: Rename run_spec to runFormatTest ( #15943 )
2024-01-19 17:20:24 +08:00
fisker Cheung
d3dca92292
Switch to the new ESLint config ( #15869 )
2024-01-08 14:48:45 +08:00
fisker Cheung
03f05fa3b5
Upgrade to yarn 4 ( #15548 )
2023-12-15 21:09:05 +08:00
fisker Cheung
7aecca5d64
Update yarn to v3.7.0 ( #15692 )
2023-11-20 20:55:44 +08:00
fisker Cheung
16fb66cf0d
Upgrade yarn to v3.6.4 ( #15558 )
2023-10-28 02:28:54 +08:00
fisker Cheung
f986dc5668
Add packageManager to submodules ( #15318 )
2023-08-28 21:46:33 +08:00
renovate[bot] and fisker Cheung
825425c57f
chore(deps): update dependency eslint-plugin-import to v2.28.0 ( #15184 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2023-07-31 13:14:25 +08:00
Sosuke Suzuki
fa48415617
Bump Prettier dependency to 3.0.0
2023-07-05 21:50:05 +09:00
renovate[bot] and Sosuke Suzuki
651720af18
Update dependency eslint-plugin-n to v16 ( #14847 )
...
* Update dependency eslint-plugin-n to v16
* Add `@eslint-community/eslint-utils`
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com >
2023-05-22 14:23:28 +09:00
fisker Cheung
b86e42cc84
Ignore .gitignored files ( #14731 )
2023-05-04 17:20:05 +08:00
fisker Cheung
fb948bb15f
Integration test: Rename runPrettier to runCli ( #14687 )
2023-04-11 08:44:23 +08:00
fisker Cheung
b5210fd392
Improve internal eslint rule ( #14479 )
2023-03-10 15:01:30 +08:00
fisker Cheung
134f6078e1
Add document/public.js to export public apis, remove internal utils ( #14456 )
2023-03-07 08:54:11 +08:00
fisker Cheung
52140cc6ad
Improve internal ESLint rule ( #14112 )
2023-01-11 11:22:44 +08:00
fisker Cheung
f5fc865953
Forbid AstPath.getName() ( #14106 )
2023-01-10 11:11:39 +08:00
fisker Cheung
4176837f75
Add prefer-create-type-check-function rule ( #14071 )
2022-12-29 17:17:19 +08:00
fisker Cheung
9eafbf6854
Enable unicorn/prefer-string-replace-all rule ( #13788 )
2022-11-06 19:55:24 +08:00
Sosuke Suzuki and fisker 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
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
fisker Cheung
9bacc75772
Use .at() and Object.hasOwn() ( #13482 )
2022-09-18 17:50:14 +08:00
fisker Cheung
be5f457498
Use AstPath getters in needs-parens.js ( #13476 )
2022-09-14 14:09:10 +08:00
Sosuke Suzuki
e92dcbd1a5
Add new ESLint prefer-ast-path-node ( #13470 )
...
* Add new lint rule `prefer-path-get-value`
* Add new rule
* Apply fix
* Ingore projects in benchmark
* Add comment
2022-09-11 18:39:06 +09:00
fisker Cheung
33e621133c
Remove prettier.doc.builders.concat ( #13203 )
2022-08-06 11:03:47 +08:00
Sosuke Suzuki
6c722c7990
[next]Enforce fs/promises ( #13119 )
...
* Add new ESLint rule `prefer-fs-promises`
* Apply rule
* Renaming
2022-07-17 16:02:22 +09:00
fisker Cheung
fcc8c484c3
Use yarn 3 ( #12599 )
2022-05-06 20:27:33 +08:00
fisker Cheung
2bcee631a2
Refactor: Import document/*.js directly ( #12739 )
2022-04-29 14:04:17 +08:00
fisker Cheung
be0739ec22
Add type:"module" to package.json ( #12272 )
2022-02-12 15:39:16 +08:00
fisker Cheung
f0b63f3dff
Merge branch 'main' into next
...
# Conflicts:
# CONTRIBUTING.md
# cspell.json
# docs/options.md
# package.json
# scripts/build/bundler.mjs
# src/language-css/loc.js
# src/language-css/parser-postcss.js
# src/language-css/utils/index.js
# tests/format/js/arrows-bind/jsfmt.spec.js
# tests/format/js/async-do-expressions/jsfmt.spec.js
# tests/format/js/bind-expressions/jsfmt.spec.js
# tests/format/js/classes/top-level-super/jsfmt.spec.js
# tests/format/js/comments-pipeline-own-line/jsfmt.spec.js
# tests/format/js/decorator-comments/jsfmt.spec.js
# tests/format/js/decorators-export/jsfmt.spec.js
# tests/format/js/decorators/jsfmt.spec.js
# tests/format/js/do/jsfmt.spec.js
# tests/format/js/export-default/escaped/jsfmt.spec.js
# tests/format/js/export-extension/jsfmt.spec.js
# tests/format/js/export-star/jsfmt.spec.js
# tests/format/js/exports/jsfmt.spec.js
# tests/format/js/invalid-code/jsfmt.spec.js
# tests/format/js/logical-assignment/jsfmt.spec.js
# tests/format/js/multiparser-invalid/jsfmt.spec.js
# tests/format/js/no-semi-babylon-extensions/jsfmt.spec.js
# tests/format/js/object-property-comment/jsfmt.spec.js
# tests/format/js/partial-application/jsfmt.spec.js
# tests/format/js/pipeline-operator/jsfmt.spec.js
# tests/format/js/private-in/jsfmt.spec.js
# tests/format/js/record/jsfmt.spec.js
# tests/format/js/reserved-word/jsfmt.spec.js
# tests/format/js/strings/jsfmt.spec.js
# tests/format/js/throw_expressions/jsfmt.spec.js
# tests/format/js/trailing-whitespace/jsfmt.spec.js
# tests/format/js/v8_intrinsic/jsfmt.spec.js
# tests/format/misc/errors/js/literal/jsfmt.spec.js
# tests/format/misc/errors/js/object/jsfmt.spec.js
# tests/format/misc/errors/js/variable-declarator/jsfmt.spec.js
# tests/integration/__tests__/bundle.js
# tsconfig.json
# yarn.lock
2022-02-09 09:22:32 +08:00
fisker Cheung
7e73f1cf0d
Update cSpell config ( #12154 )
2022-01-27 15:03:49 +08:00
fisker Cheung
7290ff2dc7
Add internal ESLint rule no-legacy-format-test-fixtures ( #12044 )
2022-01-04 19:31:17 +08:00
fisker Cheung and Sosuke Suzuki
5f453482bc
Add internal ESLint rule await-cli-tests ( #12013 )
...
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
2022-01-03 22:16:25 +08:00
fisker Cheung
70aa861bc1
Fix internal ESLint plugin ( #11780 )
2021-11-08 18:17:15 +08:00
fisker Cheung
b001969b94
Remove require-json-extensions rule ( #11233 )
2021-07-22 09:32:21 +08:00
fisker Cheung
894f841fbd
Style: Enforce extensions ( #11227 )
2021-07-21 09:10:34 +08:00
Adaline Valentina Simonian
cedaec3c2d
Fix docs urls for internal lint rules ( #11011 )
...
scripts/eslint-plugin-prettier-internal-rules →
scripts/tools/eslint-plugin-prettier-internal-rules
2021-06-04 14:50:53 +08:00
fisker Cheung
81a1c46311
Minor tweak to js printer ( #10954 )
2021-05-27 18:00:31 +08:00
Georgii Dolzhykov
3d8dc612b5
Bump Prettier dependency to 2.3.0
2021-05-10 00:07:47 +03:00
fisker Cheung
28e67a25ac
Add no-conflicting-comment-check-flags rule ( #10775 )
2021-04-27 11:25:31 +08:00
fisker Cheung
230428f34b
Add consistent-negative-index-access rule ( #10569 )
2021-03-20 14:06:12 +02: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
fisker Cheung
d3a0699148
Rename n to node ( #10504 )
2021-03-10 22:14:08 +02:00
fisker Cheung
c7f9b9d1e8
Fix a wrong condition ( #10478 )
...
* Add rule
* Fix
2021-03-07 12:19:38 +02:00
fisker Cheung
95c8086c2c
Add flat-ast-path-call rule ( #10354 )
2021-02-26 09:26:50 +08:00
Georgii Dolzhykov
f3906d84d4
Refactor: rename FastPath → AstPath ( #10276 )
2021-02-10 13:42:06 +02:00
Georgii Dolzhykov
5a33fec904
RFC: indentIfBreak ( #10221 )
2021-02-05 01:03:40 +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