# eslint-plugin-fixclosure

> this is a eslint plugin for fixclosure

Latest version **1.0.1** (published 2022-06-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-fixclosure
pnpm add eslint-plugin-fixclosure
yarn add eslint-plugin-fixclosure
bun add eslint-plugin-fixclosure
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-06-03 |
| First published | 2019-07-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=14.0.0 |
| Dependencies | 3 |
| Unpacked size | 16 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | koba04 |
| Maintainers | koba04 |
| Keywords | eslint, eslint-plugin |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-fixclosure
- npm.io page: https://npm.io/package/eslint-plugin-fixclosure

## Dependencies (3)

- [requireindex](https://npm.io/package/requireindex.md) ^1.2.0
- [google-closure-deps](https://npm.io/package/google-closure-deps.md) ^20220502.0.0
- [prettier-linter-helpers](https://npm.io/package/prettier-linter-helpers.md) ^1.0.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

- 1.0.1 (latest) — 2022-06-03
- 1.0.0 — 2022-06-03
- 0.3.1 — 2019-12-02
- 0.3.0 — 2019-12-02
- 0.2.0 — 2019-12-02
- 0.1.0 — 2019-07-19

## README

# eslint-plugin-fixclosure
[![](https://github.com/koba04/eslint-plugin-fixclosure/workflows/test/badge.svg)](https://github.com/koba04/eslint-plugin-fixclosure/actions?workflow=test)
[![](https://github.com/koba04/eslint-plugin-fixclosure/workflows/lint/badge.svg)](https://github.com/koba04/eslint-plugin-fixclosure/actions?workflow=lint)

this is a eslint plugin for [fixclosure](https://github.com/teppeis/fixclosure).

## Installation

You'll first need to install [ESLint](http://eslint.org) and [fixclosure](https://github.com/teppeis/fixclosure):

```
$ npm i eslint fixclosure --save-dev
```

Next, install `eslint-plugin-fixclosure`:

```
$ npm install eslint-plugin-fixclosure --save-dev
```

## Usage

Add `fixclosure` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:

```json
{
    "plugins": [
        "fixclosure"
    ]
}
```


Then configure the rules you want to use under the rules section.

```json
{
    "rules": {
        "fixclosure/fixclosure": "error"
    }
}
```

## Supported Rules

### fixclosure/fixclosure

A rule to test whether the code is compatible with `fixclosure` or not.

This rule supports `--fix` option, so you no longer write `goog.require(...)` manually :rocket:

You can pass the following options to `fixclosure`.

- `depsJs`
    - `deps.js` files, which is a comma separated list.
- `config`
    - a path for `.fixclosurerc`.
- `provideRoots`
    - root namespaces you use.
- `useForwardDeclare`
    - Use `goog.forwardDeclare()` instead of `goog.requireType()`

You can see the details on the documentation of `fixclosure`.

https://github.com/teppeis/fixclosure#options

---
_Source: https://npm.io/package/eslint-plugin-fixclosure · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
