fisker Cheung
fisker Cheung
> Because new Set() accept one or zero parameter, we don't need to spread the parameters. This doesn't mean it can't spread the parameters ```js const foo = [[1,2]] new...
I was going to make a proposal on this the other day, I was thinking merge `no-hex-escapes` into the new one. And I prefer `const foo = '\u007A';` over `const...
About the name, we already have `better-regex`, let's use `better-string`?
Sure, PR welcome.
Is [`'avoid'` option](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md#options) you are looking for?
``` ['error', 'always', {exception: ['BreakStatement', 'ReturnStatement']}] ``` ?
How do you think a new option `single-statement`. Enforce the switch case to be a single node, when it's not it should be wrapped in braces to be a single...
For Prettier, you can also include @sosukesuzuki
Should we exclude class modification pattern? ```js Foo.prototype.bar = function () { this.baz() } ```
> I don't think modifying prototype manually in morden JavaScript is a good practice. What's the alternative? Subclass shouldn't be the same thing.