Sindre Sorhus

Results 3699 comments of Sindre Sorhus

Ideally, we should throw if the singular form is used in the config or plural is used in the CLI instead of just silently accepting it.

I'm going wait until ESLint actually removes the rule. For every plugin I add, it adds more maintenance work for me, keeping up with new rules, reporting issues, etc. It...

Rule name: `prefer-object-entries-or-values`? Any better suggestions? Or should it be split into two rules?

> proper-object-iterable-methods? Yeah. Sounds ok. I cannot come up with something better.

This actually needs to be fixed in XO. XO needs to check if `eslint-config-xo-typescript` is used and override the `@typescript-eslint/indent` rule if so.

> import/prefer-default-export See the commit message: https://github.com/xojs/xo/commit/7190640b88e8468f1301bb28be43c7c2e212723b

Do you have any specific Unicorn rules we should prioritize for this?