JS.TS.FUNC.CALL.SPACING

Require or disallow spacing between function identifiers and their invocations

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

Copy
{
  // 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).

The content on this page is adapted from the ESLint User Guide. Copyright © OpenJS Foundation and other contributors, www.openjsf.org. All rights reserved. https://eslint.org/docs/rules/