Commit Graph
6960 Commits
Author SHA1 Message Date
Sosuke Suzuki 520dbcd36e Add changelog for #13783 (#13811)
* Add changelog

* Fix
2022-11-06 17:54:43 +09:00
fisker Cheung ae4d85ab3c Update description of vueIndentScriptAndStyle option (#13781) 2022-11-04 11:14:12 +08:00
Sosuke Suzuki ff0529ac2e Backport "Support TS4.9 satisfies operator (#13764)" (#13783) 2022-11-04 10:35:50 +08:00
MillyandSosuke Suzuki ca246aface Fix --cache set only if with --write or no-different (#13016)
* Fixed typo

* Return early if file does not exist

* Added tests for cache

* Added `mockWriteFileErrors` option to run helper

* Added tests for write error

* Remove files with differences from cache

* Add `getCliArguments` utility function

Refactor

* Fix lint

* Revert "Fix lint"

This reverts commit 18be64b7c42cd669496d59ff64bd534b8e03c3df.

* Revert "Add `getCliArguments` utility function"

This reverts commit d653fe10a92390102ae97cb43b2efcbb5c3c9140.

* Refactor with `cliArguments` variable

Co-authored-by: Sosuke Suzuki <sosuke.suzuki@dr-ubie.com>
2022-10-24 23:55:36 +09:00
Anders Kaseorg f38111fec6 markdown: Preserve inline code line breaks if --prose-wrap=preserve (#11373) 2022-10-09 16:53:12 +03:00
Jed Fox bfb09bf214 Format pseudo-selector args like a function call (#13577) 2022-10-02 11:11:44 -04:00
2bbbe1a8d1 Improve MDX range ignore support (#12208)
Co-authored-by: Nick Rutten <nickrttn@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-28 10:02:17 +08:00
James C. Davisandfisker Cheung 38611cb16e [handlebars] correctly format custom "else if" blocks (#13507)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-26 11:04:50 +08:00
fisker Cheung 2bc757554b Update acorn & espree (#13506) 2022-09-22 19:11:34 +08:00
fisker Cheung 8764a3d378 Improve typescript bundle speed (#13433) 2022-09-22 19:11:19 +08:00
fisker Cheung b0d9387b95 Fix unpkg link (#13484) 2022-09-17 20:32:03 +08:00
fisker Cheung cd3e530c2e Reduce size of parser-typescript.js (#13431) 2022-09-06 20:38:50 +08:00
fisker Cheung 371c7093d0 Group @typescript-eslint/* dependencies in renovate config (#13430) 2022-09-06 14:40:59 +08:00
dependabot[bot] c51d509560 Build(deps): Bump node-fetch from 3.2.3 to 3.2.10 in /scripts/release (#13411)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.3 to 3.2.10.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.10)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:production
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 17:18:01 +08:00
dependabot[bot] ed4c3c19eb Build(deps-dev): Bump node-fetch from 3.2.3 to 3.2.10 (#13408)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 3.2.3 to 3.2.10.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v3.2.3...v3.2.10)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:development
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-03 17:16:12 +08:00
Ryan Vandersmith 98b93cfb03 Add prettier-plugin-motoko to community plugin list (#13406) 2022-09-02 09:03:52 +08:00
Sosuke Suzuki 68bd87b24b Fix generated changelog comment for css like syntax (#13403)
Fix generated comment for css like syntax
2022-08-31 00:59:20 +09:00
Simon Legnerandfisker Cheung 9850bc6af3 docs(configuration): linkfix (#12005)
* docs(configuration): linkfix

* Link to the `overrides` section in new ESLint website

* Update stable version docs too

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-29 16:24:02 +03:00
Dinika f48f514deb Update integrating-with-linters.md (#12363) 2022-08-29 16:21:18 +03:00
Adrian Leonhard e4af667e03 docs: plugins.md: add getCommentChildNodes (#12502) 2022-08-29 15:06:41 +03:00
5a627651ff fix: line breaks in multiline strings, issue 13157 (#13274)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
Co-authored-by: Gleb Dolzhikov <gleb.dolzhikov@ix.co>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-23 20:56:52 +08:00
Joe a2a3849c43 Added prettier-plugin-nginx to Community Plugins list (#13320)
Added [`prettier-plugin-nginx`](https://github.com/joedeandev/prettier-plugin-nginx) to Community Plugins list.
2022-08-21 15:48:37 +08:00
Gleb DolzhikovandGleb Dolzhikov f2244bdc86 Fix parens in inferred function return types with extends (#13289)
Co-authored-by: Gleb Dolzhikov <9276677@gmail.com>
2022-08-17 18:36:25 +03:00
José Pereiraandfisker Cheung 2d3a274847 fix: extra space between '#' and '{' (#13286)
* fix: extra space between '#' and '{'

* Update src/language-css/printer-postcss.js

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

* adding changelog

* Update 13286.md

Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-08-17 23:32:29 +09:00
Nikolas 5910eb9204 Add prettier-plugin-prisma to list of community plugins (#13272) 2022-08-15 18:18:37 +08:00
Caleb Jasik 0f19075f5f Add prettier-plugin-astro to list of plugins (#13269)
* Add prettier-plugin-astro to list of plugins

* Order the plugin correctly alphabetically

* Update creator text/link

* Update cspell dictionary
2022-08-12 17:18:55 +09:00
t-mangoeandSosuke Suzuki 00ec91bfde Added condition for '+' case. (#13115)
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com>
2022-08-08 01:08:28 +08:00
Georgii Dolzhykov 67efa96da6 Custom parser API: deprecation notice (#13252) 2022-08-07 14:12:17 +03:00
Georgii Dolzhykovandfisker 2c77149e6a Add benchmark script (#13224)
Co-authored-by: fisker <lionkay@gmail.com>
2022-08-06 11:25:34 +08:00
Georgii Dolzhykov bbbeeb07f6 Playground: "Rethrow embed errors" checkbox (#13227) 2022-08-05 17:05:50 +03:00
Sam Apostel 765cae2552 Docs: Use npm pkg set instead of deprecated npm set-script (#13186) 2022-08-01 10:26:23 +08:00
Sosuke SuzukiandHolger Jeromin 955553bb39 Add --cache-location option (#13019)
* Implement searching cache file from `--cache-location` option

* Add tests

* Add docs

* Fix

* Fix doc

* Add changelog

* Update snapshots

* Update docs

* Update docs/cli.md

Co-authored-by: Holger Jeromin <mailgithub@katur.de>

* Fix changelog

* Remove directory support

* Update docs

* Update tests

* Update docs

* Add validation for dir

* Fix comment

* Update option description

* Validate JSON

* Use `path.resolve`

Co-authored-by: Holger Jeromin <mailgithub@katur.de>
2022-07-31 22:58:05 +09:00
JounQin 6e1effadda docs: add sql plugin (#13184) 2022-07-29 01:46:35 +09:00
jinxdash 80ec70f81f Add rust to community plugins (#13180)
Add prettier-plugin-rust
2022-07-28 13:06:11 +03:00
Georgii Dolzhykov cd9955f143 Fix range format for function bodies (#13173) 2022-07-25 12:28:24 +03:00
Georgii Dolzhykov b65cb6c1f6 Playground: doc explorer (#10183) 2022-07-23 22:46:16 +03:00
Georgii Dolzhykov ab72a2c11c Refactor: simplify fits (#13154) 2022-07-23 20:15:50 +08:00
fisker Cheung 8ee0c6354d Fix ifBreak check in fits (#12362) 2022-07-23 18:02:05 +08:00
dependabot[bot] e46aba0ab2 Build(deps): Bump terser from 5.12.1 to 5.14.2 in /scripts/tools/bundle-test (#13144)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 09:58:40 +08:00
Sosuke Suzuki 89f90fc013 Insert spaces in pipe (#13100)
* Insert spaces to pipe arguments

* Update snapshots

* Add changelog

* Fix lint problem
2022-07-16 17:18:55 +09:00
fisker Cheung 8880afe9d1 Update dependencies in /website (#13112) 2022-07-15 22:55:29 +08:00
Diomidis Spinellis e5beb5aea4 Use appropriate chalk instance for stderr output (#13098)
Chalk auto-detects whether the output channel supports colors,
but does that for stderr.  Consequently, colors appear inconsistently
(and wrongly) depending on whether stdout or stderr have been redirected.

Issue: #13097
2022-07-13 23:14:40 +09:00
fisker Cheung 811b591ee8 Update dependency jest-docblock to v28.1.1 (#13054) 2022-07-11 10:03:49 +08:00
Sosuke Suzuki ae3dd17114 Refactor: Extract printEndOfOpeningTag (#13086)
* Refactor

* Rename

* Fix typo
2022-07-09 20:05:27 +09:00
fisker Cheung 6bc6914d0b Enable unicorn/prefer-logical-operator-over-ternary rule (#13060) 2022-07-09 16:03:46 +09:00
Or Rosenblatt a00d31e1a4 Support .lintstagedrc (#13081)
* Test `.lintstagedrc` JSON and YML formatting (TDD)

* Support `.lintstagedrc` formatting

* Update spell checking for `.lintstagedrc`

* Update changelog

* Update changelog
2022-07-09 13:30:26 +09:00
fisker Cheung a043ac0d73 Update dependency @typescript-eslint/typescript-estree to v5.30.0 (#13053) 2022-06-28 14:22:10 +08:00
Huáng Jùnliàng 9dd761a6e4 fix: JSON modules disable named exports (#13035) 2022-06-23 02:05:46 +08:00
Huáng Jùnliàng b0201e01ef fix: JSON modules disable named exports (#13031) 2022-06-21 10:56:00 +08:00
Sosuke Suzuki fde0b49d78 Run prettier 2022-06-18 21:49:24 +09:00