fisker Cheung

Results 335 issues of fisker Cheung

**Please describe what the rule should do:** Enforce consistency component name prefix. This rule should accept options to enforce component matches names or name patterns. **What category should the rule...

**Please describe what the rule should do:** Prefer use `$emit`, `$slots`, etc in `` instead of variables defined in ``. **What category should the rule belong to?** [x] Enforces code...

https://github.com/sindresorhus/eslint-plugin-unicorn/pull/388#discussion_r328034531

enhancement
help wanted
meta

A generic rule to enforce correct call arguments length. For example [CanvasRenderingContext2D.drawImage()](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage) can config as `{'*.drawImage': [3, 5, 9]}`, so it must be called with `3` or `5` or `9`...

help wanted
new rule

I think it's really bad that the same code can be parsed on higher version of Node.js but fails on old versions. And I found that [`babel`](https://babeljs.io/repl#?browsers=defaults%2C%20not%20ie%2011%2C%20not%20ie_mob%2011&build=&builtIns=false&corejs=3.6&spec=false&loose=false&code_lz=IYAgvCD0A6BCBUkg&debug=false&forceAllTransforms=false&modules=umd&shippedProposals=false&evaluate=true&fileSize=false&timeTravel=false&sourceType=module&lineWrap=true&presets=env&prettier=false&targets=&version=7.25.8&externalPlugins=%40babel%2Fplugin-syntax-import-attributes%407.24.7&assumptions=%7B%7D)/[`flow`](https://flow.org/try/#1N4Igxg9gdgZglgcxALlAIwIZoKYBsD6uEEAztvhgE6UYCe+JADpdhgCYowa5kA0I2KAFcAtiRQAXSkOz9sADwxgJ+NPTbYuQ3BMnTZA+Y2yU4IwRO4A6SFBIrGVDGM7c+h46fNRLuKxJIGWh8MeT0ZfhYlCStpHzNsFBAMIQkIEQwJODAQfiEyfBE4eWw2fDgofDBMsAALfAA3KjgsXGxxZC4eAw0G-GhcWn9aY3wWZldu-g1mbGqJUoBaCRHEzrcDEgBrbAk62kXhXFxJ923d-cPRHEpTgyEoMDaqZdW7vKgoOfaSKgOKpqmDA+d4gB5fMA-P6LCCMLLQbiLOoYCqgh6-GDYRYIXYLSgkRZkCR4jpddwPfJLZjpOBkO4AX34kA0SQA9AAddkAIQAVKzciAGiYSHBoEkGgAGKwAJgALABOKwSkD0oA)/[`typescript`](https://www.typescriptlang.org/play/?#code/PQHQQgVMCuQ) (playground shows errors,...

[util.parseArgs](https://nodejs.org/api/util.html#utilparseargsconfig)

I was looks at the snapshot, find that `㋿` (U+32FF) is considered punctuation https://github.com/ikatyang-collab/cjk-regex/blob/0b8ebefa8da77caaebb3fc55d715ea640524de49/tests/__snapshots__/data-snapshot-punctuations.test.ts.snap#L16 , I don't think it's correct. @tats-u ~@ikatyang~ (Sorry, I mean to ping @sosukesuzuki) You are...

```js require('postcss-selector-parser')(node => console.dir(node.nodes[0].nodes[0].attribute)).processSync('[#{$b}]') // '#{b}' ``` `#{$b}` is expected.

```diff const pool = new Tinypool({ - filename: new URL('./worker.mjs', import.meta.url).href, + filename: new URL('./worker.mjs', import.meta.url), }) ``` 1. Convenient to use 1. Align with [`Worker` constructor](https://nodejs.org/api/worker_threads.html#new-workerfilename-options)

enhancement

As I can see, only `resolveConfigFile` is used in this plugin, but will install a different version of Prettier. Maybe we can move `prettier` from `dependencies` to `peerDependencies` and `devDependencies`?...