Urara-Blog/node_modules/.pnpm-store/v3/files/49/c18afe92c9eabe286ed9d11f2881045497541b27d2712eea178b3d920210b11acc30b4c1b2b972ddc1f7a85f85f6df534c2c32496ce065906ce03899796924
2022-08-14 01:14:53 +08:00

32 lines
889 B
Text

---
description: 'Require or disallow spacing between function identifiers and their invocations.'
---
> 🛑 This file is source code, not the primary documentation location! 🛑
>
> See **https://typescript-eslint.io/rules/func-call-spacing** for documentation.
## Rule Details
This rule extends the base [`eslint/func-call-spacing`](https://eslint.org/docs/rules/func-call-spacing) rule.
It adds support for generic type parameters on function calls.
## How to Use
```jsonc
{
// note you must disable the base rule as it can report incorrect errors
"func-call-spacing": "off",
"@typescript-eslint/func-call-spacing": ["error"]
}
```
## Options
See [`eslint/func-call-spacing` options](https://eslint.org/docs/rules/func-call-spacing#options).
<sup>
Taken with ❤️ [from ESLint core](https://github.com/eslint/eslint/blob/main/docs/rules/func-call-spacing.md)
</sup>