fisker Cheung

Results 335 issues of fisker Cheung

## Description - Simplify logic ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API or CLI) I’ve documented the...

It's hard to access ancestors, why can't we use `.parent` like ESLint do? And it's a state machine, remove it so maybe we can print node in parallel, by worker?

status:needs discussion
type:refactor

Lots of unrelated things exported. ```js Object.keys(await import('./dist/index.js')).length 285 ```

type:infra

https://github.com/prettier/prettier/blob/9786ce2fb628ac4ad3ed5088fd8f7c66a93d9c17/src/language-js/parser-babel.js#L110 The 2nd parameter, seems not very useful, but I'm not sure if plugins uses it, but plugin can always load other plugin by themself. I think we can remove...

status:needs discussion
area:api
status:needs investigation
area:plugin api

**Environments:** - Prettier Version: 2.7.1 - Running Prettier via: - Runtime: - Operating System: - Prettier plugins (if any): **Steps to reproduce:** During #12859, I found two possible issues. Problem...

type:bug
area:cli
status:needs investigation
area:ignore

## Description Investigating #13151 ## Checklist - [ ] I’ve added tests to confirm my change works. - [ ] (If changing the API or CLI) I’ve documented the changes...

Seems stuck in installing Prettier [CI log](https://github.com/prettier/prettier/runs/7460178109?check_suite_focus=true#step:6:8)

type:meta
type:tests
status:needs investigation

### 🚀 Feature Proposal If I didn't get it wrong, currently we don't allow config `maxWorkers` in `projects` Allow config `maxWorkers` per project ```js modules.exports = { projects: [ {...

:rocket: Feature Request

## Description This is a limitation on github urls, seems about 8195 (including `https://github.com`) [here](https://github.com/sindresorhus/np/releases/new?body=_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________) ## Expected behavior I think maybe we can copy the body to clipboard and open...

enhancement
help wanted
good first issue

```js import {foo} from 'foo' ``` Without location info, it's impossible to know if it's shorthand, if I understand correctly, `SourceLocation` is not required in ESTree. Add `shorthand` property to...