fisker Cheung

Results 335 issues of fisker Cheung

### Description A repo can contain many submodules, they should only share code via the entries, but not import internal files directly. This rule should require a configuration step, it...

evaluating
new rule

``` ├───rules/ ├───prefer-at/ (rule directory) ├───prefer-at.js (rule file) ├───... (other files or directories for rule) ├───readme.md (rule docs, need to exclude when publishing, maybe use `prefer-at.md`?) └───tests/ (rule tests directory,...

meta

```js ## invalid(6): const foo = Date(bar); > Input `␊ 1 | const foo = Date(bar);␊ ` > Error 1/1 `␊ Message:␊ > 1 | const foo = Date(bar);␊ |...

bug

Unlike the implementation and changes, they can easily find by checking commit history. The proposal link can only find by search (diffcult since rule names changes during time), or linked...

- [`eslint-plugin/require-meta-schema-description` rule](https://github.com/eslint-community/eslint-plugin-eslint-plugin/blob/main/docs/rules/require-meta-schema-description.md) - [PR in typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/pull/11647)

help wanted

### Description It seems typescript doesn't allow ```ts type A = import("foo", {}) ``` But allows ```ts type A = import("foo", {with: {}}) ``` I didn't add support for it...

help wanted
good for beginner
change request

### Description > Note that it's a good idea to call `toArray()` as a last step of your processing. For example, `fibonacci().take(10).toArray().filter(...)` is less efficient, because iterator helpers are lazy...

help wanted
new rule

### Description They are hard to read and confusing. ### Examples ```js // ❌ array.splice(-1, 1, element); array.splice(array.length - 1, 1, element); // This can be ignored since `unicorn/prefer-negative-index` already...

evaluating
new rule

### Description I wasn't aware that `BigInt('-1')` and `BigInt('+1')` is also valid. ### Examples ```js // ❌ BigInt('-1') // ✅ -1n ``` ```js // ❌ BigInt(-1) // ✅ -1n ```...

help wanted
change request

Preserve comments inside the argument.