# coffeelint-function-call-whitespace

> Coffeelint rule to ensure there is no whitespace between the first and last parentheses of a function call and its arguments

Latest version **0.1.3** (published 2015-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install coffeelint-function-call-whitespace
pnpm add coffeelint-function-call-whitespace
yarn add coffeelint-function-call-whitespace
bun add coffeelint-function-call-whitespace
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2015-10-09 |
| First published | 2015-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Matt Diebolt |
| Maintainers | polleverywhere |
| Keywords | coffeelint, lint, coffeelintrule, function call |

## Links

- npm: https://www.npmjs.com/package/coffeelint-function-call-whitespace
- Repository: https://github.com/mdiebolt/coffeelint-function-call-whitespace
- Issues: https://github.com/mdiebolt/coffeelint-function-call-whitespace/issues
- npm.io page: https://npm.io/package/coffeelint-function-call-whitespace

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2015-10-09
- 0.1.2 — 2015-10-09
- 0.1.1 — 2015-10-09
- 0.1.0 — 2015-10-07

## README

# coffeelint-function-call-whitespace
=====================================

Influenced by built-in Coffeelint rule [no_implicit_parens](https://github.com/clutchski/coffeelint/blob/5d818a5a4b4310cc147614e54d972b23f47cad88/src/rules/no_implicit_parens.coffee)

This is a plugin for Coffeelint. It enforces conventions about whitespace used when invoking functions.

- It requires that function arguments are separated by at least one space.
- If parentheses are used in the invocation, then there may not be whitespace after the openening paren or before the closing one.

```coffee
# both valid
sum(2, 4)
sum 2, 4

# linting errors
sum( 2, 4)
sum(2, 4 )
sum( 2, 4 )
```

## Installation

`npm install coffeelint-function-call-whitespace --save-dev`

## Configuration

In `coffeelint.json` add

```json
{
  "//": "other lint rules",
  {
    "function_call_whitespace": {
      "module": "coffeelint-function-call-whitespace",
      "level": "error"
    }
  }
}
```

Now future runs of `coffeelint` will check your function invocations for the above whitespace rules.

---
_Source: https://npm.io/package/coffeelint-function-call-whitespace · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
