Commit Graph
7546 Commits
Author SHA1 Message Date
Georgii Dolzhykov 3f21de6583 Move comment-related printer methods to separate directory (#13454) 2022-09-11 21:53:11 +03: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
renovate[bot] 58fc024774 Update dependency eslint-plugin-react to v7.31.8 (#13457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-11 17:19:02 +09:00
renovate[bot] 040ec43012 Update dependency eslint-plugin-jest to v27.0.4 (#13456)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-11 17:18:33 +09:00
Georgii Dolzhykovandfisker Cheung 299503f9be Add getters to path object (#13448)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-09 21:28:14 +08:00
fisker Cheung e2337dce26 Glimmer: Combine plugins to reduce traverse (#13446) 2022-09-09 11:25:30 +08:00
Georgii Dolzhykov 87d724f418 Refactor: use path.getValue() everywhere instead of getNode() (#13447)
Use path.getValue() everywhere instead of getNode()
2022-09-08 21:11:00 +03:00
Georgii Dolzhykov d2a0c778ef Fix merged line comments (#13438) 2022-09-08 09:45:33 +03:00
fisker Cheung d0953f34d8 Fix yarn lint script (#13441) 2022-09-08 09:44:12 +08:00
fisker Cheung 6082e3ec9e Remove outdated hack for flow parser (#13442) 2022-09-08 09:43:47 +08:00
Sosuke Suzuki e3ef1e4566 Drop Node.js 14 for development build (#13439)
* Drop Node.js 16 for development

* Fix engine

* Address review
2022-09-08 01:03:45 +09:00
renovate[bot]andfisker Cheung bd5f91545f Update dependency typescript to v4.8.2 (#13381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2022-09-07 21:02:51 +08:00
Sosuke Suzuki 1142cf0cb7 Fix generate truncate comment (#13437)
Fix condition
2022-09-07 18:11:10 +09:00
Georgii Dolzhykov 5766433a62 Get rid of regexp and handle cursor in trim in doc printer (#13426) 2022-09-06 15:57:47 +03:00
fisker Cheung a6d6c9c3a2 Merge remote-tracking branch 'remotes/upstream/main' into next
# Conflicts:
#	scripts/build/config.mjs
2022-09-06 20:43:52 +08:00
fisker Cheung cd3e530c2e Reduce size of parser-typescript.js (#13431) 2022-09-06 20:38:50 +08:00
fisker Cheung 151ab582b5 Merge branch 'main' into next
# Conflicts:
#	package.json
#	scripts/release/yarn.lock
#	yarn.lock
2022-09-06 19:22:51 +08:00
Georgii Dolzhykov 2a70ee49a6 Fix leading comments in mapped types with readonly (#13427) 2022-09-06 11:55:11 +03:00
fisker Cheung 371c7093d0 Group @typescript-eslint/* dependencies in renovate config (#13430) 2022-09-06 14:40:59 +08:00
renovate[bot] 6de25047f6 Update dependency jest to v29.0.2 (#13418)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 09:46:57 +08:00
renovate[bot] 37172a563a Update dependency flow-parser to v0.186.0 (#13423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 09:45:12 +08:00
renovate[bot] ced2c2b1f5 Update dependency eslint-plugin-react to v7.31.7 (#13417)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-06 09:33:35 +08:00
renovate[bot] 6ab50bc324 Update dependency jest to v29.0.2 (#13424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 01:13:16 +08:00
renovate[bot] d921234744 Update dependency browserslist-to-esbuild to v1.2.0 (#13422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 00:58:46 +08:00
renovate[bot] 9878453018 Update dependency esbuild to v0.15.7 (#13416)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-09-05 00:58:02 +08:00
Georgii Dolzhykov 9cf3c09be9 Override version for the trim package to fix Markdown perf (#13415) 2022-09-04 09:08:42 +08:00
Georgii Dolzhykov 39a89c6519 Don't break signature of hugged function expression if parameters are identifiers without types (#13410) 2022-09-03 17:49:57 +03: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
fisker Cheung bfc91d9f81 Use visitor keys from "hermes-eslint" (#13409) 2022-09-03 17:12:19 +08:00
renovate[bot]andfisker 40ffe244a3 Update dependency espree to v9.4.0 (#13378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2022-09-03 10:37:05 +08:00
Ryan Vandersmith 98b93cfb03 Add prettier-plugin-motoko to community plugin list (#13406) 2022-09-02 09:03:52 +08:00
Georgii Dolzhykov a82a7e0233 Playground: press ctrl-q to generate a dummy id (#13405) 2022-09-01 23:20:56 +03:00
fisker Cheung 05922176b9 Simplify print command trim (#13314) 2022-08-31 17:46:22 +08:00
Sosuke Suzuki 40af3ed1ca Keep trailing-comma for var function (#13402)
* Keep trailing-comma for last el

* Make hasComma function

* Fix tests

* Add changelog
2022-08-31 00:59:34 +09: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
fisker Cheung f47a852afa Move print pre-check into core (#13400) 2022-08-30 22:42:58 +08:00
Georgii Dolzhykov f5610b8510 Hug object types in function parameters in Flow like in TS (#13396) 2022-08-30 17:38:50 +03:00
renovate[bot] 26ea4c42fd Update dependency jest to v29 (#13383)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-30 13:14:19 +08:00
fisker Cheung 17cb07665f Improve css/yaml embed traverse (#13294) 2022-08-30 11:00:12 +08:00
fisker Cheung 8d86bc1a78 Add print pre-check to CSS printer (#13398) 2022-08-30 10:30:47 +08:00
fisker Cheung 30f8825cb0 Add cause to parse error (#13342) 2022-08-30 10:27:11 +08: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
fisker Cheung 6712071e24 Stop passing undefine and null to printer (#13397) 2022-08-29 16:10:50 +03:00
Adrian Leonhard e4af667e03 docs: plugins.md: add getCommentChildNodes (#12502) 2022-08-29 15:06:41 +03:00
Georgii Dolzhykov 41ff44e0c6 Refactor, optimize and fix call args expansion (#13341) 2022-08-29 14:37:09 +03:00
fisker Cheung 4a224a7221 Add print pre-check to handlebars, html, markdown, yaml (#13392) 2022-08-29 18:16:38 +08:00
Georgii Dolzhykov 1ea5c993a0 Fix arrow chain indentation in calls and binaries (#13391) 2022-08-29 12:27:24 +03:00
renovate[bot] d0c15ecb28 Update dependency eslint-plugin-jest to v27.0.1 (#13394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-08-29 09:32:53 +08:00