fisker Cheung
fisker Cheung
### 💻 - [ ] Would you like to work on a fix? ### How are you using Babel? Programmatic API (`babel.transform`, `babel.parse`) ### Input code ```console require('@babel/parser').parse('a//', {ranges: true})...
### 💻 - [ ] Would you like to work on this feature? ### What problem are you trying to solve? In Prettier standalone version, we hackly remove colors and...
### 💻 - [ ] Would you like to work on a fix? ### How are you using Babel? Programmatic API (`babel.transform`, `babel.parse`) ### Input code ```js const randomText =...
It seems not clear that it's a wrench on small font size. Windows  VS 
### Description Similar to #2680 ### Examples ```js // ❌ import foo from "foo" with {}; // ✅ import foo from "foo"; ``` ```js // ❌ export {foo} from "foo"...
### Description https://github.com/sindresorhus/eslint-plugin-unicorn/pull/2679 ### Examples ```js // ❌ import {} from "foo"; // ✅ import "foo"; ``` ```js // ❌ export {} ``` ```js // ❌ export {} from "foo";...
Part of #1514 Forbid `array.reverse()`, but allow it to be used as an expression statement by default. Even in this case ```js const reversed = [...array].reverse() ``` `array` can be...
### Description I have a module that some of the exports can't use identifier, ```js export {default as 'a string'} from './1.js'; export {default as 'canBeAIdentifier'} from './2.js'; ``` Should...
### Description Prefer `process.cwd()` over `path.resolve()`. The results are the same, but `process.cwd()` is faster and has a clear intention. ### Examples ```js // ❌ path.resolve() // ✅ process.cwd() ```...
### Description Not sure what kind of patterns we should catch. But I guess, if a variable is only used in `try` and called a method in `finally` can definitely...