# coffeelint-no-operation-expression

> Coffeelint rule that detects code that doesn't do anything

Latest version **0.0.3** (published 2016-01-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install coffeelint-no-operation-expression
pnpm add coffeelint-no-operation-expression
yarn add coffeelint-no-operation-expression
bun add coffeelint-no-operation-expression
```

## 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.0.3 |
| Published | 2016-01-08 |
| First published | 2015-11-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Scott Graham |
| Maintainers | srgraham |
| Keywords | coffeelint, coffeelintrule, coffeelint-rule, coffee-lint, useless |

## Links

- npm: https://www.npmjs.com/package/coffeelint-no-operation-expression
- Repository: https://github.com/srgraham/coffeelint-no-operation-expression
- Issues: https://github.com/srgraham/coffeelint-no-operation-expression/issues
- npm.io page: https://npm.io/package/coffeelint-no-operation-expression

## Dependencies (2)

- [chai](https://npm.io/package/chai.md) ^3.4.1
- [coffee-script](https://npm.io/package/coffee-script.md) ^1.10.0

## 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.0.3 (latest) — 2016-01-08
- 0.0.2 — 2016-01-08
- 0.0.1 — 2015-11-24

## README

# coffeelint-no-operation-expression
CoffeeLint rule that finds instances where there's some code that doesn't do anything.
This could mean a variable, string, or number on a line with no assignment or calls happening to it.

Ex: Any of these statements on a line by itself:
```js
5
```
```js
'stuff'
```
```js
obj
```
By themselves, they don't do anything at all. They're likely a development oversight
The chai variables "expect", "assert", and "should" bypass this rule
  since they have \_\_getter\_\_ magic happening in them.

## Installation
```sh
npm install coffeelint-no-operation-expression
```
## Usage

Add the following configuration to coffeelint.json:

```json
"no_operation_expression": {
  "module": "coffeelint-no-operation-expression"
}
```
## Configuration

There are currently no configuration options.

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