3 ms·
It's quite simple to write a rule, e.g. for the example I shared https://typescript-eslint.io/rules/array-type https://typescript-eslint.io/rules/array-type. Bu
by punkbit 6mo ago
It's quite simple to write a rule, e.g. for the example I shared https://typescript-eslint.io/rules/array-type https://typescript-eslint.io/rules/array-type. But I've never seen any reputable project arguing against T[] for simple types. In my opinion, that says a lot about the reviewer, not the contributor. If a linter rule doesn't exist, you should argue against the idiomatic convention.
- epgui 6mo agoI’m not arguing any particular rule… But what linter are you assuming I’m running? You can’t always write your own rules.